.Net 2.0 Web application using Vb.net is unable to create object of another dll writen in C# .net 2.0


I habe created one ASP.net web application using Vb.net which is adding reference of dlls written in C# and .net 2.0. But whenever trying to create object of referencing dll, it is throwing error :Object reference does not set to an object. But, locally it is working fine,. In the server i have deployed the .aspx files and dll files in the bin. There were already an web.config in the server which is of .net 1.1. But checked it is retrieving value for that web.config correctly.

Should i have to deply any other files and if not what can be the solution for this? Please help.



9/14/2007 12:55:42 PM
asp.net.config-deploy 12495 articles. 0 followers. Follow

3 Replies

Similar Articles

[PageSpeed] 58
Get it on Google Play
Get it on Apple App Store

Does the error specify which line of code is failing? it should point out to you which object cannot be created. What I have experienced is that some components (like third party assemblies) do not create a local copy of the assembly in the bin directory by default so when you deploy the app manually those dlls are not there.  one solution is to go the project references and ensure they are 'copy local=true' for third party components.

"Never argue with an idiot; He will drag you down to his level and beat you with experience"
9/14/2007 1:37:23 PM

 You mentioned that the web server is of the 1.1 version of the framework, but the library is version 2.0.  I do not think that the version ASP.NET v1.1 can access v2.0 components.

Joseph Guadagno
My Website: http://www.josephguadagno.net
My Blog - http://weblogs.asp.net/jguadagno/

If this has helped Please: Don't forget to click "Mark as Answer" on the post that helped you.
That way future readers will know which post solved your issue.
9/14/2007 2:04:37 PM

The 1.1 application has benn upgraded to 2.0 version.That solved the problem.

10/5/2007 12:54:28 PM

Web resources about - .Net 2.0 Web application using Vb.net is unable to create object of another dll writen in C# .net 2.0 - asp.net.config-deploy

Application - Wikipedia, the free encyclopedia
Text is available under the Creative Commons Attribution-ShareAlike License ;additional terms may apply. By using this site, you agree to the ...

Welfare experiment may have applications in Australia
A trial in Finland providing an obligation-free basic income could change how we think about welfare.

Second visa application 'likely' to be approved
The family of a terminally ill Pakistani student can 'hopefully come to Australia sooner rather than later' says Immigration Minister Peter Dutton. ...

Apple patent application reveals exciting possibilities for twin-camera system rumored for iPhone 7
We heard a report in November that Apple was testing an iPhone 7 model with dual rear cameras , and a patent application published today not ...

Panasonic Develops a Stretchable Resin Film and Its Application Materials for Stretchable Electronics ...
A stretchable film is developed. This film stretches to 2.5 times the original length and then returns to the original form. A conductive paste ...

MBA: Mortgage Applications Increase in Latest MBA Weekly Survey, Purchase Applications up 37% YoY
From the MBA: Refinance, Purchase Applications Both Up in Latest MBA Weekly Survey Mortgage applications increased 7.3 percent from one week ...

Mortgage applications sink after rush
A Fed rate hike pulled mortgage demand forward, and made for a steep drop-off in the past two weeks.

Visa application of San Bernardino shooter released
CNN Visa application of San Bernardino shooter released CNN (CNN) The visa application of one of the San Bernardino shooters was released ...

SURPRISE! Mizzou Sees Application Drop After Days Of Protests, Illusory Klan Hoods, Poop Swastika
SURPRISE! Mizzou Sees Application Drop After Days Of Protests, Illusory Klan Hoods, Poop Swastika

In Application To Move To Los Angeles, Rams Shit All Over City Of St. Louis
... to relocate to the greater Los Angeles metropolitan area. The relocation would be effective for the 2016 NFL League Year.” The Rams’ full application ...

Resources last updated: 1/12/2016 5:58:51 AM