dll not loading in Web Service
- From: Jeronimo Bertran <jeronimo.bertran@xxxxxxxxxxxxxxxx>
- Date: Wed, 07 May 2008 10:11:40 -0700
We have developed a Web service and we need to add a reference to a .net
dll MyDll.dll which uses Win32 dlls. If we write a window forms
application and reference MyDll.dll and copy the Win32 dlls to the
bin/debug folder, the form works fine. However, when we add the reference
to MyDll.dll to the Web Service and copy the Win32 dlls to the bin folder
on the Web Service, when we try to load the web service we get the
following error:
Server Error in '/' Application.
________________________________________
The specified module could not be found. (Exception from HRESULT:
0x8007007E)
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.IO.FileNotFoundException: The specified module
could not be found. (Exception from HRESULT: 0x8007007E)
Source Error:
An unhandled exception was generated during the execution of the current
web request. Information regarding the origin and location of the exception
can be identified using the exception stack trace below.
The stack trace is not very helpful since it doesn't say what file was not
found. The bin folder contains all of the files that we have on the
bin/debug folder of the Windows Forms app which runs fine.
1- Is it possible that there are other dlls in Windows/System that cannot
be loaded by the Web Service but can be loaded by the Windows Forms?
2- Is there any permission required on the dlls in order to load them from
the Web Service?
3- Is there a way to get information on what file cannot be loaded?
Thanks
Jeronimo Bertran
.
- Prev by Date: Round-tripping a DataTable through a web service?
- Next by Date: Re: Int values doesnt pass
- Previous by thread: Round-tripping a DataTable through a web service?
- Next by thread: RE: Accessing a web service - proxy problem
- Index(es):
Relevant Pages
|