Z
zethon
Hello,
I have a webservice file (service.asmx), inside which I make reference
to several classes that reside in a .NET Class Library (classes.dll).
When I run the webservice through Visual Studio, everything works
fine, and the the asmx file can find the classes inside the
classes.dll just fine.
However, when I try to run the service on an IIS server, I'm getting
the following error: "The type or namespace name 'ClassObj' could not
be found (are you missing a using directive or an assembly
reference?)"
The classes.dll file is in the /bin directory. However, I'm not sure
how the service.asmx file knows to use the classes.dll file, as there
is no explicit reference in the file. I'm assuming it works locally
because the solution file has this relationship -- but how do I get it
to work on a live webserver?
Thank you,
Addy
I have a webservice file (service.asmx), inside which I make reference
to several classes that reside in a .NET Class Library (classes.dll).
When I run the webservice through Visual Studio, everything works
fine, and the the asmx file can find the classes inside the
classes.dll just fine.
However, when I try to run the service on an IIS server, I'm getting
the following error: "The type or namespace name 'ClassObj' could not
be found (are you missing a using directive or an assembly
reference?)"
The classes.dll file is in the /bin directory. However, I'm not sure
how the service.asmx file knows to use the classes.dll file, as there
is no explicit reference in the file. I'm assuming it works locally
because the solution file has this relationship -- but how do I get it
to work on a live webserver?
Thank you,
Addy