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: October 31, 2008 - Revision: 1.0
Error message when you try to create a new Windows SharePoint Services 3.0 Web application: "Absolute path information is required"
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.
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.
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();
}
}
}
}
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
| 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
Be the first to leave feedback, to help others about this knowledge base
article.
(Optional) Name
(Optional)
Public URL Or Email
Comments
No
HTML -- Text Only Please