RE: ASP.Net runtime error: failed to start monitoring changes to webs



Hi Morris,

From your description, you're getting "failed to start monitoring
changes....." error when try opening or running an ASP.NET 2.0 web
application from a NAS in vs 2005.

As for this issue, I've ever found some other ones suffering the similar
issue. Have you got any further error message on this, if so would you
provide the complete error message or exception stack?

Is this NAS a UNC share on a remote machine to both machiNe A and machine
B? Or on machine A locally, but remote to machien B?

As far as I know, there are two potential causes here:

1. If the UNC share is remotely to machine B, and you're using VS 2005
filesystem project to mangement the web application in the share, your
current logon account should have sufficient permission to read/write
monitoring that UNC share and the shared root. This is because ASP.NET
runtime(worker process) will moniotring the file changes in the applicaion
folder or root folder(such as web.config file), and if the security
identity doesn't have sufficient permission, it will lead to error.

As a general permission troubleshooting, you can use Filemon tool to trace
the file accessing on machine B to see whether there is such file accessing
failure entry when you try load the project or run it in vs 2005.


2. Since windows UNC share using SMB as network protocol to communication
between client and server machine, and operating system have limitation on
number of SMB requests that can be processed, if the requests at runtime
exceed the limitation(usually on XP box ), you may also get such "failes to
start monitor ..." error.

Here is a knowledge base article descrbing the problem:

#Your ASP or ASP.NET application may restart or you may lose the session
object when more SMB requests exist than the Web server can process
http://support.microsoft.com/kb/843584/en-us

You can have a look at the above things. If you have any new finding or any
other information you wonder, please feel free to let me know.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

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.

==================================================



This posting is provided "AS IS" with no warranties, and confers no rights.




.



Relevant Pages

  • RE: WSE910 error due to time zone differences between client/serve
    ... synchronization problem between service client and server. ... timestamp header in the form of UTC time format. ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: Option Strict Off/On
    ... templates i.e. when you create a file it actually copies a template. ... On setting is set on an Visual Studio IDE instance. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.languages.vb)
  • RE: POPUp - VB.Net
    ... how does your timer interact with the threads in your ... Private Sub Button1_Click(ByVal sender As System.Object, ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.vsnet.general)
  • Re: System Error (1003) - 0x000000CB
    ... MCSE, CCEA, Microsoft MVP - Terminal Server ... A call to Microsoft Support seems appropriate. ... Computer: TERMSERVER1 ...
    (microsoft.public.windows.terminal_services)
  • Re: How do I Sleep for a specified amount of time and relinquish c
    ... Finally, the Windows thread scheduling is not a trivial topic, it is ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework)