Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XmlSiteMapProvider does not exist.

Status
Not open for further replies.

arada1

MIS
Dec 3, 2006
47
US
hi all,
Do you have any idea what causes for the below error to happen. thanks a bunch.



The file web.sitemap required by XmlSiteMapProvider does not exist.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: The file web.sitemap required by XmlSiteMapProvider does not exist.
 
Somewhere in the project there is an XMLStieMapProvider. This provider requires the web.sitemap file by default. Either you need to create the web.sitemap or remove the provider from the page.
 
thank you jbenson001 for your reply.Now that error message is gone and I am getting another error message. when I run it inside the server I don't have any problem but when I try to run my apps out side the server by mapping to it I get this error message.
Server Error in '/' Application.
--------------------------------------------------------------------------------

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. any help would be appreciated.

Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error:


Line 24: ASP.NET to identify an incoming user.
Line 25: -->
Line 26: <authentication mode="Windows"/>
Line 27: <!--
Line 28: The <customErrors> section enables configuration


Source File: X:\ Line: 26


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
 
This error can be caused by a virtual directory not being configured as an application in IIS.
Maybe this is the problem?


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Thank you ca8msm. you are right that the virtual directory was not configured as an application in IIS.Thank you for the help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top