Problem with .net not finding DLL file

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()
 
C

Cabral

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()


.
 
J

John Bauer

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()


.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top