Kathy Hughes, MVP

All MindsharpBlogs

SharePoint Encounters

My Links

Archives

Blog Stats

Asia Pacific SharePoint Training

Cats

Citrix

Personal

Resources

SharePoint Training

SharePoint Designer Snippets: Issue with %20 in URL

Scenario:

Using the SharePoint Designer 2007 Data Source Library task pane to Connect to Another Library...:, but you see the message “The web http://server_name/SiteDirectory/Site%20Name/ cannot be opened“. The details below may provide some insight. 

Method:

  1. In the site's Data Source Library task pane, click on Connect to Another Library...
  2. In the resultant Manage Library dialogue, click Add.
  3. In the Collection Properties dialogue click Browse.
  4. In the Choose a Web Site dialogue, locate and select a site then click Open.
  5. Back in the Collection Properties dialogue, and with the Location: field populated with the URL of the site you selected in the previous step, click OK.

If at this point you receive a dialogue with the message “The web http://server_name/SiteDirectory/Site%20Name/ cannot be opened“, it is because of the %20 in the URL.

In this case, the site name includes a space and the space in the actual URL is being handled by the %20 URL encoding, as in ...Site%20Name. SharePoint is failing to then correctly convert the URL encoding which is why it is failing to add a site where the site name includes spaces. You need to remove the %20 from the URL before being able to successfully add the site to your site's Data Source Library.

Kathy

 

posted on Saturday, January 20, 2007 11:54 AM

Feedback

# re: SharePoint Designer Snippets: Issue with %20 in URL 1/10/2008 4:38 AM Melanie

How can you remove the %20 from the URL?

# re: SharePoint Designer Snippets: Issue with %20 in URL 5/19/2008 9:44 PM Jase

Didnt work for me. With or without the %20 I get "....cannot be opened". The list I am trying to access isn't on the parent site but a different sub site of the same parent. Does it matter?

Title  
Name  
Url
CAPTCHA
Protected by Clearscreen.SharpHIPEnter the code you see:
Comments