Assembly Reference in ASP.NET 2 Not Resolving

G

Guest

My ASP.NET 2 web application makes a reference to an assembly that is in the
GAC. The assembly has not been copied into the bin directory of the web
application.

When I go to run the web application, I get an error about it not being able
to load that assembly (or one of its dependencies). Since there is no
additional diagnostic information as to WHAT version it is trying to load, I
have no idea if it is still trying to use an old version of that assembly.

Is there a way to see what version of the assembly is trying to be bound,
and also its dependent assembly being bound? The error is occuring in
ConfigurationManager.GetSection(), making a reference to a class in the
assembly that is giving me this problem.

Note that I can get a .NET 1.1 solution (ASP.NET 1) to work with this new
assembly just fine thanks to the fine-grained control over assemblies
included in web projects there.

I even tried to copy the assembly directly into the Bin folder of the web
project, but that just causes the asp process to "terminate unexpectedly".

Ay help is appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,990
Messages
2,570,211
Members
46,796
Latest member
SteveBreed

Latest Threads

Top