I have a classic ASP website that I am trying add functionality to (and speed it up). To do this I have written a COM visible dll (.NET Framework 4). The website is hosted on Windows Server 2008 R2, 64bit, IIS 7.5. I'm registering my dll with regasm and gacutil. So far so good, everything works quite nicely and I can successfully call my dll from vbscript. As long as I'm only referencing .NET namespaces it works like a charm.
My problem is that when I want to add a new reference to a third party .NET dll (in this case active PDF toolkit APToolKitNET.dll). In the classic asp (vbscript), if I call a method in my dll that references the third party dll I get the following error:
Could not load file or assembly "APToolKitNTE, Version=5.4.2.1403, Culture=neutral, PulblicKeyToken=e43.....' or one of its dependencies
After a lot of searching around and trying many things I'm not winning. As a test I've tried writing a quick little asp.net site to do call the same method and it works fine.