Re: ASPNET account doesn't exist on Windows Server 2003

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Control Panel/Add/Remove Programs/Windows Components/Application
Server/Details.

"cwbp17" <cwbp17@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C777BF71-5A95-43F0-A888-D445CDE9DE32@xxxxxxxxxxxxxxxx
> Where would I look for the ASP.NET component? On the file system?
>
> Or do I look for ASPNET_WP.exe?
>
> I have visual studio 2003 on Windows Server 2003 with IIS 6.0.
>
> bebop
>
> "AllenM" wrote:
>
>> This does exist on Windows 2003 server. Did you load the ASP.NET
>> component?
>> This will create the ASPNET account the the ASPNET_WP.exe executable.
>>
>>
>> "cwbp17" <cwbp17@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:85DCB90F-AE35-45C5-8385-B886659FD3A5@xxxxxxxxxxxxxxxx
>> > I've reinstalled my Windows 2003 server and VS2003 without much luck on
>> > finding this ASP.NET account. Using IIS 6.0.
>> >
>> > My c# application requires access to read a file (C:\\Test.jpg) from
>> > the
>> > file system.
>> >
>> > Keep receiving the following error:
>> >
>> > ***********
>> > General access denied error
>> >
>> > 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: General access
>> > denied
>> > error
>> >
>> > 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 IIS6) 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
>> > appopriate user or group. Highlight the ASP.NET account, and check the
>> > boxes
>> > for the desired access.
>> >
>> > *******
>> >
>> > I tried impersonation by putting the following in the web.config file
>> > of
>> > my
>> > application: the user has administrative privileges
>> >
>> > <identity impersonate="true" userName="username" password="password" />
>> >
>> > That didn't work. Kept receiving the same error.
>> >
>> > I then found the following to try to recreate the ASP.NET account using
>> > the
>> > run command:
>> >
>> > %systemroot%\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe /i
>> >
>> > that didn't work either because aspnet_regiis.exe works with XP not
>> > Windows
>> > Server 2003.
>> >
>> > Could anyone help me with this? Is there a solution on finding this
>> > ASP.NET
>> > account on Windows Server 2003?
>> >
>> > I'm using IIS 6.0.
>> >
>> > Any suggestions would be appreciated.
>> >
>> > Thanks.
>> >
>> > bebop
>> >
>>
>>
>>


.



Relevant Pages

  • Re: ASPNET account doesnt exist on Windows Server 2003
    ... > This does exist on Windows 2003 server. ... > This will create the ASPNET account the the ASPNET_WP.exe executable. ... >> granting access rights to the resource to the ASP.NET request identity. ...
    (microsoft.public.windows.server.general)
  • Re: Service running as Local system account Unable to map drive on
    ... Hi Joe and Phillip ... account has full permissions on both the share and the file system itself. ... Security Eventlog: ...
    (microsoft.public.security)
  • Re: lsattr understanding
    ... I tried moving the entire account to a different named account however ... So at this point it is my guess that the file system ... meaning that even an old kernel ...
    (linux.redhat)
  • Re: App pool identity
    ... restrict that account to some files you're accessing on the file system ... allow for trusted access to the database, and ... you are trying to use a different account because you want ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: lsattr understanding
    ... I tried moving the entire account to a different named account however at ... So at this point it is my guess that the file system ... meaning that even an old kernel ...
    (linux.redhat)