SharePoint - MOSS2007 config step 6 access denied

Asked By Mr Major Thorburn
27-Jan-10 10:32 AM
Anyone help with the following?

01/27/2010 15:19:05  9  ERR                          Task adminvs has failed
with an unknown exception
01/27/2010 15:19:05  9  ERR                          Exception:
System.UnauthorizedAccessException: Access is denied. (Exception from
HRESULT: 0x80070005 (E_ACCESSDENIED))
at
Microsoft.SharePoint.SPGlobal.HandleUnauthorizedAccessException(UnauthorizedAccessException ex)
at Microsoft.SharePoint.Library.SPRequest.GetListsWithCallback(String
bstrUrl, Guid foreignWebId, String bstrListInternalName, Int32 dwBaseType,
Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32
dwListFilterFlags, Boolean bPrefetchMetaData, Boolean bSecurityTrimmed,
Boolean bGetSecurityData, ISP2DSafeArrayWriter p2DWriter, Int32&
plRecycleBinCount)
at Microsoft.SharePoint.SPListCollection.EnsureListsData(Guid webId,
String strListName)
at Microsoft.SharePoint.SPListCollection.EnsureListsData(String
strListName)
at Microsoft.SharePoint.SPListCollection.Undirty()
at
Microsoft.SharePoint.SPBaseCollection.System.Collections.IEnumerable.GetEnumerator()
at
Microsoft.SharePoint.Administration.SPAdministrationWebApplication.get_AdministrativeTasks()
at
Microsoft.SharePoint.Administration.SPAdministrationWebApplication.EnsureSystemTask(String
title, String description, Int32 priority, String actionTitle, String
actionUrl, String service, String systemId)
at Microsoft.SharePoint.Administration.SPWebApplication.Provision()
at
Microsoft.SharePoint.Administration.SPAdministrationWebApplication.Provision()
at Microsoft.SharePoint.Administration.SPWebServiceInstance.Provision()
at
Microsoft.SharePoint.PostSetupConfiguration.CentralAdministrationSiteTask.ProvisionAdminVs()
at
Microsoft.SharePoint.PostSetupConfiguration.CentralAdministrationSiteTask.Run()
at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
Microsoft.SharePoint.SPListCollection.Undirty
(1)
FarmIsJoinedFailureWhileUsingCommandLine
(1)
Farm.TryIsJoinedToFarm
(1)
ISP2DSafeArrayWriter
(1)
SharePoint
(1)
Common.BuildExceptionMessage
(1)
IIS
(1)
BstrListInternalName
(1)
  haris replied to Mr Major Thorburn
27-Jan-10 02:39 PM
------=_NextPart_0001_62829BE2
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Make all these are checked,

1. Login to the server with the app_pool account.
2. That account should be a member of local admins, IIS_WPG, WSS_WPG,
WSS_ADMIN_WPG, WSS_RESTRICTES_WPG groups.
3. From command prompt run psconfig.exe -cmd secureresources
4.Run the wizard to install the Central admin.

Harish K
------=_NextPart_0001_62829BE2
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20 Make all these are checked,
\par
\par 1. Login to the server with the app_pool account.
\par 2. That account should be a member of local admins, IIS_WPG, WSS_WPG, WSS_ADMIN_WPG, WSS_RESTRICTES_WPG groups.
\par 3. From command prompt run psconfig.exe -cmd secureresources
\par 4.Run the wizard to install the Central admin.
\par
\par Harish K
\par }
------=_NextPart_0001_62829BE2--
  Mr Major Thorburn replied to haris
28-Jan-10 09:43 AM
Thanks for the hint.
I checked all the user ids and ensured they wre where they are supposed to be.
I foun d that the spopolid was not in all the groups you mentioned so sorted
that.
I ran the command and the log files contains the extract below near 'failed'.
i should point out that this sharepoint service a disaster recovery attempt.
WE have taken images of teh WEB abd Admin servers and virtualised those and
we have takne SQL backups of the databases and established them on a virtual
SQL server. All the names are as they were when this service was live.
the ACtive Directory forest is a different one that was a clone taken some
months ago. All the accounts have been recreated and password changed so the
group

