G
grygoos
Hello,
I've got another kind of DllNotFoundException problem happening to my
Web Application. My application uses a C# dll (lets call it
managed.dll) which has a static wrapper method for a function in a
Win32 dll (lets call it unmanaged.dll) which generates some product
key. So the chain is as follows:
MyWebApp --- calls --> managed.GenerateKey(...) -- calls --> unmanaged
GenerateTheKey(...)
Both dll's are in my WebApplication/bin directory. The wrapper uses
standard PInvoke (dllimport). Normally all webrequests are processed
without any problems, but sometimes after just few requests I get the
System.DllNotFoundException. In fact, the unmanaged dll file IS at its
place but its blocked by the aspnet_wp process and it cannot be
accessed by any other process. I have then manually to kill the
aspnet_wp process to get my appplication run properly again.
I'll be very gratefull for any help
Kind regards,
gryg00s
I've got another kind of DllNotFoundException problem happening to my
Web Application. My application uses a C# dll (lets call it
managed.dll) which has a static wrapper method for a function in a
Win32 dll (lets call it unmanaged.dll) which generates some product
key. So the chain is as follows:
MyWebApp --- calls --> managed.GenerateKey(...) -- calls --> unmanaged
GenerateTheKey(...)
Both dll's are in my WebApplication/bin directory. The wrapper uses
standard PInvoke (dllimport). Normally all webrequests are processed
without any problems, but sometimes after just few requests I get the
System.DllNotFoundException. In fact, the unmanaged dll file IS at its
place but its blocked by the aspnet_wp process and it cannot be
accessed by any other process. I have then manually to kill the
aspnet_wp process to get my appplication run properly again.
I'll be very gratefull for any help
Kind regards,
gryg00s