Error message when you try to create a new Windows SharePoint Services 3.0 Web application: "Absolute path information is required"

Article translations Article translations
Article ID: 958448 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

In SharePoint 3.0 Central Administration, when you try to create a new Microsoft Windows SharePoint Services 3.0 Web application, the Internet Information Services (IIS) Web site is not created. The new Web application is displayed in the Web application list. However, you cannot create any other new Web applications in SharePoint 3.0 Central Administration.

Additionally, when you try to delete this Web application, or when you try to create a new Web application, you receive the following error message:
Absolute path information is required.

CAUSE

This problem occurs if a Web application that includes a relative path is created and is not provisioned. For example, relative paths that will cause this problem are C\Inetpub and C:..\Relative. Notice that the colon is not used correctly. An example of a valid absolute path is C:\Inetpub.

WORKAROUND

To work around this problem, use the SharePoint object model to create a script that deletes the Web application. The following is an example of a script that deletes the Web application.
using Microsoft.SharePoint.Administration;
namespace delweb
{
class Program
{
static void Main(string[] args)
{
SPWebApplicationCollection oWebCollection = SPWebService.ContentService.WebApplications;
foreach (SPWebApplication oWeb in oWebCollection)
{
if (oWeb.Name == "Name of Web application")
oWeb.Delete();
}
}
}
}

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Properties

Article ID: 958448 - Last Review: September 22, 2011 - Revision: 2.0
APPLIES TO
  • Microsoft Office SharePoint Server 2007
  • Microsoft Windows SharePoint Services 3.0
Keywords: 
kberrmsg kbexpertiseinter kbtshoot kbprb KB958448

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com