Thursday, January 21, 2010

How to fix : "Directory ‘C:\Inetpub\wwwroot\wss\VirtualDirectories\80\_catalogs\masterpage’ does not exist. Failed to start monitoring file changes."

Hi all,

Today i ran through a problem when i tried to create a javascript function in my web part that call a server function in the code behind, to enable this, you have to enable pagemethods in your script manager object in the master page.

ajax:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true"

adding this attribute EnablePageMethods causes the whole site stop working and you will get this yellow error page with the following error:
"
Directory ‘C:\Inetpub\wwwroot\wss\VirtualDirectories\80\_catalogs\masterpage’ does not exist. Failed to start monitoring file changes.

"

The fix for this problem, is a bug and a known issue, just install this hotfix KB957661 on your sharepoint front server.

Hotfix download link :
http://code.msdn.microsoft.com/KB957661/Release/ProjectReleases.aspx?ReleaseId=2293

Hope this helps :)


Regards,
Mostafa arafa

No comments: