Re: Exception Details: System.UnauthorizedAccessException: Access to the path - ASP.NET app on WIn2003

From: Paul Glavich [MVP ASP.NET] (glav_at_aspalliane.com-NOSPAM)
Date: 02/20/05


Date: Sun, 20 Feb 2005 23:46:29 +1100

Ok, I did not realise you were running via network shares. This brings a
whole new picture to the authentication scenario and after reviewing your
latest post, my original advice is probably way off the mark. Running via
network shares introduces a level of authentication and delegation issues
that are sometimes very hard to overcome. Rather than try and diagnose a
series of different environment scenarios, can you please (in detail) list
the encironment and configuration in which you wish to run your app. Please
include what is a member server or DC, the location you wish to run the app,
any network shares incolved, and how you are aurhenticating users in your
app, and if any impersonatin is being used.

-- 
- Paul Glavich
ASP.NET MVP
ASPInsider (www.aspinsiders.com)
"Bill Nguyen" <billn_nospam_please@jaco.com> wrote in message
news:O7LXf%236EFHA.2564@tk2msftngp13.phx.gbl...
> Paul;
>
> http://support.microsoft.com/default.aspx?scid=kb;en-us;831218
> The article above has something to do with the problem I was facing. I now
> am able to run ASP.NET applications residing on the same Win2003 DC after
> adding domain ASPNET, IIS_WPG to the DC's local user right assignment.
>  However, I still received the same error when trying to run an ASP.NET
app
> resides in a network share on a member server. Curiously enough, I was
able
> to run ASP.NET app residing on the DC (via network share) as a virtual
> directory from the IIS server of this very member server!
>
> Again, both servers are Win 2003. one is DC, the other is just a member.
> Thanks
> Bill
>
> Exception Details: System.UnauthorizedAccessException: Access to the path
> "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
> Files\test\56981759\83651d76" is denied.
>
>
>
> "Paul Glavich [MVP ASP.NET]" <glav@aspalliane.com-NOSPAM> wrote in message
> news:u9v1%23n1EFHA.4004@tk2msftngp13.phx.gbl...
> > I often get this error after our server admins "security harden" the
> server.
> > Either make sure the ASPNET/Network service user, or the user under
which
> > you run has enough priveleges for this directory (or set of
directories).
> >
> > In this instance, I prefer to create a local account for the express
> purpose
> > of running your app, assign the correct privileges, and use this as the
> > specific application pool identity under which the app runs.
> >
> > -- 
> >
> > - Paul Glavich
> > ASP.NET MVP
> > ASPInsider (www.aspinsiders.com)
> >
> >
> > "Bill Nguyen" <billn_nospam_please@jaco.com> wrote in message
> > news:%234HwQBtEFHA.2572@tk2msftngp13.phx.gbl...
> > > I got this error emssage trying to run an ASP.NET application on my
> > > Win2003/IIS6.0 server: The server is a DC and I can't locate the
option
> to
> > > manage Local Users and Groups anywhere to look at aspnet user setup
> > >
> > > Exception Details: System.UnauthorizedAccessException: Access to the
> path
> > > "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
> > > Files\gsic_license\af8d1ef2\60bfeb0b" is denied.
> > >
> > >
> > > Your help is greatly appreciated.
> > > Bill
> > >
> > >
> >
> >
>
>


Relevant Pages

  • Re: Exception Details: System.UnauthorizedAccessException: Access to the path - ASP.NET app on WIn20
    ... am able to run ASP.NET applications residing on the same Win2003 DC after ... I still received the same error when trying to run an ASP.NET app ... directory from the IIS server of this very member server! ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: SBS 2003 downtime scenarios
    ... Our LOB app is a CRM called "Mail Order Manager", which is a simple FoxPro-based app that is more of a shared folder from which clients run the exe and access the data. ... It would likely run fine on SBS in a RAID5 set with our other files just as it does now on Win2k. ... assuming this project goes forward we would have a brand new dual-cpu HP server with 4gb RAM and up to 8 disks. ... to put our critical line of business app on a separate member server ...
    (microsoft.public.windows.server.sbs)
  • Re: Can I access/run programs remotely that are stored on the serv
    ... leave the SBS alone, add a member server with Windows ... 2003 Server running terminal Sever in Application mode and run your goldmine ... app on that machine. ...
    (microsoft.public.windows.server.sbs)
  • Re: Homegrown synchronization
    ... to check for update files in the Import DropBox for the server. ... similar to the import code used to update a remote backend). ... code to close the "sync" app. ... synch app, but only one at a time would be able to do synchs. ...
    (microsoft.public.access.replication)
  • RE: Beginners Questions
    ... We do use Windows form on the presentation layer which is on ... terminal server and call web services on the business logic side. ... of using "proxy" authentication on SQL Server. ... > I have written an app with a Windows Forms UI that is deployed to clients ...
    (microsoft.public.dotnet.distributed_apps)