Saturday, 19 January 2013

SharePoint 2013 Invalid URI: The URI is empty


I had a task to create a proof of concept environment for SharePoint 2013 for a presentation to a top level exec. Installed and Configured a SharePoint 2013 farm on couple of VM's with dedicated WFE/APP and SQL Server boxes, as this will be used as a POF and the requirements were not clear how long the boxes will be used. MS has released the deployment guide for 2013 must read before thinking of creating a new farm.

Created a new web application on the new farm and a  root level Site Collection based on Team Site Template. Till this moment everything was looking good. On accessing the Site got the following error   :

SharePoint returned the following error: Invalid URI: The URI is empty. Contact your system administrator for help in resolving this problem.

My  first encounter with an issue on 2013 on a vanilla environment, thought it would be good to have this as a reference.

To resolve this, I had to create and configure my site i.e.


  • Created a new web app for my site
  • Created the my site host site collection as the root
  • Provisioned the User Profile Service App
  • Configured the My Site URL in Setup My Site in User Profile Service App
  • IISRESET


On accessing the Team Site didn't find the error. 

Each environment is different and unique, ULS Log viewer was the key to identify and troubleshoot this.



8 comments:

  1. Thanks for that information. I had the same problem and thought it had to do with mysite as this error displays in the microblogging feed.
    Good to get that confirmed.

    ReplyDelete
  2. Thanks a lot!!!!! Been looking at this for a day, I had already provisioned MySites in the same web app that I used for my Team Site. After creating a separate web app for My Sites (as per your info above) and provisioning it there I no longer have this issue :)

    ReplyDelete
  3. Can you perhaps give a bit more detail regarding the actual steps taken to get this done? For example, when you say "Created a new web app for my site", exactly what do you mean? Do you mean you went to IIS and create a new web app there? Or do you mean that you went to SP Central Administration and create this new web app there? Or something else? And on, with each step you mention, it would be very helpful if you could give more details, for the SP2013 noobs. Etc. Thanks.
    -- Mark Kamoski

    ReplyDelete
  4. • Created a new web app for my site > Navigate to Central Admin > Application Management > Manage Web Application > Click on New to Provision a Web Application

    • Created the my site host site collection as the root > Navigate to Central Admin > Application Management > Create Site Collections > Create a Site Collection with My Site Host Template available in Enterprise tab for My Site Web Application

    • Provisioned the User Profile Service App > Navigate to Central Admin > Follow the steps listed here http://sp-vinod.blogspot.co.uk/2012/10/create-and-configure-user-profile.html

    • Configured the My Site URL in Setup My Site in User Profile Service App > Navigate to Central Admin > Application Management > Manage Service Application > User Profile Service Application > Under My Site Settings > Click on Setup My Sites to configure My Site URL

    • IISRESET

    ReplyDelete
  5. Thanks for the detailed info. You saved me!

    ReplyDelete
  6. Thanks for the detailed info. You saved me!

    ReplyDelete