Re: The ASP.NET application is not permitted to write to disk!
From: Jimco Add-ins (jimco@nospam.jimcoaddins.com)
Date: 10/12/02
- Next message: Dan: "ASPNET worker process account"
- Previous message: Jimco Add-ins: "Re: How to assign a fixed identity to ASPNET process?"
- In reply to: Tom Vogel: "The ASP.NET application is not permitted to write to disk!"
- Next in thread: Tom Vogel: "How to assign a fixed identity to ASPNET process?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Jimco Add-ins" <jimco@nospam.jimcoaddins.com> Date: Sat, 12 Oct 2002 10:23:32 -0500
Make sure that you are specifying domain\username in the web.config. Make
sure that you are using Windows authentication. If you are using
forms-based authentication, unless the authentication ticket is passed with
the request, it won't work.
-- Jimco Add-ins ------------------------------------------------------------------- http://www.jimcoaddins.com FREE Add-ins and Utilities for FrontPage ------------------------------------------------------------------- Secure pages with ASP! Read our most recent edition of Insights ------------------------------------------------------------------- "Tom Vogel" <tvch@yahoo.com> wrote in message news:OsoulAfcCHA.1940@tkmsftngp10... > Thanks for the input. But it's not that easy. My web site is hosted at a > third-party, an ASP.NET hosting provider. So all my users are either > anonymous or FormsAuthentication is used. But that doesn't change the > situation for the ASP.NET process. > > My problem at the moment is, that the ASP.NET application doesn't have > permission to write to the filesystem. So how can I make my application run > with the only Windows NT account that has the required permission while an > anonymous user requests the page. > > Tom > > "Jimco Add-ins" <jimco@nospam.jimcoaddins.com> wrote in message > news:uATCt4ecCHA.1340@tkmsftngp10... > > Tom, > > > > All you have to do is change your web.config file. If you enable > > impersonation and deny unauthenticated users, you will be running under > your > > own account. In other words, add the following: > > > > <identity impersonate="true" /> > > > > Then you will need to change the <authorization> section as follows: > > > > <authorization> > > > > <deny users="?" /> > > > > </ authorization> > > > > -- > > > > Jimco Add-ins > > ------------------------------------------------------------------- > > http://www.jimcoaddins.com > > FREE Add-ins and Utilities for FrontPage > > ------------------------------------------------------------------- > > Secure pages with ASP! > > Read our most recent edition of Insights > > ------------------------------------------------------------------- > > > > > > > > "Tom Vogel" <tvch@yahoo.com> wrote in message > > news:#HuEauecCHA.2520@tkmsftngp11... > > > The situation at my ASP.NET hosting provider is that, > > > - I have a virtual web server > > > - a Windows NT account and FTP access to my folder > > > - and ASP.NET running, I assume, under the ASPNET account > > > > > > The problem is, that the ASPNET account can read my pages but I have no > > > other privileges like writing to disk etc. > > > > > > Unfortunately Microsoft only lets you change the username in the > > > ProcessModel section of the machine.config file. This is not a suitable > at > > > all for a multi-site environment. > > > > > > What I'd like to do is have the ASP.NET process run under my account id. > > Is > > > this possible and how? > > > > > > Thanks for your help. > > > > > > Tom > > > > > > > > > > > > > > > > > >
- Next message: Dan: "ASPNET worker process account"
- Previous message: Jimco Add-ins: "Re: How to assign a fixed identity to ASPNET process?"
- In reply to: Tom Vogel: "The ASP.NET application is not permitted to write to disk!"
- Next in thread: Tom Vogel: "How to assign a fixed identity to ASPNET process?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|