.NET Access is denied error

B

Brent Burkart

Has anyone seen the following error? My application was working fine and
this error just showed up this morning. Any help is appreciated?

[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) +100
System.Web.Configuration.AuthorizationConfig.IsUserAllowed(IPrincipal
user, String verb) +81
System.Web.Security.UrlAuthorizationModule.OnEnter(Object source,
EventArgs eventArgs) +178

System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.
Execute() +60
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously) +87
 
B

Brent Burkart

Thanks John,

However this is not a domain controller. I am testing on 2000 and will be
production on Windows XP. Neither one will act as a domain controller.

Any other ideas?

Brent
 
S

Simon Middlemiss

Brent Burkart said:
Has anyone seen the following error? My application was working fine and
this error just showed up this morning. Any help is appreciated?

Are you doing any XML Serialisation, and did you get the error when you
deployed??
 
J

John Soulis [MSFT]

I have seen that this fix also works on a machine that is not a domain
controller.
With SP4 a new privilege was introduced: Impersonate a Client After
Authentication
- The process identity for the aspnet_wp.exe worker process
(ASPNET
account by default) was lacking this privilege.

If this does not apply, what is your application doing at the time of the
error.

Thank you,
John Soulis
Microsoft, ASP.NET

This posting is provided "AS IS", with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
 

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

Members online

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,135
Latest member
VeronaShap
Top