Access denied to COM DLL

B

Ben

Hi,
I've been using a COM DLL (a ftp component from ChilkatSoft) without any
issues so far in a Microsoft CMS 2002 project. The first time i used it I
got an Acccess Denied error and so i gave the ASPNET account the full
permissions to the tool and it worked fine.

Now suddenly Im getting a error while loading the site. It says

Parser Error Message: Access is denied: 'Interop.CHILKATFTPLib'.

Source Error:


Line 196: <add assembly="System.EnterpriseServices, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 197: <add assembly="System.Web.Mobile, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 198: <add assembly="Interop.CHILKATFTPLib, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null"/>
Line 199: <add assembly="*"/>
Line 200: </assemblies>


I only added the line to machine.config today when i got this error.

Any ideas ? should I get this COM DLL Signed ? if so how would i do this ?

cheers
Ben
 
B

Ben

I solved this problem (perhaps temporarily). The COM DLL was referenced in
another .NET DLL which was being used in the Web Application (CMS
woodgrove). I removed the reference to my project .NET DLL from the web app
and re-added ansd recompiled and now the application launches.

The question on whether I should be signing the DLL still stands . Is there
a best practices regarding COM Interop here ?

Cheers
Ben
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top