01/28/2010 11:53:04  4  INF              Leaving function
Farm.TryIsJoinedToFarm
01/28/2010 11:53:04  4  ERR              A failure has been encountered when
trying to load the Farm
01/28/2010 11:53:04  4  INF              Entering function
StringResourceManager.GetResourceString
01/28/2010 11:53:04  4  INF                Resource id to be retrieved is
FarmIsJoinedFailureWhileUsingCommandLine for language English (United States)
01/28/2010 11:53:04  4  INF                Resource retrieved id
FarmIsJoinedFailureWhileUsingCommandLine is Failed to detect if this server
is joined to a server farm.  Possible reasons for this failure could be that
you no longer have the appropriate permissions to the server farm, the
database server hosting the server farm is unresponsive, the configuration
database is inaccessible or this server has been removed from the server
farm.  To diagnose this problem further, review the extended error
information located at {0}.  If this problem persists, run this wizard again
to disconnect from the server farm.  After disconnecting, run the wizard
again to create or connect to an existing server farm.
01/28/2010 11:53:04  4  INF              Leaving function
StringResourceManager.GetResourceString
01/28/2010 11:53:04  4  INF              Entering function
StringResourceManager.GetResourceString
01/28/2010 11:53:04  4  INF                Resource id to be retrieved is
InvalidCommandOrCommandFailed for language English (United States)
01/28/2010 11:53:04  4  INF                Resource retrieved id
InvalidCommandOrCommandFailed is The {0} command is invalid or a failure has
been encountered.
01/28/2010 11:53:04  4  INF              Leaving function
StringResourceManager.GetResourceString
01/28/2010 11:53:04  4  INF              Entering function
Common.BuildExceptionMessage
01/28/2010 11:53:04  4  INF                Entering function
StringResourceManager.GetResourceString
01/28/2010 11:53:04  4  INF                  Resource id to be retrieved is
ExceptionInfo for language English (United States)
01/28/2010 11:53:04  4  INF                  Resource retrieved id
ExceptionInfo is An exception of type {0} was thrown.  Additional exception
information: {1}
01/28/2010 11:53:04  4  INF                Leaving function
StringResourceManager.GetResourceString
01/28/2010 11:53:04  4  INF              Leaving function
Common.BuildExceptionMessage
01/28/2010 11:53:04  4  ERR              Task initialize has failed with a
PostSetupConfigurationTaskException An exception of type
Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException
was thrown.  Additional exception information: The initialize command is
invalid or a failure has been encountered.
Failed to detect if this server is joined to a server farm.  Possible
reasons for this failure could be that you no longer have the appropriate
permissions to the server farm, the database server hosting the server farm
is unresponsive, the configuration database is inaccessible or this server
has been removed from the server farm.  To diagnose this problem further,
review the extended error information located at C:\Program Files\Common
Files\Microsoft Shared\Web Server
Extensions\12\LOGS\PSCDiagnostics_1_28_2010_11_52_48_176_2006807691.log.  If
this problem persists, run this wizard again to disconnect from the server
farm.  After disconnecting, run the wizard again to create or connect to an
existing server farm.
01/28/2010 11:53:04  4  INF              Entering function
Common.BuildExceptionInformation
01/28/2010 11:53:04  4  INF                Entering function
Common.BuildExceptionMessage
01/28/2010 11:53:04  4  INF                  Entering function
StringResourceManager.GetResourceString
01/28/2010 11:53:04  4  INF                    Resource id to be retrieved
is ExceptionInfo for language English (United States)
01/28/2010 11:53:04  4  INF                    Resource retrieved id
ExceptionInfo is An exception of type {0} was thrown.  Additional exception
information: {1}
01/28/2010 11:53:04  4  INF                  Leaving function
StringResourceManager.GetResourceString
01/28/2010 11:53:04  4  INF                Leaving function
Common.BuildExceptionMessage
01/28/2010 11:53:04  4  INF              Leaving function
Common.BuildExceptionInformation
01/28/2010 11:53:04  4  ERR              An exception of type
Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException
was thrown.  Additional exception information: The initialize command is
invalid or a failure has been encountered.
Failed to detect if this server is joined to a server farm.  Possible
reasons for this failure could be that you no longer have the appropriate
permissions to the server farm, the database server hosting the server farm
is unresponsive, the configuration database is inaccessible or this server
has been removed from the server farm.  To diagnose this problem further,
review the extended error information located at C:\Program Files\Common
Files\Microsoft Shared\Web Server
Extensions\12\LOGS\PSCDiagnostics_1_28_2010_11_52_48_176_2006807691.log.  If
  Mr Major Thorburn replied to haris
28-Jan-10 09:46 AM
Thanks for the hint.  Have done some clean ups and I believe got a bit further.
Ths log near the 'failed' point is:

