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.