A
Andrew Connell
Using Interop, I created an assembly DLL that implements some of the methods within the COM DLL. In a WinForm app, it works great. But when I try to implement it in ASP.NET, I get the following error:
System.IO.FileNotFoundException: The specified module could not be found.
I've created a reference to the assembly I created and verified that both my custom DLL and the interop DLL are located in the \bin directory of the ASP.NET app.
Not sure it matters, but the interop is for the CAPICOM.dll. My assembly wraps the functionality and pulls the key from a specified location so the ASP.NET app just has to call my assembly and pass the string to be encrypted/decrypted.
System.IO.FileNotFoundException: The specified module could not be found.
I've created a reference to the assembly I created and verified that both my custom DLL and the interop DLL are located in the \bin directory of the ASP.NET app.
Not sure it matters, but the interop is for the CAPICOM.dll. My assembly wraps the functionality and pulls the key from a specified location so the ASP.NET app just has to call my assembly and pass the string to be encrypted/decrypted.