Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DreamweaverCtrls.dll Security error

Status
Not open for further replies.

McClausky

Programmer
Feb 3, 2003
1
BO
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=836f606ede05d46a,culture=neutral" %>
Line 3: <MM:DataSet



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

- Use a fixed 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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top