Connecting Tech Pros Worldwide Forums | Help | Site Map

System.UnauthorizedAccessException: Access is denied.

Raju
Guest
 
Posts: n/a
#1: Jul 19 '05
Exception Details: System.UnauthorizedAccessException: Access 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.

Source Error:


Line 15: Public Class WordOutHandler
Line 16:
Line 17: Dim oWord As New Word.Application
Line 18:
Line 19: #Region "Methods Actually being used by the class"



* * * Sent via DevBuilder http://www.devbuilder.org * * *
Developer Resources for High End Developers.

Ray at
Guest
 
Posts: n/a
#2: Jul 19 '05

re: System.UnauthorizedAccessException: Access is denied.


Try posting in a dotnet group. This group is for classic ASP.

Ray at home

--
Will trade ASP help for SQL Server help


"Raju" <npolu@rediffmail.com> wrote in message
news:3f258dc3$0$196$75868355@news.frii.net...[color=blue]
> Exception Details: System.UnauthorizedAccessException: Access is denied.
>
> ASP.NET is not authorized to acc[/color]


Closed Thread