01/28/2010 11:53:04  4  INF              Leaving function
Farm.TryIsJoinedToFarm
01/28/2010 11:53:04  4  ERR              A failure has been encountered when
trying to load the Farm
01/28/2010 11:53:04  4  INF              Entering function
StringResourceManager.GetResourceString
01/28/2010 11:53:04  4  INF                Resource id to be retrieved is
FarmIsJoinedFailureWhileUsingCommandLine for language English (United States)
01/28/2010 11:53:04  4  INF                Resource retrieved id
FarmIsJoinedFailureWhileUsingCommandLine is Failed to detect if this server
is joined to a server farm.  Possible reasons for this failure could be that
you no longer have the appropriate permissions to the server farm, the
database server hosting the server farm is unresponsive, the configuration
database is inaccessible or this server has been removed from the server
farm.  To diagnose this problem further, review the extended error
information located at {0}.  If this problem persists, run this wizard again
to disconnect from the server farm.  After disconnecting, run the wizard
again to create or connect to an existing server farm.
01/28/2010 11:53:04  4  INF              Leaving function
StringResourceManager.GetResourceString
01/28/2010 11:53:04  4  INF              Entering function
StringResourceManager.GetResourceString
01/28/2010 11:53:04  4  INF                Resource id to be retrieved is
InvalidCommandOrCommandFailed for language English (United States)
01/28/2010 11:53:04  4  INF                Resource retrieved id
InvalidCommandOrCommandFailed is The {0} command is invalid or a failure has
been encountered.
01/28/2010 11:53:04  4  INF              Leaving function
StringResourceManager.GetResourceString
01/28/2010 11:53:04  4  INF              Entering function
Common.BuildExceptionMessage
01/28/2010 11:53:04  4  INF                Entering function
StringResourceManager.GetResourceString
01/28/2010 11:53:04  4  INF                  Resource id to be retrieved is
ExceptionInfo for language English (United States)
01/28/2010 11:53:04  4  INF                  Resource retrieved id
ExceptionInfo is An exception of type {0} was thrown.  Additional exception
information: {1}
01/28/2010 11:53:04  4  INF                Leaving function
StringResourceManager.GetResourceString
01/28/2010 11:53:04  4  INF              Leaving function
Common.BuildExceptionMessage
01/28/2010 11:53:04  4  ERR              Task initialize has failed with a
PostSetupConfigurationTaskException An exception of type
Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException
was thrown.  Additional exception information: The initialize command is
invalid or a failure has been encountered.
Failed to detect if this server is joined to a server farm.  Possible
reasons for this failure could be that you no longer have the appropriate
permissions to the server farm, the database server hosting the server farm
is unresponsive, the configuration database is inaccessible or this server
has been removed from the server farm.  To diagnose this problem further,
review the extended error information located at C:\Program Files\Common
Files\Microsoft Shared\Web Server
Extensions\12\LOGS\PSCDiagnostics_1_28_2010_11_52_48_176_2006807691.log.  If
this problem persists, run this wizard again to disconnect from the server
farm.  After disconnecting, run the wizard again to create or connect to an
existing server farm.
01/28/2010 11:53:04  4  INF              Entering function
Common.BuildExceptionInformation
01/28/2010 11:53:04  4  INF                Entering function
Common.BuildExceptionMessage
01/28/2010 11:53:04  4  INF                  Entering function
StringResourceManager.GetResourceString
01/28/2010 11:53:04  4  INF                    Resource id to be retrieved
is ExceptionInfo for language English (United States)
01/28/2010 11:53:04  4  INF                    Resource retrieved id
ExceptionInfo is An exception of type {0} was thrown.  Additional exception
information: {1}
01/28/2010 11:53:04  4  INF                  Leaving function
StringResourceManager.GetResourceString
01/28/2010 11:53:04  4  INF                Leaving function
Common.BuildExceptionMessage
01/28/2010 11:53:04  4  INF              Leaving function
Common.BuildExceptionInformation
01/28/2010 11:53:04  4  ERR              An exception of type
Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException
was thrown.  Additional exception information: The initialize command is
invalid or a failure has been encountered.
Failed to detect if this server is joined to a server farm.  Possible
reasons for this failure could be that you no longer have the appropriate
permissions to the server farm, the database server hosting the server farm
is unresponsive, the configuration database is inaccessible or this server
has been removed from the server farm.  To diagnose this problem further,
review the extended error information located at C:\Program Files\Common
Files\Microsoft Shared\Web Server
Extensions\12\LOGS\PSCDiagnostics_1_28_2010_11_52_48_176_2006807691.log.  If
this problem persists, run this wizard again to disconnect from the server
farm.  After disconnecting, run the wizard again to create or connect to an
existing server farm.
Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException:
Exception of type
'Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException' was thrown.
at
Microsoft.SharePoint.PostSetupConfiguration.Farm.IsJoinedToFarm(TaskBase
task, Boolean reload)
at Microsoft.SharePoint.PostSetupConfiguration.InitializeTask.Run()
  haris replied to Mr Major Thorburn
01-Feb-10 01:45 PM
------=_NextPart_0001_7C107F65
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Check the DSN Registry key,

HKLM\Software\Shared tools \Web server extensions\12\WSS\secure.

If you have the secure registry key, the server is connected the farm. If
it is not then it is not connected to the farm.

If the key is available check the data source if it has the correct config
DB server serer name.
------=_NextPart_0001_7C107F65
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20 Check the DSN Registry key,
\par
\par HKLM\\Software\\Shared tools \\Web server extensions\\12\\WSS\\secure.
\par
\par If you have the secure registry key, the server is connected the farm. If it is not then it is not connected to the farm.
\par
\par If the key is available check the data source if it has the correct config DB server serer name.
\par
\par }
------=_NextPart_0001_7C107F65--
Create New Account