IIS Server Security - System.UnauthorizedAccessException //got stuck

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server Security > March 2005 > System.UnauthorizedAccessException //got stuck





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author System.UnauthorizedAccessException //got stuck
genc_ymeri

2005-03-08, 5:51 pm

Hi,
I'm getting constatly an error and I'm not sure where it is coming from.
From the message it seems like ASP.Net build in account does not have all
the rights but I manually added all possible rgiht to that folder and I
added this account to all admin groups.

I did reinstall VS.2003 on win2003 which is PDC (not the best config, I
know)

Any idea how to fix this, I really can't do anywork with it anymore,,,

Pls help.
Genc.

PS:
Error Description:
Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary
ASP.NET Files\webapplication1\0ce05c64\4984f2c7" is denied.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.UnauthorizedAccessException: Access to the path
"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\webapplication1\0ce05c64\4984f2c7" is denied.

ASP.NET is not authorized to access the requested resource. Consider
granting access rights to the resource to the ASP.NET request identity.
ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or
Network Service on IIS 6) that is used if the application is not
impersonating. If the application is impersonating via <identity
impersonate="true"/>, the identity will be the anonymous user (typically
IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET write access to a file, right-click the file in Explorer,
choose "Properties" and select the Security tab. Click "Add" to add the
appropriate user or group. Highlight the ASP.NET account, and check the
boxes for the desired access.



Johnson O'Connor Smith

2005-03-08, 5:51 pm

Hey genc,

Please give full right permission to 'Everyone' account.

Thanx,
Smith

"genc_ymeri" wrote:

> Hi,
> I'm getting constatly an error and I'm not sure where it is coming from.
> From the message it seems like ASP.Net build in account does not have all
> the rights but I manually added all possible rgiht to that folder and I
> added this account to all admin groups.
>
> I did reinstall VS.2003 on win2003 which is PDC (not the best config, I
> know)
>
> Any idea how to fix this, I really can't do anywork with it anymore,,,
>
> Pls help.
> Genc.
>
> PS:
> Error Description:
> Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary
> ASP.NET Files\webapplication1\0ce05c64\4984f2c7" is denied.
> Description: An unhandled exception occurred during the execution of the
> current web request. Please review the stack trace for more information
> about the error and where it originated in the code.
>
> Exception Details: System.UnauthorizedAccessException: Access to the path
> "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
> Files\webapplication1\0ce05c64\4984f2c7" is denied.
>
> ASP.NET is not authorized to access the requested resource. Consider
> granting access rights to the resource to the ASP.NET request identity.
> ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or
> Network Service on IIS 6) that is used if the application is not
> impersonating. If the application is impersonating via <identity
> impersonate="true"/>, the identity will be the anonymous user (typically
> IUSR_MACHINENAME) or the authenticated request user.
>
> To grant ASP.NET write access to a file, right-click the file in Explorer,
> choose "Properties" and select the Security tab. Click "Add" to add the
> appropriate user or group. Highlight the ASP.NET account, and check the
> boxes for the desired access.
>
>
>
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com