IIS Server - Webservice .NET DLL WinServer2003 IIS6 Problem

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server > December 2005 > Webservice .NET DLL WinServer2003 IIS6 Problem





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Webservice .NET DLL WinServer2003 IIS6 Problem
samn

2005-11-30, 5:54 pm

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

samn

2005-12-01, 8:55 pm

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

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com