2007 R2 CU4 - 2012 Beta upgrade failing
Hi All, I'm trying to upgrade my testlab scom 2007 R2 CU4 install to the new 2012 Beta but it keeps failing on the Initial configuration step. Looking at the log it says: [13:53:05]: Error: :RunUpgradePreconfiguration failed.: Threw Exception.Type: System.UnauthorizedAccessException, Exception Error Code: 0x80070005, Exception.Message: Access to the path 'MOMAspNet.msi' is denied. [13:53:06]: Error: :StackTrace: at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive) at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive) at Microsoft.SystemCenter.Essentials.SetupFramework.InstallItemsDelegates.UpgradeProcessor.CleanUpR2ServerFootPrint() at Microsoft.SystemCenter.Essentials.SetupFramework.InstallItemsDelegates.UpgradeProcessor.UninstallMOMR2ServerFeature(String momProductCode) at Microsoft.SystemCenter.Essentials.SetupFramework.InstallItemsDelegates.UpgradeProcessor.RunUpgradePreconfiguration() [13:53:06]: Error: :ProcessInstalls: Install Item Initial Configuration failed to install. We did not launch the post process delegate. Any ideas?My System Center Blog
July 21st, 2011 9:13am

Hi Steve What is the architecture of your test lab? Are all components on one server? Do you have a secondary management server? There is this error - Access to the path 'MOMAspNet.msi' is denied ... is it possible that it is a permissions problem \ UAC issue? Cheers GrahamNew SCOM 2012 Blog! - http://www.systemcentersolutions.com/blog/ View OpsMgr tips and tricks at http://systemcentersolutions.wordpress.com/
Free Windows Admin Tool Kit Click here and download it now
July 21st, 2011 10:46am

Hi Graham, UAC was my first thought. Even though I had elevated the installer, I turned UAC off fully, rebooted and tried again. Still no joy. I spotted the MOMAspNet.msi reference and double checked it. The account I'm logged on as, and running the install under has full access to the path. Cheers, SBMy System Center Blog
July 21st, 2011 10:58am

Recommend filing a bug on connect for this.Microsoft Corporation
Free Windows Admin Tool Kit Click here and download it now
July 21st, 2011 2:03pm

