This article has been archived. It is offered "as is" and will no longer be updated.
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.
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.
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.