partially trusted callers

Author Topic
Dick Medema
Member

Joined: 16 Nov 2005
Country:
Posts: 1

Posted: 16 Sep 2006 10:31:14

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.

Source Error: </b>

Is there someone how to fix this problem.

Thanks,
Dick Medema

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.

Source Error: </b>

Is there someone how to fix this problem.

Thanks,
Dick Medema
Follow us on twitter Subscribe to our RSS feed
Activate your free membership today | Login | Currency