Skip to main content
mcclausky
Participant
March 6, 2007
Question

DreamweaverCtrls.dll Security Error

  • March 6, 2007
  • 2 replies
  • 445 views
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.
This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

Inspiring
March 6, 2007
I have never seen that sort of error using the control. I would suggest that
you contact your host and see if there is anything unique about the way that
they implement ASP.Net

--
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver

Valleybiz Internet Design
www.valleybiz.net

"mcclausky" <webforumsuser@macromedia.com> wrote in message
news:esjthb$qra$1@forums.macromedia.com...
> 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,cultu
> re=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.
>


Participant
September 7, 2007
I'm recieving the same error with Network Solutions Web Hosting.. Called support and waiting for an anwser about the issue.. I don't have any issues on my test server..