1
Vote

404 Errors

description

I have added the required items, and have gotten a 404 error code. Here is the current situation...
 
I am currently using VS 2008 (ASP.net 3.0 with VB) and I made a reference to the NewtonSoft.Sitemaps.dll file, I then added the below in my Web.Config I have added this to my handlers section
<handlers>
  <add name="Sitemap" verb="*" path="sitemap.axd" type="Newtonsoft.Sitemaps.SitemapHandler, Newtonsoft.Sitemaps"/>
 
I have only 1 web.sitemap with registered items (example Below)
 
<?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="HomePage" />
<siteMapNode url="Contactus.aspx" title="ContactPage" />
<siteMapNode url="MailTo.aspx" title="MailPage"/>
<siteMapNode url="MessageSent.aspx" title="MessageSentPage" />
</siteMapNode>
</siteMap>
 
and I get this
 

Server Error in '/SubwayCateringHQ' Application.

 
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
 
Requested URL: /SubwayCateringHQ/sitemap.axd
 

 

Version Information: Microsoft .NET Framework Version:2.0.50727.1434; ASP.NET Version:2.0.50727.1434

comments