Re: Problem running local asp.net app with web site on network share
From: Steven Cheng[MSFT] (v-schang_at_online.microsoft.com)
Date: 04/27/04
- Next message: raagz: "randomly generated characters appended to the URL why > www.domain.com/asd9f6asdhr"
- Previous message: Jim Corey: "Re: Override session object?"
- In reply to: Steven Cheng[MSFT]: "Re: Problem running local asp.net app with web site on network share"
- Next in thread: JR: "Re: Problem running local asp.net app with web site on network share"
- Reply: JR: "Re: Problem running local asp.net app with web site on network share"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 27 Apr 2004 01:38:15 GMT
Hi JR,
After some further analisis, I would like to explain the steps when running
the ASP.NET web application under our scenario. I believe this is helpful
for us to further understand the problem.
When we start the web application at the sub directory, it is attempting to
access the share because the configuration system is looking for a
web.config file at the root. When the process model is set to "machine",
then it tries to use the UNC account password to login, and it is failing.
I have also tried to grant "Everyone" with "Full Control" permission of the
shared folder. However, the same error message still appeared. When the
account is "system", it does not use the UNC account, and the machine has
access to the remote share.
We can find that ASP.NET has not tried to check the web.config in the sub
directory at this time. Therefore the Impersonate settings in the sub
directory will not take effect.
Actually, to access the remote shared root when starting the web
application, we need to make sure the ASP.NET work process has the
permission. This is the reason that we need to modify the <processModel> in
machine.config file.
I understand that it is hard to modify the machine.config on the production
server. However, if the root folder for the web site is one shared folder,
I am afraid that we still need to modify this file. Actually, the two
methods in my last reply both modify the machine.config file.
If there is any further concern, please don't hesitate to let me know.
Otherwise, I suggest that we backup and modify the machine.config according
to the steps in my last reply. Thanks!
Regards,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
- Next message: raagz: "randomly generated characters appended to the URL why > www.domain.com/asd9f6asdhr"
- Previous message: Jim Corey: "Re: Override session object?"
- In reply to: Steven Cheng[MSFT]: "Re: Problem running local asp.net app with web site on network share"
- Next in thread: JR: "Re: Problem running local asp.net app with web site on network share"
- Reply: JR: "Re: Problem running local asp.net app with web site on network share"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|