Optional asembly
-
Hi, My company is developing a .NET 3.0 application, it uses another assembly called supportlibrary.dll, but this dll is an optional component for one set of customers. Still our company's application should work fine(other features). I'm not sure how the design of this app should be, we are getting some exception, giving the same below Type : System.IO.FileNotFoundException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 Message : Could not load file or assembly 'HP.ActiveSupportLibrary, Version=2.0.0.1, Culture=neutral, PublicKeyToken=01a974bc1760f423' or one of its dependencies. The system cannot find the file specified. Source : SystemStatus Help link : FileName : HP.ActiveSupportLibrary, Version=2.0.0.1, Culture=neutral, PublicKeyToken=01a974bc1760f423 FusionLog : Data : System.Collections.ListDictionaryInternal TargetSite : Void .ctor() Stack Trace : at HPAdvisor.Common.SystemStatus.HealthCheckSummary..ctor() at HPAdvisor.Common.SystemStatus.HealthCheckSummary.get_Instance() in C:\HP Advisor\25Main200812112008\src\HPAdvisor\Shared\SystemStatus\HealthCheck.cs:line 176 at HPAdvisor.MyApp.OnStartServiceRoutine(Object sender, EventArgs e) in C:\HP Advisor\25Main200812112008\src\HPAdvisor\MainFrame\MyApp.xaml.cs:line 733 at System.Windows.Threading.DispatcherTimer.FireTick(Object unused) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler) Additional Info: MachineName : SSEBASTIAN TimeStamp : 11/13/2008 5:58:08 AM FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a AppDomainName : HPAdvisor.exeThreadIdentity : WindowsIdentity : ASIAPACIFIC\sebastso Inner Exception --------------- Type : System.IO.FileNotFoundException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 Message : Could not load file or assembly 'HP.ActiveSupportLibrary, Version=2.0.0.1, Culture=neutral, PublicKeyToken=01a974bc1760f423' or one of its dependencies. The system cannot find the file specified. Source : Help link : FileName : HP.ActiveSupportLibrary, Version=2.0.0.1, Culture=neutral, PublicKeyToken=01a974bc1760f423 FusionLog : WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging,
-
Hi, My company is developing a .NET 3.0 application, it uses another assembly called supportlibrary.dll, but this dll is an optional component for one set of customers. Still our company's application should work fine(other features). I'm not sure how the design of this app should be, we are getting some exception, giving the same below Type : System.IO.FileNotFoundException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 Message : Could not load file or assembly 'HP.ActiveSupportLibrary, Version=2.0.0.1, Culture=neutral, PublicKeyToken=01a974bc1760f423' or one of its dependencies. The system cannot find the file specified. Source : SystemStatus Help link : FileName : HP.ActiveSupportLibrary, Version=2.0.0.1, Culture=neutral, PublicKeyToken=01a974bc1760f423 FusionLog : Data : System.Collections.ListDictionaryInternal TargetSite : Void .ctor() Stack Trace : at HPAdvisor.Common.SystemStatus.HealthCheckSummary..ctor() at HPAdvisor.Common.SystemStatus.HealthCheckSummary.get_Instance() in C:\HP Advisor\25Main200812112008\src\HPAdvisor\Shared\SystemStatus\HealthCheck.cs:line 176 at HPAdvisor.MyApp.OnStartServiceRoutine(Object sender, EventArgs e) in C:\HP Advisor\25Main200812112008\src\HPAdvisor\MainFrame\MyApp.xaml.cs:line 733 at System.Windows.Threading.DispatcherTimer.FireTick(Object unused) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler) Additional Info: MachineName : SSEBASTIAN TimeStamp : 11/13/2008 5:58:08 AM FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a AppDomainName : HPAdvisor.exeThreadIdentity : WindowsIdentity : ASIAPACIFIC\sebastso Inner Exception --------------- Type : System.IO.FileNotFoundException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 Message : Could not load file or assembly 'HP.ActiveSupportLibrary, Version=2.0.0.1, Culture=neutral, PublicKeyToken=01a974bc1760f423' or one of its dependencies. The system cannot find the file specified. Source : Help link : FileName : HP.ActiveSupportLibrary, Version=2.0.0.1, Culture=neutral, PublicKeyToken=01a974bc1760f423 FusionLog : WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging,
Have you checked that the assembly is listed in the environment PATH statement? I don't know that this is necessary anymore, but it used to be a common problem. Alternatively, since this is reported as a File Not FOund error, perhaps you can try reinstalling the library to correct any registry ommisions.
"A Journey of a Thousand Rest Stops Begins with a Single Movement"
-
Hi, My company is developing a .NET 3.0 application, it uses another assembly called supportlibrary.dll, but this dll is an optional component for one set of customers. Still our company's application should work fine(other features). I'm not sure how the design of this app should be, we are getting some exception, giving the same below Type : System.IO.FileNotFoundException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 Message : Could not load file or assembly 'HP.ActiveSupportLibrary, Version=2.0.0.1, Culture=neutral, PublicKeyToken=01a974bc1760f423' or one of its dependencies. The system cannot find the file specified. Source : SystemStatus Help link : FileName : HP.ActiveSupportLibrary, Version=2.0.0.1, Culture=neutral, PublicKeyToken=01a974bc1760f423 FusionLog : Data : System.Collections.ListDictionaryInternal TargetSite : Void .ctor() Stack Trace : at HPAdvisor.Common.SystemStatus.HealthCheckSummary..ctor() at HPAdvisor.Common.SystemStatus.HealthCheckSummary.get_Instance() in C:\HP Advisor\25Main200812112008\src\HPAdvisor\Shared\SystemStatus\HealthCheck.cs:line 176 at HPAdvisor.MyApp.OnStartServiceRoutine(Object sender, EventArgs e) in C:\HP Advisor\25Main200812112008\src\HPAdvisor\MainFrame\MyApp.xaml.cs:line 733 at System.Windows.Threading.DispatcherTimer.FireTick(Object unused) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler) Additional Info: MachineName : SSEBASTIAN TimeStamp : 11/13/2008 5:58:08 AM FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a AppDomainName : HPAdvisor.exeThreadIdentity : WindowsIdentity : ASIAPACIFIC\sebastso Inner Exception --------------- Type : System.IO.FileNotFoundException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 Message : Could not load file or assembly 'HP.ActiveSupportLibrary, Version=2.0.0.1, Culture=neutral, PublicKeyToken=01a974bc1760f423' or one of its dependencies. The system cannot find the file specified. Source : Help link : FileName : HP.ActiveSupportLibrary, Version=2.0.0.1, Culture=neutral, PublicKeyToken=01a974bc1760f423 FusionLog : WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging,
Take a look at an IOC container such as Windsor.
Mark Churchill Director, Dunn & Churchill Pty Ltd Free Download: Diamond Binding: The simple, powerful, reliable, and effective data layer toolkit for Visual Studio.
Alpha release: Entanglar: Transparant multiplayer framework for .Net games.