Re: Missing libraries
Shawn Wildermuth <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.advanced |
|---|---|
| Message-ID | <[email protected]> |
Though if they're in the application directory they 'should' load them. In ASP.NET scenarios, sometimes its permissions instead of locations which is at issue. I agree with Curt, fuslogvw is your friend (and you might need to enable the logging). Thanks, Shawn Wildermuth http://wildermuth.com http://silverlight-tour.com Microsoft MVP (C#), MCSD.NET, Author and Speaker The Silverlight Tour is coming to a city near you! -----Original Message----- From: Discussion of advanced .NET topics. [mailto:[email protected]] On Behalf Of Curt Hagenlocher Sent: Thursday, January 22, 2009 12:52 PM To: [email protected] Subject: Re: [ADVANCED-DOTNET] Missing libraries Have you tried running the Fusion log viewer (fuslogvw) to chase this down? The CLR loader (aka Fusion) won't automatically load dependent assemblies just because they're in the same directory. Is it possible that -- in your development environment -- the dependent assemblies are either in your path or in the GAC? On Thu, Jan 22, 2009 at 9:49 AM, Eddie Lascu <[email protected]> wrote: > Hello experts, > > I have this project that works fine on my development environment. It uses > several .dll libraries. The problem is that once I deploy it on the > production environment I get some exceptions informing me that the > application could not load one of my .dlls. Now I clearly see the .dll in > the same folder, so this is not a problem of not having the library. I am > guessing must be one of its dependencies that are missing on the production > server. > > Is there a way I can find all the libraries on which my dll is further > dependent? > > Any suggestion will be highly appreciated. > Regards, > Eddie > > PS: here is the full message of the exception > > Could not load file or assembly 'ATMSDataClient, Version=1.0.3250.18364, > Culture=neutral, PublicKeyToken=null' or one of its dependencies. This > application has failed to start because the application configuration is > incorrect. Reinstalling the application may fix this problem. (Exception > from HRESULT: 0x800736B1) > > > =================================== > View archives and manage your subscription(s) at > http://peach.ease.lsoft.com/archives > =================================== View archives and manage your subscription(s) at http://peach.ease.lsoft.com/archives =================================== View archives and manage your subscription(s) at http://peach.ease.lsoft.com/archives