First, let me begin with the error that started the idea for this blog post. After running the Configuration Wizard of SharePoint 2010 on a Windows 2008 SP2 server the following error appeared when the Central Admin participate dialog should have appeared:
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.Requested URL: /_admin/adminconfigintro.aspx
Version Information: Microsoft .NET Framework Version:2.0.50727.4214; ASP.NET Version:2.0.50727.4209
What have I done to get to this error and resolve it:
With a PowerShell script I installed all prerequisites. Also with PS I installed SharePoint and created the configuration and administration databases and SharePoint Central Administration.
The CA site opened with the error shown above. Several events appeared in the eventlog:
Log Name: Application
Source: COM+ SOAP Services
Event ID: 0
Task Category: None
Level: Warning
Keywords: Classic
User: N/A
Computer:
Description:
Installation in the global assembly cache failed: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\policy\Policy.11.0.Microsoft.SharePoint.Security.dll
Log Name: Application
Source: SharePoint 2010 Products Configuration Wizard
Event ID: 107
Task Category: None
Level: Warning
Keywords: Classic
User: N/A
Computer:
Description:
Unable to create a Service Connection Point in the current Active Directory domain. Verify that the SharePoint container exists in the current domain and that you have rights to write to it.
Microsoft.SharePoint.SPException: The object LDAP://CN=Microsoft SharePoint Products,CN=System,DC=xxxx,DC=yyyy,DC=nl doesn’t exist in the directory.
at Microsoft.SharePoint.Administration.SPServiceConnectionPoint.Ensure(String serviceBindingInformation)
at Microsoft.SharePoint.PostSetupConfiguration.CentralAdministrationSiteTask.ProvisionAdminVs()
Solutions:
On this blog http://blogs.technet.com/b/wbaer/archive/2009/12/11/common-microsoft-sharepoint-server-2010-installation-issues-and-resolutions.aspx I found a possible solution for the policy error (issue number 5). The solution would be to delete all files in this directory and run the Wizard again. So I deleted all files.
The possible solution to resolve the Service Connection Point event I found on technet here http://technet.microsoft.com/en-us/library/ff730261.aspx. Because Active Directory is another department I am not able to solve this myself so a call is send to the AD team. But it is only a warning event so it should not be a critical requirement for the installation of SP2010.
The next step was to run the Configuration Wizard again to see if the error was solved. It wasn’t although the policy event had not returned. But now other more serious errors/events showed up:
In the eventlog
Log Name: Application
Source: Microsoft-SharePoint Products-SharePoint Foundation
Event ID: 8306
Task Category: Claims Authentication
Level: Error
User:
Computer:
Description:
The description for Event ID 8306 from source Microsoft-SharePoint Products-SharePoint Foundation cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
Could not connect to http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc. TCP error code 10061: No connection could be made because the target machine actively refused it 127.0.0.1:32843.
The publisher has been disabled and its resource is not avaiable. This usually occurs when the publisher is in the process of being uninstalled or upgraded
In the ULS
Critical An exception occurred when trying to issue security token: Could not connect to http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc. TCP error code 10061: No connection could be made because the target machine actively refused it 127.0.0.1:32843. .f8f078d7-fcaf-443e-8dc2-32de426a9c78
This blog http://velavans.blogspot.com/2010/06/sharepoint-2010-exception-occurred-when.html tells to start the “Claims to Windows Token Service” but running the Wizard again did not resolve any of the issues.
At this point I took the original error and read it again. The path /_admin/ with file adminconfigintro.aspx is unavailable. So I checked the website in IIS to if the path was there.
It was (see below)
Exploring this VirtualDirectory opened the path C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\ADMIN and here the adminconfigintro.aspx file is present (see below)
So, that is strange. Now comes the most absurd part of this story. I just started to explore my inetpub directory, hoping to find some clues to this strange problem.
Finally I ended up in this directory D:\inetpub\temp\appPools (see below) where I found a file called “SharePoint Central Administration v4.config”. This sounded promising. I opened the file in notepad and began scrolling down, just to see what was in the file..
I came to a section where all the VirtualDirectory Paths (see below) are listed for the Admin website. I scanned through this section and saw that the physical path for the root site / was D:\\ with a double backslash. This was not right I thought and changed it to a single backslash and saved the file.
I browsed again to http://
And Praise the Lord…the Central Admin screen appeared
As soon as I got in CA, another file appeared in the map D:\inetpub\temp\appPools. This was the file SecurityTokenServiceApplicationPool.config. And guess what also in this file the root path was D:\\ and I also changed it here.
Now I still have to figure where this setting is originally configured because it seems that it is put in every config file showing up in this directory. If you can help me, please let me know!
No comments:
Post a Comment