Re: Problem running local asp.net app with web site on network share
From: JR (jr_at_newsgroups.nospam)
Date: 04/27/04
- Next message: clintonG: "SmartNavigation with non-IE browsers?"
- Previous message: Scott Allen: "Re: Smart Nav and AutoRefresh Problem"
- In reply to: Steven Cheng[MSFT]: "Re: Problem running local asp.net app with web site on network share"
- Next in thread: Steven Cheng[MSFT]: "Re: Problem running local asp.net app with web site on network share"
- Reply: Steven Cheng[MSFT]: "Re: Problem running local asp.net app with web site on network share"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 27 Apr 2004 12:31:40 -0500
Thanks for the thorough analysis. I'll speak with our production team about
making these changes. Last question: do you have anything that definitively
explains when an ASP.NET applicaition uses the processmodel setting versus
the impersonate setting? It's still not clear in my mind.
Thanks again.
"Steven Cheng[MSFT]" <v-schang@online.microsoft.com> wrote in message
news:xFXtah$KEHA.928@cpmsftngxa10.phx.gbl...
> 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: clintonG: "SmartNavigation with non-IE browsers?"
- Previous message: Scott Allen: "Re: Smart Nav and AutoRefresh Problem"
- In reply to: Steven Cheng[MSFT]: "Re: Problem running local asp.net app with web site on network share"
- Next in thread: Steven Cheng[MSFT]: "Re: Problem running local asp.net app with web site on network share"
- Reply: Steven Cheng[MSFT]: "Re: Problem running local asp.net app with web site on network share"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|