Problem with .net not finding DLL file

  • Thread starter Thread starter John Bauer
  • Start date Start date
J

John Bauer

We are using a dll file EHLLAPI.dll, and .net (version 1.0) sporadically
cannot find the DLL at runtime. The DLL is clearly present, and is in the
same directory as the executable. This seems to happen randomly for some
users. This is a windows forms application. Any ideas?

An exception of the following type occurred: System.IO.FileNotFoundException

User Comments:

Stack Trace From Exception:

at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase,
Boolean isStringized, Evidence assemblySecurity, Boolean
throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark)

at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean
stringized, Evidence assemblySecurity, StackCrawlMark& stackMark)

at System.Reflection.Assembly.LoadFrom(String assemblyFile, Evidence
securityEvidence)

at EHLLAPI.HostStream..ctor(Int32 timeLimit)

at ContactCenterDesktop.Launch.TotalLaunchOperation.execute(Contact contact,
Application appl, Hashtable properties)

at ContactCenterDesktop.Launch.Operation.executeOperation(Contact contact,
Application app, Hashtable properties)

at Workflows.Commands.LaunchAppCommand.doIt()



Exception Information:

Exception Message: File or assembly name EHLLAPI.DLL, or one of its
dependencies, was not found. Exception Source: mscorlib Exception Method:
[mscorlib]System.Reflection.Assembly::nLoad()
 
Are you referencing this DLL in your windows application ?

-----Original Message-----
We are using a dll file EHLLAPI.dll, and .net (version 1.0) sporadically
cannot find the DLL at runtime. The DLL is clearly present, and is in the
same directory as the executable. This seems to happen randomly for some
users. This is a windows forms application. Any ideas?

An exception of the following type occurred: System.IO.FileNotFoundException

User Comments:

Stack Trace From Exception:

at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase,
Boolean isStringized, Evidence assemblySecurity, Boolean
throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark)

at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean
stringized, Evidence assemblySecurity, StackCrawlMark& stackMark)

at System.Reflection.Assembly.LoadFrom(String assemblyFile, Evidence
securityEvidence)

at EHLLAPI.HostStream..ctor(Int32 timeLimit)

at
ContactCenterDesktop.Launch.TotalLaunchOperation.execute
(Contact contact,
Application appl, Hashtable properties)

at ContactCenterDesktop.Launch.Operation.executeOperation (Contact contact,
Application app, Hashtable properties)

at Workflows.Commands.LaunchAppCommand.doIt()



Exception Information:

Exception Message: File or assembly name EHLLAPI.DLL, or one of its
dependencies, was not found. Exception Source: mscorlib Exception Method:
[mscorlib]System.Reflection.Assembly::nLoad()


.
 
Yes, we are referencing the types within this DLL. It implements the
EHLLAPI protocol for screen scraping.

JDB

Cabral said:
Are you referencing this DLL in your windows application ?

-----Original Message-----
We are using a dll file EHLLAPI.dll, and .net (version 1.0) sporadically
cannot find the DLL at runtime. The DLL is clearly present, and is in the
same directory as the executable. This seems to happen randomly for some
users. This is a windows forms application. Any ideas?

An exception of the following type occurred: System.IO.FileNotFoundException

User Comments:

Stack Trace From Exception:

at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase,
Boolean isStringized, Evidence assemblySecurity, Boolean
throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark)

at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean
stringized, Evidence assemblySecurity, StackCrawlMark& stackMark)

at System.Reflection.Assembly.LoadFrom(String assemblyFile, Evidence
securityEvidence)

at EHLLAPI.HostStream..ctor(Int32 timeLimit)

at
ContactCenterDesktop.Launch.TotalLaunchOperation.execute
(Contact contact,
Application appl, Hashtable properties)

at ContactCenterDesktop.Launch.Operation.executeOperation (Contact contact,
Application app, Hashtable properties)

at Workflows.Commands.LaunchAppCommand.doIt()



Exception Information:

Exception Message: File or assembly name EHLLAPI.DLL, or one of its
dependencies, was not found. Exception Source: mscorlib Exception Method:
[mscorlib]System.Reflection.Assembly::nLoad()


.
 
Back
Top