G
Guest
Hi Everybody,
I've got a problem debugging ASP.NET applications on an XP SP2 System.
The Details:
Up to now I've been developing on an XP SP1 computer.
Several days ago I got a new computer with XP SP2 installed.
I moved the ASP.NET to the new computer (got the source from source safe and
compiled on that computer),
and i've run into several problems which are probably related.
The first problem is that I can't debug my application (or ANY application)
Pressing F5 in visual studio I get 'Access denied' error.
The second problem is that I can't run an application that has
<identity impersonate="True"> in the web.Config.
If the application is set to impersonate I get 'access denied' when I try to
open the web page (NOT debug it, just open it).
If I set it not to impersonate the web page loads.
The stack dump I get when the web application is set to impersonate is:
[ApplicationException: Access is denied.
]
System.Security.Principal.WindowsIdentity._ResolveIdentity(IntPtr
userToken) +0
System.Security.Principal.WindowsIdentity.get_Name() +71
System.Web.Configuration.AuthorizationConfigRule.IsUserAllowed(IPrincipal
user, String verb) +106
System.Web.Configuration.AuthorizationConfig.IsUserAllowed(IPrincipal
user, String verb) +81
System.Web.Security.UrlAuthorizationModule.OnEnter(Object source,
EventArgs eventArgs) +181
System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously) +87
The user I'm using as has administartor permissions.
I'm using:
Visual studio 2003.
IIS 5.1
The web site in IIS is set to allow annonymous access using
IUSR_<computername> user.
If anybody can help me here,please...
Thanks Nadav
I've got a problem debugging ASP.NET applications on an XP SP2 System.
The Details:
Up to now I've been developing on an XP SP1 computer.
Several days ago I got a new computer with XP SP2 installed.
I moved the ASP.NET to the new computer (got the source from source safe and
compiled on that computer),
and i've run into several problems which are probably related.
The first problem is that I can't debug my application (or ANY application)
Pressing F5 in visual studio I get 'Access denied' error.
The second problem is that I can't run an application that has
<identity impersonate="True"> in the web.Config.
If the application is set to impersonate I get 'access denied' when I try to
open the web page (NOT debug it, just open it).
If I set it not to impersonate the web page loads.
The stack dump I get when the web application is set to impersonate is:
[ApplicationException: Access is denied.
]
System.Security.Principal.WindowsIdentity._ResolveIdentity(IntPtr
userToken) +0
System.Security.Principal.WindowsIdentity.get_Name() +71
System.Web.Configuration.AuthorizationConfigRule.IsUserAllowed(IPrincipal
user, String verb) +106
System.Web.Configuration.AuthorizationConfig.IsUserAllowed(IPrincipal
user, String verb) +81
System.Web.Security.UrlAuthorizationModule.OnEnter(Object source,
EventArgs eventArgs) +181
System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously) +87
The user I'm using as has administartor permissions.
I'm using:
Visual studio 2003.
IIS 5.1
The web site in IIS is set to allow annonymous access using
IUSR_<computername> user.
If anybody can help me here,please...
Thanks Nadav