![]() |
|
Welcome to Vista Banter. You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact support. |
|
|||||||
| Installation and Setup of Vista Installation problems and questions using Windows Vista. (microsoft.public.windows.vista.installation_setup) |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I have been trying to make the ASP.NET v1.1 application on Vista RC 1 for a
long time now - in vein. I get this error message: __________________________________________________ __________________ 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: Security error. Source Error: Line 1: %@ Control Language="c#" AutoEventWireup="false" Codebehind="ucSideNav.ascx.cs" __________________________________________________ __________________ I tried several things - few listed below: * Gave IUSER and ASPNET users GOD rights on both the virtual directory folder and the framework folder. * Set the trust level at the application and the site level to FULL (internal) * Changed the machine.config for v1.1 to use network user instead of machine. Still I can't get rid of the above error. Can someone please help? Thanks. Chandra Sekhar. |
|
|||
|
Have a look here, This may help you.
http://blogs.msdn.com/astebner/archi...06/658484.aspx Jonty "Sekhar" wrote: I have been trying to make the ASP.NET v1.1 application on Vista RC 1 for a long time now - in vein. I get this error message: __________________________________________________ __________________ 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: Security error. Source Error: Line 1: %@ Control Language="c#" AutoEventWireup="false" Codebehind="ucSideNav.ascx.cs" __________________________________________________ __________________ I tried several things - few listed below: * Gave IUSER and ASPNET users GOD rights on both the virtual directory folder and the framework folder. * Set the trust level at the application and the site level to FULL (internal) * Changed the machine.config for v1.1 to use network user instead of machine. Still I can't get rid of the above error. Can someone please help? Thanks. Chandra Sekhar. |
|
|||
|
I guess I didn't explain my situation correctly.
I was able to install .NET v1.1 on Vista. But when I browse my application, I get this error message: __________________________________________________ __________________ 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: Security error. Source Error: Line 1: %@ Control Language="c#" AutoEventWireup="false" Codebehind="ucSideNav.ascx.cs" __________________________________________________ __________________ Thanks. -- Sekhar "Jonty" wrote: Have a look here, This may help you. http://blogs.msdn.com/astebner/archi...06/658484.aspx Jonty "Sekhar" wrote: I have been trying to make the ASP.NET v1.1 application on Vista RC 1 for a long time now - in vein. I get this error message: __________________________________________________ __________________ 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: Security error. Source Error: Line 1: %@ Control Language="c#" AutoEventWireup="false" Codebehind="ucSideNav.ascx.cs" __________________________________________________ __________________ I tried several things - few listed below: * Gave IUSER and ASPNET users GOD rights on both the virtual directory folder and the framework folder. * Set the trust level at the application and the site level to FULL (internal) * Changed the machine.config for v1.1 to use network user instead of machine. Still I can't get rid of the above error. Can someone please help? Thanks. Chandra Sekhar. |
|
|||
|
I guess I didn't explain my situation correctly.
I was able to install .NET v1.1 on Vista. But when I browse my application, I get this error message: __________________________________________________ __________________ 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: Security error. Source Error: Line 1: %@ Control Language="c#" AutoEventWireup="false" Codebehind="ucSideNav.ascx.cs" __________________________________________________ __________________ Thanks. -- Sekhar "Jonty" wrote: Have a look here, This may help you. http://blogs.msdn.com/astebner/archi...06/658484.aspx Jonty "Sekhar" wrote: I have been trying to make the ASP.NET v1.1 application on Vista RC 1 for a long time now - in vein. I get this error message: __________________________________________________ __________________ 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: Security error. Source Error: Line 1: %@ Control Language="c#" AutoEventWireup="false" Codebehind="ucSideNav.ascx.cs" __________________________________________________ __________________ I tried several things - few listed below: * Gave IUSER and ASPNET users GOD rights on both the virtual directory folder and the framework folder. * Set the trust level at the application and the site level to FULL (internal) * Changed the machine.config for v1.1 to use network user instead of machine. Still I can't get rid of the above error. Can someone please help? Thanks. Chandra Sekhar. |