Re: System.ApplicationException: Access is denied
From: Joe Kaplan \(MVP - ADSI\) (joseph.e.kaplan_at_removethis.accenture.com)
Date: 07/01/04
- Next message: D Bishop: "Re: System.ApplicationException: Access is denied"
- Previous message: D Bishop: "System.ApplicationException: Access is denied"
- In reply to: D Bishop: "System.ApplicationException: Access is denied"
- Next in thread: D Bishop: "Re: System.ApplicationException: Access is denied"
- Reply: D Bishop: "Re: System.ApplicationException: Access is denied"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 1 Jul 2004 09:47:19 -0500
I'm not sure what is exactly causing this, but the only times I've gotten an
ApplicationException from WindowsIdentity were when there were Kerberos
problems way down that were causing the token to not resolve properly into a
name. Are you sure everything is working on the box correctly from a logon
perspective?
Joe K.
"D Bishop" <DBishop@discussions.microsoft.com> wrote in message
news:BE73EA2C-C439-420B-9A86-A10B32C6CC9E@microsoft.com...
> I am new to this forum, so please forgive me if my protocol is lacking. I
have developed an asp.net website using vb.net codebehind in visual studio
2003. It connects to a SQL 2000 database. I am using windows authentication
and the users login via an aspx form that queries a table in the database
for access. It works fine on my local server and the qa test server,
however, when I deploy it to the production server, which is supposed to be
identical to the qa server, I get the following error page:
> --------------------
> "System.ApplicationException: Access is denied"
> [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
> --------------------
> I have given the IUSR_xxx and IWAM_xxx accounts proper access and other
asp.net webs on that server have not had this issue, however, this single
web will not even load the default page, even if I create and use a
differently named virtual directory. I have done everything I can think of,
but obviously I am missing something. Can anyone please help soon?
>
> Thanks.
- Next message: D Bishop: "Re: System.ApplicationException: Access is denied"
- Previous message: D Bishop: "System.ApplicationException: Access is denied"
- In reply to: D Bishop: "System.ApplicationException: Access is denied"
- Next in thread: D Bishop: "Re: System.ApplicationException: Access is denied"
- Reply: D Bishop: "Re: System.ApplicationException: Access is denied"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|