NateC
11-05-2009, 03:08 AM
Info:
Creating Sitemap. Why? I want it to be the data source for an asp.net navigation control. Using Expression Web 2 on XP Home SP3.
Okay, here is my sitemap as it stands now:
<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode url="" title="" description="">
<siteMapNode url="default.aspx" title="Home" description="Welcome to AquariumProOnline.com!" />
</siteMapNode>
<siteMapNode url="advertise.aspx" tile="Advertise" description="Advertise on AquariumProOnline.com" />
</siteMapNode>
<siteMapNode url="contact.aspx" title="Contact" description="Contact AquariumProOnline.com" />
</siteMapNode>
<siteMapNode url="sitemap.aspx" title="Site Map" description="AquariumProOnline.com Site Map" />
</siteMapNode>
<siteMapNode url="sponsors.aspx" title="Sponsors of AquariumProOnline.com" />
</siteMapNode>
</siteMap>
When previewed in IE8, I get this error:
Server Error in '/AquariumProOnline' 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. The 'siteMap' start tag on line 2 does not match the end tag of 'siteMapNode'. Line 7, position 3.
Source Error:
Line 5: </siteMapNode>
Line 6: <siteMapNode url="advertise.aspx" tile="Advertise" description="Advertise on AquariumProOnline.com" />
Line 7: </siteMapNode>
Line 8: <siteMapNode url="contact.aspx" title="Contact" description="Contact AquariumProOnline.com" />
Line 9: </siteMapNode>
Source File: F:\Websites\AquariumProOnline\web.sitemap Line: 7
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082
Creating Sitemap. Why? I want it to be the data source for an asp.net navigation control. Using Expression Web 2 on XP Home SP3.
Okay, here is my sitemap as it stands now:
<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode url="" title="" description="">
<siteMapNode url="default.aspx" title="Home" description="Welcome to AquariumProOnline.com!" />
</siteMapNode>
<siteMapNode url="advertise.aspx" tile="Advertise" description="Advertise on AquariumProOnline.com" />
</siteMapNode>
<siteMapNode url="contact.aspx" title="Contact" description="Contact AquariumProOnline.com" />
</siteMapNode>
<siteMapNode url="sitemap.aspx" title="Site Map" description="AquariumProOnline.com Site Map" />
</siteMapNode>
<siteMapNode url="sponsors.aspx" title="Sponsors of AquariumProOnline.com" />
</siteMapNode>
</siteMap>
When previewed in IE8, I get this error:
Server Error in '/AquariumProOnline' 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. The 'siteMap' start tag on line 2 does not match the end tag of 'siteMapNode'. Line 7, position 3.
Source Error:
Line 5: </siteMapNode>
Line 6: <siteMapNode url="advertise.aspx" tile="Advertise" description="Advertise on AquariumProOnline.com" />
Line 7: </siteMapNode>
Line 8: <siteMapNode url="contact.aspx" title="Contact" description="Contact AquariumProOnline.com" />
Line 9: </siteMapNode>
Source File: F:\Websites\AquariumProOnline\web.sitemap Line: 7
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082