Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 918776 - Last Review: October 15, 2007 - Revision: 1.8
Error message when you preview a Web page that you created in SharePoint Designer 2007: "The resource cannot be found"
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.
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:
APPLIES TO
- Microsoft Office SharePoint Designer 2007
| kbexpertiseinter kbwebpublishing kberrmsg kbtshoot kbprb KB918776 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate