Error message when you use DEVPATH environment variables in a .NET Framework 2.0 ASP.NET Web application: “Could not load file or assembly ‘[AssemblyName]‘ or one of its dependencies”
When assemblies are loaded for the first time in a Microsoft .NET Framework 2.0 ASP.NET Web application, you receive the following error message:
System.IO.FileNotFoundException
Could not load file or assembly ‘AssemblyName’ or one of its dependencies. The system cannot find the file specified.
You may receive this error message if the following conditions are true:
- The .NET Framework 2.0 ASP.NET Web application references one or more class library assemblies.
- You create DEVPATH environment variables so that these assemblies locate the version of the assemblies that you want to use.
This problem does not occur if you use Microsoft ASP.NET 1.1 to develop the application.
For more information on this issue, including potential causes, workarounds, and resolutions, see: Microsoft KB Article KB931338.

Start
About
FAQ
Blogroll
Shop
Tips and Tricks
Windows Updates
Hotfixes
Keyboard Shortcuts
Vista's Services
Vista's Commands
Product Reviews
Glossary
Videos
Web Links

Comments
There are no comments yet...Come on, share your thoughts!
Leave a Comment