Wednesday, October 10, 2007

The file web.sitemap required by XmlSiteMapProvider does not exist

I am using a custom XMLSiteMapProvider where in i have defined a web.sitemap file with urls.
The application worked fine for administrators but i got this error when i tried other users. I am using this control in a SharePoint 2007 Page . After lots of trial it came to my notice that actual error was not identification of the file .The problem was that the normal sharepoint user didn't had enough permission to access the web.sitemap file in web server .

This worked once i gave autheticated user access to the file,kind of fishy though , as i am not expecting this behaviour.

2 comments:

Anonymous said...

Hi Raghu,

How did you actually provide the permissions to web.sitemap files since the users are places in the SQL database. I am struck up in the same scenario as yours !!

Warm regards,
Sabah Tahir

Rags Iyer said...

Hi , well in my case i gave all the network users read access to the file .

Gray Failures: What is it and how to detect one?

If you are reading this article , i guess you are curious to know about gray failures and different methods to detect gray failures.  Hopefu...