Is it a .NET DLL or a COM DLL? If it's a .NET DLL, have you published the
DLL to wherever you are hosting it?
If it is a COM DLL, you'll need to have the DLL registered on the hosting
server.
HTH
Altaf
--------------------------------------------------------------------------------
All that glitters has a high refractive index.
www.mendhak.com
"PrettySneaky" <Pr**********@gmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
I have bumbed into a frustrating problem with my webservice. When I run
he web site in Visual studio 2005 everything works fine. But when i try
to publish it, it seems to be unable to call a method from an external
dll file. When I mean external dll file I simply mean it's dll which I
have not written and I use as an reference (not a web reference) in my
VS solution.
When I call my webservice from my javascript code that callback
function return this error message. I have confirmed that the webmethod
is terminated at the moment one of the methods from my external dll is
called.
Anyone know what I might have done wrong?
---------------------------
Microsoft Internet Explorer
---------------------------
Error:
soap:Server
System.Web.Services.Protocols.SoapException: Server was unable to
process request. ---> System.NullReferenceException: Object reference
not set to an instance of an object.
at OpcClientPrototype.CreateTagSubsription(String[] tags)
at OpcClientPrototype.GetDucData(String[] _tags)
--- End of inner exception stack trace ---
---------------------------
OK
---------------------------