:( I'll log it tomorrow (but I may have more of a tinker first) Cheers, SBMy System Center Blog
July 21st, 2011 2:38pm

Logged as a bug on Connect. However, I've had a bit more of a play. System (TestLab): Server 2008 R2 SP1 SQL 2008 R2 OpsMgr 2007 R2 CU4 (RMS & DW running on same server) Logged on and running install as Domain Admin account Things tried: UAC enabled or Disabled makes no difference Reset security permissions on all files in C:\Program Files\System Center Operations Manager 2007 Gave users full control of OpsMgr 2007 install dir Manually removed MOMAspNet.msi -> error moved to OomADs.msi Workaround: Manually delete the entire AgentManagement directory from C:\Program Files\System Center Operations Manager 2007 before performing an upgrade and it works. Cheers, SBMy System Center Blog
Free Windows Admin Tool Kit Click here and download it now
July 25th, 2011 5:30am

Spoke too soon, now the Database Configuration step fails :( Looking at the log, it's moaning that none of the MP's could be imported.My System Center Blog
July 25th, 2011 5:50am

It's actually failing when running the cleanup_mom_db.sql [11:52:30]: Error: :Exception running sql string -------------------------------------------------------------------------------- -- (c) Copyright 2004-2006 Microsoft Corporation, All Rights Reserved -- -- Proprietary and confidential to Microsoft Corporation -- -- -- -- File: cleanup_mom_db.sql -- -- -- -- Contents: script to be run during uninstall to clean server-wide objects -- -------------------------------------------------------------------------------- --------------------- -- Delete jobs -- --------------------- -- Variable to hold the name of the job declare @JobName nvarchar(255) -- The job name starts with the name of the database select @JobName = db_name() + N' - Partitioning and Grooming' if exists (select * from msdb.dbo.sysjobs where [name] = @JobName) exec msdb.dbo.sp_delete_job @job_name = @JobName : Threw Exception.Type: System.Data.SqlClient.SqlException, Exception Error Code: 0x80131904, Exception.Message: A transport-level error has occurred when sending the request to the server. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.) [11:52:30]: Error: :StackTrace: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() at System.Data.SqlClient.TdsParserStateObject.WriteSni() at System.Data.SqlClient.TdsParserStateObject.ExecuteFlush() at System.Data.SqlClient.TdsParser.TdsExecuteSQLBatch(String text, Int32 timeout, SqlNotificationRequest notificationRequest, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Microsoft.EnterpriseManagement.OperationsManager.Setup.DBConfigurationHelper.DBConfiguration.RunSqlStrings(String[] sqlCommands) [11:52:30]: Always: :Rollback failed with exception.: Threw Exception.Type: System.Data.SqlClient.SqlException, Exception Error Code: 0x80131904, Exception.Message: A transport-level error has occurred when sending the request to the server. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.) [11:52:30]: Always: :StackTrace: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() at System.Data.SqlClient.TdsParserStateObject.WriteSni() at System.Data.SqlClient.TdsParserStateObject.ExecuteFlush() at System.Data.SqlClient.TdsParser.TdsExecuteSQLBatch(String text, Int32 timeout, SqlNotificationRequest notificationRequest, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Microsoft.EnterpriseManagement.OperationsManager.Setup.DBConfigurationHelper.DBConfiguration.RunSqlStrings(String[] sqlCommands) at Microsoft.EnterpriseManagement.OperationsManager.Setup.DBConfigurationHelper.DBConfiguration.RunSqlStringsFromSqlFile(String sqlFileName) at Microsoft.EnterpriseManagement.OperationsManager.Setup.DBConfigurationHelper.DBConfiguration.RunSqlScripts(String configStep) at Microsoft.SystemCenter.Essentials.SetupFramework.InstallItemsDelegates.OMDatabaseProcessor.OMDatabasePostInstallProcessor(ProgressData progressData, Func`2 progressDelegate) [11:52:30]: Always: :ProcessInstalls: Running the PostProcessDelegate threw the following exception {0}: Threw Exception.Type: System.Reflection.TargetInvocationException, Exception Error Code: 0x80131604, Exception.Message: Exception has been thrown by the target of an invocation. [11:52:30]: Always: :StackTrace: at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Delegate.DynamicInvokeImpl(Object[] args) at Microsoft.SystemCenter.Essentials.SetupFramework.InstallActionProcessor.DoPostInstallTask() [11:52:30]: Always: :Inner Exception.Type: System.Data.SqlClient.SqlException, Exception Error Code: 0x80131604, Exception.Message: A transport-level error has occurred when sending the request to the server. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.) [11:52:30]: Always: :InnerException.StackTrace: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() at System.Data.SqlClient.TdsParserStateObject.WriteSni() at System.Data.SqlClient.TdsParserStateObject.ExecuteFlush() at System.Data.SqlClient.TdsParser.TdsExecuteSQLBatch(String text, Int32 timeout, SqlNotificationRequest notificationRequest, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Microsoft.EnterpriseManagement.OperationsManager.Setup.DBConfigurationHelper.DBConfiguration.RunSqlStrings(String[] sqlCommands) at Microsoft.EnterpriseManagement.OperationsManager.Setup.DBConfigurationHelper.DBConfiguration.RunSqlStringsFromSqlFile(String sqlFileName) at Microsoft.EnterpriseManagement.OperationsManager.Setup.DBConfigurationHelper.DBConfiguration.RunSqlScripts(String configStep) at Microsoft.SystemCenter.Essentials.SetupFramework.InstallItemsDelegates.OMDatabaseProcessor.OMDatabasePostInstallProcessor(ProgressData progressData, Func`2 progressDelegate) [11:52:30]: Error: :ProcessInstalls: Running the PostProcessDelegate returned false. [11:52:30]: Always: :SetErrorType: Setting VitalFailure. currentInstallItem: Database Configuration [11:52:30]: Error: :ProcessInstalls: Running the PostProcessDelegate for OMDATABASE failed.... This is a fatal item. Setting rollback. [11:52:30]: Info: :SetProgressScreen: FinishMinorStep.My System Center Blog
Free Windows Admin Tool Kit Click here and download it now
July 25th, 2011 7:03am

Getting further.... Three errors so far: 1) Fails on Initial Configuration - Manually deleting the AgentManagement folder gets it past this point 2) Fails on running cleanup_mom_db.sql - Appears to struggle with limited memory and Hyper-V dynamic memory. Changed from 512Mb-3072 with 10% buffer to 30% buffer and it succeeds. Set at fixed 4096Mb for remainder of testing. 3) Fails on importing MP's during "Database Configuration" step - OperationsManager DB was set to small defaults of DB = 500Mb, Logs = 100Mb no Autogrowth. This caused Transactions logs to fill up while importing MP's. Tried defaults with 10% autogrow, still failed. Increased files to 1Gb Db, 500Mb Logs and runs successfully now. Please bear in mind that this is in a testlab environment, so things like DB size that low probably wouldn't be seen in a production environment. Fingers crossed, the rest of the install will now complete. Cheers, SBMy System Center Blog
July 25th, 2011 8:11am

OpsMgr 2012 now installed correctly.My System Center Blog
Free Windows Admin Tool Kit Click here and download it now
July 25th, 2011 8:12am

Thank you for keep updating. If there is any issues, please let us know.Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
July 26th, 2011 2:41am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics