Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 925728 - Last Review: December 13, 2011 - Revision: 3.0
Error message when you click "Create Site" on the tab that is located in the upper-right corner of the Site Directory page of a site collection: "Page cannot be displayed"
Consider the following scenario. You use SharePoint 3.0 Central Administration to create a new Web application. Then, you create a new site collection in the root folder of the Web application. The site collection that you create is based on the Site Directory area template. You connect to the site collection. Then, on the tab that is located in the upper-right corner of the Site Directory page, you click
Create Site to create a site. However, the New SharePoint Site page does not appear. Instead, you receive the following error message:
Page cannot be displayed.
This problem occurs because the URL on the tab for
Create Site is incorrect. The URL incorrectly contains an additional forward slash (/) character.
To work around this problem, use one of the following methods.
Method 1: Use the Create Site command on the Site Actions menu
Click the arrow next to
Site Actions, and then click
Create Site to create a site.
Method 2: Create and modify the TabViewPageLayout.aspx page
Use Microsoft Office SharePoint Designer 2007 to create a copy of the TabViewPageLayout.aspx page in the Master Page Gallery. Then, modify the page to include the
Create Site button. To do this, follow these steps:
- Start SharePoint Designer 2007.
- On the File menu, click Open Site, type the URL of the root of the site in the Site name box, and then click Open. If you are prompted, type your user name and password.
- Under Folder List, expand _catalogs, and then expand masterpage (Master Page Gallery).
- Under masterpage (Master Page Gallery), create a copy of the TabViewPageLayout.aspx page.
- Double-click the copy of the TabViewPageLayout.aspx page that you created. When you are prompted to confirm whether you want to check out the page, click Yes.
- Locate the following section.
<asp:Content ContentPlaceHolderId="PlaceHolderMiniConsole" runat="server">
<SPSWC:MiniConsole runat="server"> <SPSWC:SPSRepeatedControls id="RptControls" runat="server" HeaderHtml="" BeforeControlHtml="<td class='ms-toolbar' nowrap='true' ID='_spFocusHere'>"
AfterControlHtml="</td>" SeparatorHtml="<td class=ms-separator>|</td>">
<Template_Controls>
<SPSWC:CreateSite runat="server" class="ms-toolbar" id="TBBNewSTSSite" PermissionsString="ManageSubwebs, ManageLists" ShowImageAndText="false"/>
<SPSWC:AddLinkToSiteButton runat="server" id="TBBNewListing" class="ms-toolbar" PermissionsString="AddListItems" ShowImageAndText="false"/>
</Template_Controls>
</SPSWC:SPSRepeatedControls>
</SPSWC:MiniConsole>
</asp:Content>
- In the section that you located in step 6, locate the following line.
<SPSWC:CreateSite runat="server" class="ms-toolbar" id="TBBNewSTSSite" PermissionsString="ManageSubwebs, ManageLists" ShowImageAndText="false"/>
Then, replace it with the following line. <asp:LinkButton runat="server" class="ms-toolbar" id="TBBNewSTSSite" PermissionsString="ManageSubwebs, ManageLists" ShowImageAndText="false" PostBackUrl="http://support.microsoft.com/_layouts/newsbweb.aspx">Create Site</asp:LinkButton>
- On the File menu, click Save.
- Under masterpage (Master Page Gallery), right-click the copy of the TabViewPageLayout.aspx page, click Check In, and then click OK.
- Modify the references in the master page to use the copy of the TabViewPageLayout.aspx page that you created.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
APPLIES TO
- Microsoft Office SharePoint Server 2007
| kberrmsg kbprb kbexpertiseinter kbtshoot KB925728 |
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