Microsoft Knowledge Base Email Alertz

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

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 958448 - Last Review: September 22, 2011 - Revision: 2.0

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

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.

APPLIES TO
  • Microsoft Office SharePoint Server 2007
  • Microsoft Windows SharePoint Services 3.0
Keywords: 
kberrmsg kbexpertiseinter kbtshoot kbprb KB958448
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Anonymous User Report As Irrelevant  
Written: 4/9/2010 1:58 PM
Thank you very much for this information. Deleting the site using the code fixed the problem