ASP.NET v1.1 app on Vista RC 1

G

Guest

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.
 
G

Guest

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.
 
G

Guest

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

trust level problem 1
Vista RC 1 2
Debug Session on localhost 5
Can't call external DLL 2
CTL_E_PERMISSIONDENIED 4
reading web.config section 5
Working with EventViewer 1
Write to EventLog from asp.net 3

Top