Error message when you preview a Web page that you created in SharePoint Designer 2007: "The resource cannot be found"

Article translations Article translations
Article ID: 918776 - View products that this article applies to.
Expand all | Collapse all

Symptoms

Consider the following scenario. You are running Microsoft Office SharePoint Designer 2007 and ASP.NET Cassini Sample Web Server on the local computer. You create a Web site in SharePoint Designer 2007. Additionally, you use ASP.NET Cassini Sample Web Server to host the Web site. When you use the Preview in Browser command to preview a page from the Web site in a Web browser, you receive an error message that resembles the following:
The resource cannot be found.

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.

Cause

This issue occurs if the following conditions are true:
  • The name of the folder that contains the Web site is longer than 8 characters. For example, the name of the folder is MyTestWeb.
  • When you create the Web site, you specify the name of the folder in 8.3 short file name format. For example, you specify the name of the folder as MyTest~1.
In this scenario, SharePoint Designer 2007 incorrectly processes the tilde (~) character in the name of the folder when SharePoint Designer 2007 passes the parameter to ASP.NET Sample Web Server.

Workaround

To work around this issue, use one of the following methods:
  • When you create the folder that contains the Web site, specify the name of the folder in 8.3 short file name format.
  • Do not specify the name of the folder in 8.3 short file name format when you create the Web site.

Properties

Article ID: 918776 - Last Review: August 6, 2012 - Revision: 2.0
Applies to
  • Microsoft Office SharePoint Designer 2007
Keywords: 
kbexpertiseinter kbwebpublishing kberrmsg kbtshoot kbprb KB918776

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com