Microsoft KB Archive/918776

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

Article ID: 918776

Article Last Modified on 10/15/2007

-

APPLIES TO


 * Microsoft Office SharePoint Designer 2007

-





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.



MORE INFORMATION
ASP.NET Cassini Sample Web Server is a simple, fully managed Web server that hosts ASP.NET. To obtain ASP.NET Cassini Sample Web Server, visit the following Microsoft Web site:

http://www.asp.net/Projects/Cassini/Download/Default.aspx?tabindex=0&tabid=1

Additional query words: SharePointDesigner2007

Keywords: kberrmsg kbtshoot kbprb kbwebpublishing kbexpertiseinter KB918776

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.