Re: Problem running local asp.net app with web site on network share

From: JR (jr_at_newsgroups.nospam)
Date: 04/27/04


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
>



Relevant Pages

  • Re: Object Required Error
    ... This data is either going to modify a chosen row or create a new ... The paste down sub will simply paste the data, from whichever source, ... Set rng1 = .EntireRow ...
    (microsoft.public.excel.programming)
  • Re: Update a table using a form
    ... I have the form set up to modify a field in a ... >the record I want to modify. ... When the form opens it ... Access will open a VBA editor window with the Sub ...
    (microsoft.public.access.formscoding)
  • RE: Combinations in a string of data
    ... I had a similar macro that I needed to modify. ... Sub combinations ... NumbersMatch = NumbersMatch + 1 ... RowCount = RowCount + 1 ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Search for Directories/files/Folders
    ... Do you think I can modify this to find say all "symantec" programs ... eSolTec, Inc. ... Sub Main ... Private Sub ListAllExes(ByVal path As String) ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Problem running local asp.net app with web site on network share
    ... then it tries to use the UNC account password to login, ... to access the remote shared root when starting the web ... I understand that it is hard to modify the machine.config on the production ... However, if the root folder for the web site is one shared folder, ...
    (microsoft.public.dotnet.framework.aspnet)