goodk
asked on
sitemap error, when passing more than one parameter
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.
Parser Error Message: The XML sitemap config file web.sitemap could not be loaded. An error occurred while parsing EntityName. Line 22, position 88.
Source Error:
Line 20: </siteMapNode>
Line 21: <siteMapNode title="Banks" url="~/Prod/AnyTable.aspx? FInst=ACE PBNB Account">
Line 22: <siteMapNode title="Varified" url="~/Prod/AnyTable.aspx? xFN1=Finan cialEntity &xFV1=ACE PBNB Account &xFN2=Notes&xFV2=like $" />
Line 23: </siteMapNode>
Line 24: <siteMapNode title="Admin" url="~/Prod/GetSchema.aspx ">
Source File: C:\AceSA_12_12_2009\AceSA_ 12_12_2009 \web.sitem ap Line: 22
-------------------------- ---------- ---------- ---------- ---------- ---------- ----
Version Information: Microsoft .NET Framework Version:2.0.50727.4200; ASP.NET Version:2.0.50727.4016
--------------------------
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.
Parser Error Message: The XML sitemap config file web.sitemap could not be loaded. An error occurred while parsing EntityName. Line 22, position 88.
Source Error:
Line 20: </siteMapNode>
Line 21: <siteMapNode title="Banks" url="~/Prod/AnyTable.aspx?
Line 22: <siteMapNode title="Varified" url="~/Prod/AnyTable.aspx?
Line 23: </siteMapNode>
Line 24: <siteMapNode title="Admin" url="~/Prod/GetSchema.aspx
Source File: C:\AceSA_12_12_2009\AceSA_
--------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.4200; ASP.NET Version:2.0.50727.4016
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks for the solution.
Do you think, it is a error on MS part and they should fix the work around?
Do you think, it is a error on MS part and they should fix the work around?
Not really. This is not a workaround in fact. This is the way XML works.
http://www.csharper.net/blog/custom_sitemapprovider_incorporates_querystring_reliance.aspx
http://www.csharper.net/blog/sitemapprovider_doesn_t_take_querystring_into_consideration.aspx