PDA

View Full Version : DreamweaverCtrls.dll Security error


mcclausky
03-06-2007, 01:41 PM
Hi,

I am using Dreamweaver 8, Asp.net and the control "DreamweaverCtrls.dll" to connect and access a mySQL database.

Everything goes just fine in my local Web Server (windows 2003, IIS 6), but when I upload the site to my web host then I get the following security error:


Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: Security error.

Line 1: <%@ Page Language="C#" Debug="true" ContentType="text/html" ResponseEncoding="iso-8859-1" %>
Line 2: <%@ Register TagPrefix="MM" Namespace="DreamweaverCtrls" Assembly="DreamweaverCtrls,version=1.0.0.0,publicKeyToken=83 6f606ede05d46a,culture=neutral" %>
Line 3: <MM: DataSet


After researching in several forums I found out that the possible solutions are:

- Use a new updated DreamweaverCtrls.dll file
- Instruct the Web Hosting provider to lower their security settings (unlikely)
- Modify the config.web file's settings in order to make the .dll trusted

I really don't know how to implement the above suggestions, does anybody know how? or does anybody know of another possible solution?

Thank you.

davidj
03-06-2007, 02:02 PM
hi mate

welcome

im sorry but we dont have a microsoft / IIS / .NET guru at the moment

Want a job !!

I would give your host a shout and check what rights are assigned to that file

domedia
03-06-2007, 02:04 PM
First step should be to contact you host, did you already do so? Since this seems to be a permission issue with a file on your server, your host might be able to help you out first.

Welcome to the forums mcclausky!