Click here to Skip to main content
15,915,172 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Connected & Disconnected architecture Pin
Pete O'Hanlon14-Nov-08 1:26
mvePete O'Hanlon14-Nov-08 1:26 
QuestionRe: Connected & Disconnected architecture Pin
Xandip14-Nov-08 2:38
Xandip14-Nov-08 2:38 
AnswerRe: Connected & Disconnected architecture Pin
Jon_Boy14-Nov-08 2:50
Jon_Boy14-Nov-08 2:50 
GeneralRe: Connected & Disconnected architecture Pin
Xandip14-Nov-08 2:56
Xandip14-Nov-08 2:56 
GeneralRe: Connected & Disconnected architecture Pin
Jon_Boy14-Nov-08 3:05
Jon_Boy14-Nov-08 3:05 
QuestionStrange Compile problem Pin
cor287913-Nov-08 9:31
cor287913-Nov-08 9:31 
Questioncall MFC-dialog from managed code Pin
Yevgen Lisovenko13-Nov-08 9:20
Yevgen Lisovenko13-Nov-08 9:20 
Questionequivalent Pin
Try13-Nov-08 3:49
Try13-Nov-08 3:49 
AnswerRe: equivalent Pin
Jon_Boy13-Nov-08 4:16
Jon_Boy13-Nov-08 4:16 
GeneralRe: equivalent Pin
Paul Conrad13-Nov-08 6:34
professionalPaul Conrad13-Nov-08 6:34 
AnswerRe: equivalent Pin
Paul Conrad13-Nov-08 6:35
professionalPaul Conrad13-Nov-08 6:35 
GeneralRe: equivalent Pin
Wendelius14-Nov-08 9:46
mentorWendelius14-Nov-08 9:46 
GeneralRe: equivalent Pin
Paul Conrad14-Nov-08 9:50
professionalPaul Conrad14-Nov-08 9:50 
GeneralRe: equivalent Pin
Wendelius14-Nov-08 9:58
mentorWendelius14-Nov-08 9:58 
GeneralRe: equivalent Pin
Pete O'Hanlon14-Nov-08 10:13
mvePete O'Hanlon14-Nov-08 10:13 
GeneralRe: equivalent Pin
Wendelius14-Nov-08 10:26
mentorWendelius14-Nov-08 10:26 
GeneralRe: equivalent Pin
Pete O'Hanlon14-Nov-08 13:59
mvePete O'Hanlon14-Nov-08 13:59 
GeneralRe: equivalent Pin
Kevin McFarlane16-Nov-08 8:43
Kevin McFarlane16-Nov-08 8:43 
QuestionOptional asembly Pin
cloudking1196612-Nov-08 19:26
cloudking1196612-Nov-08 19:26 
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, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

Data : System.Collections.ListDictionaryInternal
TargetSite :
Stack Trace : The stack trace is unavailable.
;200;Error;SSEBASTIAN;HPAdvisor.exe;672;C:\HP Advisor\25Main200812112008\bin\debug\HPAdvisor.exe;
11/13/2008 11:28:08.874;FATAL;(4);[7592];Unhandled Exception: System.IO.FileNotFoundException: 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.
File name: 'HP.ActiveSupportLibrary, Version=2.0.0.1, Culture=neutral, PublicKeyToken=01a974bc1760f423' ---> System.IO.FileNotFoundException: 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.
File name: 'HP.ActiveSupportLibrary, Version=2.0.0.1, Culture=neutral, PublicKeyToken=01a974bc1760f423'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

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)


I tried using

private bool ASLAvailable()
{
try
{
Assembly asm = Assembly.Load("HP.ActiveSupportLibrary");

if (asm != null)
{
return true;
}
else
{
return false;
}
}
catch (Exception ex)
{
//Log.Error(ex);
Log.Info("ASL Not available, returning false");
return false;
}
}
, but still getting error, as assembly binding happens much before
AnswerRe: Optional asembly Pin
Roger Wright13-Nov-08 1:42
professionalRoger Wright13-Nov-08 1:42 
AnswerRe: Optional asembly Pin
Mark Churchill13-Nov-08 12:49
Mark Churchill13-Nov-08 12:49 
QuestionWarning! Newbie On The Loose! Pin
Roger Wright12-Nov-08 17:17
professionalRoger Wright12-Nov-08 17:17 
AnswerRe: Warning! Newbie On The Loose! Pin
led mike13-Nov-08 6:24
led mike13-Nov-08 6:24 
GeneralRe: Warning! Newbie On The Loose! Pin
Roger Wright13-Nov-08 8:39
professionalRoger Wright13-Nov-08 8:39 
AnswerRe: Warning! Newbie On The Loose! Pin
Gideon Engelberth13-Nov-08 8:27
Gideon Engelberth13-Nov-08 8:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.