Webservice .NET DLL WinServer2003 IIS6 Problem

S

samn

I made a c# .net webservice that uses a class in a separate .net dll
(x.dll) . This .net dll (x.dll) has dependencies on other DLLs. I put
all of these DLLs (x.dll along with it's dependencies) into the bin
folder of the webservice. On a WinXP machine the webservice runs
properly when I try to invoke some of it's web methods. When I invoke a
method of the service on Windows Server 2003 with IIS6 I get the
following error : "File or assembly name x.dll, or one of its
dependencies, was not found". This error message does not explain what
the real problem is. Does anyone know of a way to get IIS6 to
understand where the DLLs required by x.dll reside? As I said , all of
the dependencies are in the same directory as x.dll .

Any help or tips would be much appreciated.
Sam
 
S

samn

It looks like IIS 6 was copying only the explicitly referenced x.dll
into its temporary directory for references :
C:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\webservice1 ... etc. directory . When I copy the DLLs that x.dll
depends on into this directory the webservice runs properly. Is there a
way to force IIS 6 to automatically copy the files into the proper
location or to tell it to just run the webservice from the virtual
directory?

thanks
 

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