Troubleshooting

I was trying to install WSUS 30 SP2, in preparation of SUP install in my SCCM 2012 SP1 for which WSUS is a prerequisite as some of you admins especially SCCM folks aware of. Install kept failing, whatever method I chose to install, either thru Server Manager Add roles /features or downloaded setup executable WSUS30-KB972455-SP2-x64.exe. Install gets kicked of and accepts all of your selections and throws above error which we don’t like much as it doesn’t reveal needed info to solve the problem.

Actions Required to find related information

Now, the hunt began for more info, precisely the location of log files to find more details of failure. Install logs location may vary based on how you install WSUS

                C:\windows\logs\servermanager.log in case if you use “Add Roles” feature using server manger
                %TEMP% which usually resolves to C:\Users\userid\AppData\Local\Temp in case if you used downloaded executable to kick of install

In my case I used downloaded executable and found 3 related logs, each of which are passing information to other.

WSUSSetup.log: This log is kind oversees and passes same info as what GUI throws and very basic
2013-01-18 15:43:39  Error     MWUSSetup          InstallWsus: MWUS Installation Failed (Error 0x80070643: Fatal error during installation.)
2013-01-18 15:43:39  Error     MWUSSetup          CInstallDriver::PerformSetup: WSUS installation failed (Error 0x80070643: Fatal error during installation.)
2013-01-18 15:43:39  Error     MWUSSetup          CSetupDriver::LaunchSetup: Setup failed (Error 0x80070643: Fatal error during installation.)
2013-01-18 15:43:53  Error     MWUSSetup          DoInstall: Wsus setup failed (Error 0x80070643: Fatal error during installation.)

WSUSSetupmsi_130118_1541.log: This log possess little more details but couldn’t give all, rather pointed to below log for actual details on failure
Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.  Action ExConfigureDb….. C:\Users\UserID\AppData\Local\Temp\2\WSUSCa_130118_1541.log"

WSUSCa_130118_1541.log: This is the log which has given suffice and needed info to resolve the issue
Cannot create file 'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\SUSDB.mdf' because it already exists. Change the file path or the file name, and retry the operation.Msg 1802, Level 16, State 4, Server ServerName,  Line 2
CREATE DATABASE failed. Some file names listed could not be created. Check related errors.

Actions Required to Resolve the "How-To"

WSUSCa_****.log has indicated clearly that database file that setup attempts to creat fails, as a file exists with same name in SQL DB Files. I guess file might have created during my earlier attempt of WSUS either standalone or part of SUP install or sorts and MDF/LFD got created during. Post deleting the same install went smoothly

This error code doesnt always necessarily results from same root cause, hence exercise more care before taking any actions especially deletions of files or so

--- Thanks, Vasu Miriyala