Microsoft KB Archive/925728

= Error message when you click &quot;Create Site&quot; on the tab that is located in the upper-right corner of the Site Directory page of a site collection: &quot;Page cannot be displayed&quot; =

Article ID: 925728

Article Last Modified on 5/14/2007

-

APPLIES TO


 * Microsoft Office SharePoint Server 2007

-



SYMPTOMS
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.



CAUSE
This problem occurs because the URL on the tab for Create Site is incorrect. The URL incorrectly contains an additional forward slash (/) character.



WORKAROUND
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. 

<SPSWC:MiniConsole runat=&quot;server&quot;> <SPSWC:SPSRepeatedControls id=&quot;RptControls&quot; runat=&quot;server&quot; HeaderHtml=&quot;&quot; BeforeControlHtml=&quot;&lt;td class='ms-toolbar' nowrap='true' ID='_spFocusHere'&gt;&quot;

AfterControlHtml=&quot;&lt;/td&gt;&quot; SeparatorHtml=&quot;&lt;td class=ms-separator&gt;|&lt;/td&gt;&quot;>

<Template_Controls>

<SPSWC:CreateSite runat=&quot;server&quot; class=&quot;ms-toolbar&quot; id=&quot;TBBNewSTSSite&quot; PermissionsString=&quot;ManageSubwebs, ManageLists&quot; ShowImageAndText=&quot;false&quot;/>

<SPSWC:AddLinkToSiteButton runat=&quot;server&quot; id=&quot;TBBNewListing&quot; class=&quot;ms-toolbar&quot; PermissionsString=&quot;AddListItems&quot; ShowImageAndText=&quot;false&quot;/>

</Template_Controls>

</SPSWC:SPSRepeatedControls>

</SPSWC:MiniConsole>

</asp:Content> </li>  In the section that you located in step 6, locate the following line. <SPSWC:CreateSite runat=&quot;server&quot; class=&quot;ms-toolbar&quot; id=&quot;TBBNewSTSSite&quot; PermissionsString=&quot;ManageSubwebs, ManageLists&quot; ShowImageAndText=&quot;false&quot;/> Then, replace it with the following line. <asp:LinkButton runat=&quot;server&quot; class=&quot;ms-toolbar&quot; id=&quot;TBBNewSTSSite&quot; PermissionsString=&quot;ManageSubwebs, ManageLists&quot; ShowImageAndText=&quot;false&quot;>Create Site</asp:LinkButton> </li> On the File menu, click Save.</li> Under masterpage (Master Page Gallery), right-click the copy of the TabViewPageLayout.aspx page, click Check In, and then click OK.</li> Modify the references in the master page to use the copy of the TabViewPageLayout.aspx page that you created.</li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Additional query words: moss2007 sps

Keywords: kberrmsg kbprb kbexpertiseinter kbtshoot KB925728

-

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

© Microsoft Corporation. All rights reserved.