locked
Why does creating or extending a web application cause a "URI formats not supported" error? RRS feed

  • Question

  • When I go to SharePoint 2007's Central Administration->Application Management->Create or Extend Web Application and then click on either "Create a new Web application" or "Extend an existing Web application", the next page is not the usual form, but instead an error that says "URI formats are not supported". We've created and extended many web applications already without fail, so this is a new and never-before-seen error. Checked IIS/Sharepoint/Event logs and seen no more information. Other servers that run SharePoint 2007 can successfully load the form. This occurs in any browser whether remotely accessed or locally on the server.

    Anyone have any idea why we'd be getting this?

    The stack trace is as follows:

    System.IO.Path.NormalizePathFast(String path, Boolean fullCheck) 
       at System.IO.DirectoryInfo..ctor(String path) 
       at Microsoft.SharePoint.Administration.SPIisVirtualDirectory.get_Path() 
       at Microsoft.SharePoint.Administration.SPVirtualServer.InitializeIisComponents(SPIisWebSite iisInstance) 
       at Microsoft.SharePoint.Administration.SPVirtualServer..ctor(SPIisWebSite iisInstance) 
       at Microsoft.SharePoint.Administration.SPVirtualServerCollection.Undirty() 
       at Microsoft.SharePoint.Administration.SPVirtualServerCollection..ctor() 
       at Microsoft.SharePoint.Administration.SPGlobalAdmin.get_VirtualServers() 
       at Microsoft.SharePoint.WebControls.IisWebSiteSection.PopulateIisWebSiteDropDownList() 
       at Microsoft.SharePoint.WebControls.IisWebSiteSection.OnLoad(EventArgs e) 
       at System.Web.UI.Control.LoadRecursive() 
       at System.Web.UI.Control.LoadRecursive() 
       at System.Web.UI.Control.LoadRecursive() 
       at System.Web.UI.Control.LoadRecursive() 
       at System.Web.UI.Control.LoadRecursive() 
       at System.Web.UI.Control.LoadRecursive() 
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


    Monday, December 12, 2011 8:50 PM

All replies

  • Hi,

    Try doing the same using STSADM commands to check if it works.

    Refer this:

    http://technet.microsoft.com/en-us/library/cc288162(office.12).aspx


    Thanks, Rahul Rashu
    Tuesday, December 13, 2011 4:47 AM
  • We were able to create a new site using stsadm -o extendvs, but extending a web application (stsadm -o extendvsinwebfarm) would not actually work despite not throwing up an error (it would not actually create a new IIS or SharePoint site). Regardless, we need to be able to use Central Administration's method, so we're still trying to figure out the cause. Thank you for the reply.
    Tuesday, December 13, 2011 5:08 PM
  • Did you try running the configuration wizard? Post configuration wizard can you try the web app creation from central administration?

    Regards, Nikhil Sharma Dharanipragada

    Monday, June 11, 2012 10:42 AM