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/23/04
- Next message: Steven Cheng[MSFT]: "RE: Problem running local asp.net app with web site on network share"
- Previous message: Joe Gass: "Re: Random Compilation Error - Access Denied to my linked assemblies"
- In reply to: JR: "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: Fri, 23 Apr 2004 08:19:32 GMT
Hi JR,
I have performed some tests on my side. I can also reproduce this error
message.
Actually, the cause for the error message is in Windows XP, ASP.NET
application run with the work process aspnet_wp.exe, which by default use
the local "ASPNET" account. Since it is only a local account, we can't add
it to the UNC folder. This will cause the error message.
To trouble-shoot this error, we can try the following methods:
Method 1:
----------
We can set the account for aspnet_wp.exe to local system, and then add the
computer as one account to the UNC folder.
1. Locate the "machine.config" file.
2. Make a backup of this file.
3. Locate the following in this config file:
<processModel ... userName="machine" password="AutoGenerate"... >
4. Change "machine" to "SYSTEM".
5. Add the computer as one account to the UNC folder with appropriate
permission (or just "Full Control" permission).
Note: To add one computer as one account, make sure to check "Computers"
for "Object Type" when adding accounts.
Method 2:
----------
We can also specify one domain user account for aspnet_wp.exe, which has
appropriate permission to the UNC folder.
1. Locate the following in the machine.config file:
<processModel ... userName="machine" password="AutoGenerate"... >
2. Change the user name and password like following:
userName="DomainName\username" password="password"
3. Add the account to the UNC folder with appropriate permission (or just
"Full Control" permission).
For more information with the steps and the permission needed for this new
account, please refer to the following Knowledge Base articles from
Microsoft:
324393 HOW TO: Install the .NET Framework on a Cluster
http://support.microsoft.com/?id=324393
317012 INFO: Process and Request Identity in ASP.NET
http://support.microsoft.com/?id=317012
Have a nice day!
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: Steven Cheng[MSFT]: "RE: Problem running local asp.net app with web site on network share"
- Previous message: Joe Gass: "Re: Random Compilation Error - Access Denied to my linked assemblies"
- In reply to: JR: "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
|