Hi Jerry,
I have not yet heard back from you and I was just writing to see if you
need further assistance. If so, please do not hesitate to let us know and
we will be happy to help.
Regards,
Allen Chen
Microsoft Online Support
--------------------
| X-Tomcat-ID: 39049865
| References: <
[email protected]>
<#
[email protected]>
<
[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: (e-mail address removed) (Allen Chen)
| Organization: Microsoft
| Date: Thu, 07 Aug 2008 06:04:16 GMT
| Subject: RE: Failed to start monitoring changes to
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
| Message-ID: <1$mfxNF#
[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.aspnet.security
| Lines: 230
| Path: TK2MSFTNGHUB02.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl
microsoft.public.dotnet.framework.aspnet.security:2598
| NNTP-Posting-Host: tk5tomimport2.phx.gbl 10.201.218.20
|
| Hi Jerry
|
| Thanks for your updating and sorry that I didn't give you sufficient
| information to solve your problem. I'll try to rephrase in detail.
|
| When creating the virtual directory in IIS 6 that maps to a UNC share
| folder you'll see this wizard:
|
|
http://www.microsoft.com/library/media/1033/technet/images/prodtechnol/windo
| wsserver2003/technologies/webapp/iis/remsto05_big.gif
|
| This wizard is used to specify the credentials (username and password)
that
| are passed to remote server. You can either specify a fixed credential or
| use the user's credentials that are authenticated by IIS.
|
| If you're using fixed credentials (for example a domain account) the
fixed
| user needs read permission to CDNet folder on the remote file server.
|
| If you're using authenticated user's credentials (in your case it's the
| anonymous account which cannot be recognized by the remote server. I
| suggest you use fixed credentials) the read permission should be set for
| the authenticated user's account.
|
| I recommend you to read this article. It illustrates the internal
mechanism
| in detail:
|
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/technologies/
| webapp/iis/remstorg.mspx
|
| If it still doesn't work could you provide following information?
| 1. What're the operating systems of the server where IIS 6 resides the
| remote file server?
| 2. If you're using fixed credentials when creating the virtual directory?
| 3. What's the authentication mode used in IIS?
| 4. What's the authenticated user's user name?
| 5. All the permissions settings of the folder CDNet.
|
| It can help me reproduce this problem on my side.
|
| Regards
| Allen Chen
| Microsoft Online Support
|
| --------------------
| | Thread-Topic: Failed to start monitoring changes to
| | thread-index: Acj3xbw2IJrRBZVTS4CIDQjeU0tXJA==
| | X-WBNR-Posting-Host: 207.46.19.168
| | From: =?Utf-8?B?SmVycnkgQw==?= <
[email protected]>
| | References: <
[email protected]>
| <#
[email protected]>
| | Subject: RE: Failed to start monitoring changes to
| | Date: Wed, 6 Aug 2008 06:10:01 -0700
| | Lines: 154
| | Message-ID: <
[email protected]>
| | MIME-Version: 1.0
| | Content-Type: text/plain;
| | charset="Utf-8"
| | Content-Transfer-Encoding: 7bit
| | X-Newsreader: Microsoft CDO for Windows 2000
| | Content-Class: urn:content-classes:message
| | Importance: normal
| | Priority: normal
| | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.3119
| | Newsgroups: microsoft.public.dotnet.framework.aspnet.security
| | Path: TK2MSFTNGHUB02.phx.gbl
| | Xref: TK2MSFTNGHUB02.phx.gbl
| microsoft.public.dotnet.framework.aspnet.security:2592
| | NNTP-Posting-Host: tk2msftibfm01.phx.gbl 10.40.244.149
| | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
| |
| | Allen,
| |
| | Thank you for the response.
| |
| | This error occurs when IIS 6.0 access the page. It has never been clear
| to
| | me which account is accessing the virtural directory. The site is using
a
| | application pool with network service as the identity. the anonymous
user
| is
| | IUSR_CDN, The IIS 6.0 process may be run by IWAM_CDN, the virtural
| directory
| | has a connect as user as cd\cdadmin and the always use authenticated
| user...
| | box is unchecked. the Site is set to anonymous user and validation is
| forms
| | using a membership database. there is the permissions on the virtural
| | directory, permissions on the share, permissions on the directory on
the
| net
| | machine. also this virtural directory must work with the indexing
server.
| SO
| |
| | The question is what permissions/users must be on each of the sections
| | IIS 6.0
| | Directory Security in IIS 6.0
| | Application pool
| | Virtural Directory connect as user
| | Virtural directory permissions
| | Share permissions
| | Directory permissions
| |
| | and any other permissions that may be necessary
| |
| | Thank you
| | --
| | Jerry
| |
| |
| | "Allen Chen" wrote:
| |
| | > Hi Jerry
| | >
| | > From your description you create a virtual directory on server A and
| the
| | > physical path of it points to a shared folder residing on machine B.
| This
| | > error happens when you view the page on server A. If my understanding
| is
| | > wrong please correct me and tell me more details about the deployment
| | > topology.
| | >
| | > As you said, this exception is generally caused by the permission
| | > settings. The Web.config file is monitored by ASP.NET. If there're
any
| | > changes on this file ASP.NET will check the permission of the logon
| account
| | > first. If it has no read/write permission the error will occur.
| | >
| | > For more details please refer to following KB article. Though it's
for
| | > local disk deployment it can also help to solve this issue when
| publishing
| | > your site to a shared folder.
| | >
| | >
http://support.microsoft.com/kb/317955
| | >
| | > In your case please check if the logon account has read permission to
| the
| | > CDNet folder.
| | >
| | > Another possible reason is the exhaustion of SMB(Server Message
Block),
| | > which is the protocol of the remote file share. You can refer to this
| KB
| | > article for more details:
| | >
| | >
http://support.microsoft.com/kb/843584/en-us
| | >
| | > If all these steps cannot solve this problem please let me know.
| | >
| | > Regards
| | > Allen Chen
| | > Microsoft Online Support
| | >
| | > Delighting our customers is our #1 priority. We welcome your comments
| and
| | > suggestions about how we can improve the support we provide to you.
| Please
| | > feel free to let my manager know what you think of the level of
service
| | > provided. You can send feedback directly to my manager at:
| | > (e-mail address removed).
| | >
| | > ==================================================
| | > Get notification to my posts through email? Please refer to
| | >
|
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
| | > ications.
| | >
| | > Note: The MSDN Managed Newsgroup support offering is for non-urgent
| issues
| | > where an initial response from the community or a Microsoft Support
| | > Engineer within 1 business day is acceptable. Please note that each
| follow
| | > up response may take approximately 2 business days as the support
| | > professional working with you may need further investigation to reach
| the
| | > most efficient resolution. The offering is not appropriate for
| situations
| | > that require urgent, real-time or phone-based interactions or complex
| | > project analysis and dump analysis issues. Issues of this nature are
| best
| | > handled working with a dedicated Microsoft Support Engineer by
| contacting
| | > Microsoft Customer Support Services (CSS) at
| | >
http://msdn.microsoft.com/subscriptions/support/default.aspx.
| | > ==================================================
| | >
| | > --------------------
| | > | Thread-Topic: Failed to start monitoring changes to
| | > | thread-index: Acj3JBoujKrIhxiwQladHL4DD+8q+Q==
| | > | X-WBNR-Posting-Host: 207.46.19.197
| | > | From: =?Utf-8?B?SmVycnkgQw==?= <
[email protected]>
| | > | Subject: Failed to start monitoring changes to
| | > | Date: Tue, 5 Aug 2008 10:53:01 -0700
| | > | Lines: 30
| | > | Message-ID: <
[email protected]>
| | > | MIME-Version: 1.0
| | > | Content-Type: text/plain;
| | > | charset="Utf-8"
| | > | Content-Transfer-Encoding: 7bit
| | > | X-Newsreader: Microsoft CDO for Windows 2000
| | > | Content-Class: urn:content-classes:message
| | > | Importance: normal
| | > | Priority: normal
| | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.3119
| | > | Newsgroups: microsoft.public.dotnet.framework.aspnet.security
| | > | Path: TK2MSFTNGHUB02.phx.gbl
| | > | Xref: TK2MSFTNGHUB02.phx.gbl
| | > microsoft.public.dotnet.framework.aspnet.security:2589
| | > | NNTP-Posting-Host: tk2msftibfm01.phx.gbl 10.40.244.149
| | > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
| | > |
| | > | I am receiving this message when I try to browse a file in a
virtural
| | > | directory connected to a network share on another machine in my
local
| | > network.
| | > |
| | > | An error occurred loading a configuration file: Failed to start
| | > monitoring
| | > | changes to '\\CDDemo\CDNet\web.config' because access is denied.
| | > | Source Error:
| | > | [No relevant source lines]
| | > | Source File: \\CDDemo\CDNet\web.config Line: 0
| | >
|
----------------------------------------------------------------------------
| | > ----
| | > | Version Information: Microsoft .NET Framework
Version:2.0.50727.1433;
| | > | ASP.NET Version:2.0.50727.1433
| | > |
| | > | The connect user I entered when I made the virtural directory is a
| | > domain
| | > | administrator.
| | > |
| | > | The operation system is Windows Server 2003, IIS 6.0
| | > |
| | > | I have found several posts about this problem but I try to set
| | > permissions
| | > | and still get this error. It still is probably a permissions
problem
| but
| | > I
| | > | cannot find the solution
| | > |
| | > | Any Help
| | > |
| | > |
| | > | Thank you,
| | > |
| | > |
| | > |
| | > | --
| | > | Jerry
| | > |
| | >
| | >
| |
|
|