I have build a site in dreamweaver in ASP.NET and now have a problem with ASP.NET 1 to 2, the problem is when i make a dynamic .net site with dreamweaver and I upload it to the server of my provider and the server have the configuration of .net 1 its very fine, but my provider also have servers with .net 2 and then work the asp.net code no more. The error i get = <b> Security Exception 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: That assembly does not allow partially trusted callers.
Hello Vince, Thanks for your answer, I had also already found myself this on Internet and I recover then the next error back from the server. <b> Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: This configuration section cannot be used at this path. This happens when the site administrator has locked access to this section using <location allowOverride="false"> from an inherited configuration file.
Line 13: <compilation debug="true"/> Line 14: <pages validateRequest="false"/> Line 15: <securityPolicy> Line 16: <trustLevel name="Full" policyFile="internal" /> Line 17: <trustLevel name="High" policyFile="web_hightrust.config" /> </b>
Hello, I was wondering if you found a solution to this problem?
I have struggled with the same issue because of ASP.NET 2.0 trust levels. I was trying to create a ASP.NET site that used a simple Access database (datagrid in the site to display only) and on my shared hosting I was unable to get to work.
The only solution was to move to an ASP.NET 1.1 server. One other option was to move to a "Full" trust server with 2.0 but that was not recommended by the hosting company.
Is Macromedia Dreamweaver working on a fix so that the datasets and connections will work with ASP.NET 2.0... or what did you find?