By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,670 Members | 1,501 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,670 IT Pros & Developers. It's quick & easy.

System.UnauthorizedAccessException //got stuck

P: n/a
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\Temp orary
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\Temp orary 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.

Nov 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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\Temp orary
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\Temp orary 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.

Nov 16 '05 #2

P: n/a
Great !!!! It worked perfect after the changes you suggested !

Thanks a lot !

"Johnson O'Connor Smith" <Johnson O'Connor Sm***@discussions.microsoft.com>
wrote in message news:D6**********************************@microsof t.com...
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\Temp orary
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\Temp orary 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.

Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.