Re: Where is the built-in ASP.NET account?

Tech-Archive recommends: Fix windows errors by optimizing your registry



So, this built-in ASP.NET account doesn't exist in Windows Server 2003 using
IIS 6.0?

I tried your suggestion, gave Network Service account full control of the
folder and still receive the same error message.

Should I reinstall and see if that helps?

bebop



"Juan T. Llibre" wrote:

> re:
> > Could anyone help me with this?
> > Is there a solution on finding this ASP.NET account?
>
> Right click the folder for which you want to
> grant permissions for, using Windows Explorer.
>
> Select "Properties", and then click the "Security" tab.
> Click "Add", and then click "Advanced".
>
> Click "Find Now".
> Scroll down to the "NETWORK SERVICE" account
> ( Careful. There's also a "NETWORK" account. Don't pick that one.)
>
> Double-click the "NETWORK SERVICE" account to
> add it to the account list allowed access to that folder.
>
> Assign the desired permissions by checking "Allow" or "Deny".
> OK your way out of there.
>
> The default account for ASP.NET under IIS 6.0 is "NETWORK SERVICE".
>
> If you're impersonating a different account, select that one instead.
>
>
>
>
> Juan T. Llibre
> ASP.NET MVP
> http://asp.net.do/foros/
> Foros de ASP.NET en Español
> Ven, y hablemos de ASP.NET...
> ======================
>
> "cwbp17" <cwbp17@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:78C248C7-CF71-4CB4-B625-B09D4F63C926@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.
> >
> > Got 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 above 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
> >
> > Could anyone help me with this? Is there a solution on finding this ASP.NET
> > account?
> >
> > I'm using II 6.0
> >
> > Any suggestions would be appreciated.
> >
> > Thanks.
> >
> > bebop
> >
> >
> >
>
>
>
.



Relevant Pages

  • Re: Manually Created Web Site Does Not Work - What am I Missing?
    ... between my VS project - and therefore assembly names - and the IIS Web site. ... have the same name or folder structure as my VS project. ... The ASP.NET Dev Server runs as the Administrator account in VS 2008. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: OWA distorted
    ... list for the Exchsvr folder. ... The user can only access OWA when they have Domain Admin rights on ... if you hadn't changed the account used for Anonymous Access. ... synchronize it with the value in IIS Manager. ...
    (microsoft.public.exchange.admin)
  • Re: Anyone Familiar With Samba?
    ... If the application isolation settings on the folder containing the web ... IUSR_computername account. ... and also a copy of the password is cached in the IIS metabase [and both ... > use a Samba share from my Linux server as its web root. ...
    (microsoft.public.inetserver.iis.security)
  • Re: A few file upload questions
    ... I found an "ASP.net machine account" in my Windows security (I'm guessing ... that IIS added that when I installed IIS either that or one of the .net ... under that folder but that was a while ago before I got into this side of ... writing and therefore needs permissions on the folder where you're putting ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: A few file upload questions
    ... Since you added the machine account to the folder permissions and it's working now, your site must be running under the machine account. ... that IIS added that when I installed IIS either that or one of the .net ...
    (microsoft.public.dotnet.framework.aspnet)