System.DllNotFoundException In Web Service

  • Thread starter Thread starter batista
  • Start date Start date
B

batista

Hi,

I'm using a .net dll in my web service. This dll in turn is using
a vc++ 6 dll.

I'm trying to call a function from .net dll in my web service.
It gives me this exception of

System.dllnotfoundexception

Exception from HRESULT: 0x80131524

Hlp needed
 
Thnks for reply,

no the vc++ dll is not registered on the web server.

The thing is, that i'm calling a function of the .net dll in my web
service, and then
the vc++ dll makes callback to the managed .net dll.

I read that making a callback from unmanaged to managed results in this
exception,It has somethin to do with Appdomain
i read this on this link.
http://weblogs.asp.net/mdavey/archive/2004/02/25/79868.aspx

Initially com-interopp was the choice, but callback had less overhead
than com-interopp
BTW, this whole thing is workin with desktop app.

Note: I'm using callback by using function pointer.

So, Plz give me some solution on this, and Plz tell me how to register
vc++ dll on IIS web server.

Thnks.
 
Back
Top