Ask A Question

View Question

I tried to upgrade to 5.6.11, but the setup file crashes the moment it finish extractions, below is the windows event log:

Application: BuildMaster.Setup.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Data.SqlClient.SqlException
at System.Data.SqlClient.SqlConnection.OnError(System.Data.SqlClient.SqlException, Boolean, System.Action1<System.Action>) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(System.Data.SqlClient.TdsParserStateObject, Boolean, Boolean) at System.Data.SqlClient.TdsParser.TryRun(System.Data.SqlClient.RunBehavior, System.Data.SqlClient.SqlCommand, System.Data.SqlClient.SqlDataReader, System.Data.SqlClient.BulkCopySimpleResultSet, System.Data.SqlClient.TdsParserStateObject, Boolean ByRef) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(System.Data.SqlClient.SqlDataReader, System.Data.SqlClient.RunBehavior, System.String) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(System.Data.CommandBehavior, System.Data.SqlClient.RunBehavior, Boolean, Boolean, Int32, System.Threading.Tasks.Task ByRef, Boolean, System.Data.SqlClient.SqlDataReader, Boolean) at System.Data.SqlClient.SqlCommand.RunExecuteReader(System.Data.CommandBehavior, System.Data.SqlClient.RunBehavior, Boolean, System.String, System.Threading.Tasks.TaskCompletionSource1<System.Object>, Int32, System.Threading.Tasks.Task ByRef, Boolean)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(System.Data.CommandBehavior, System.Data.SqlClient.RunBehavior, Boolean, System.String)
at System.Data.SqlClient.SqlCommand.ExecuteScalar()
at Inedo.BuildMaster.Setup.BuildMasterInstallerOptions.ReadConfigValue(System.Data.SqlClient.SqlConnection, System.String, System.String)
at Inedo.BuildMaster.Setup.BuildMasterInstallerOptions.ReadDbInfo(System.Version)
at Inedo.Installer.InstallerApplication.Run[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]
at Inedo.BuildMaster.Setup.App.Main(System.String[])

Faulting application name: BuildMaster.Setup.exe, version: 5.6.11.2, time stamp: 0x58dd9604
Faulting module name: KERNELBASE.dll, version: 6.1.7601.23677, time stamp: 0x589c9a27
Exception code: 0xe0434352
Fault offset: 0x000000000001a06d
Faulting process id: 0x13b8
Faulting application start time: 0x01d2af94ebc3c27e
Faulting application path: C:\Users\ly\AppData\Local\Temp\BuildMasterSetup\BuildMaster.Setup.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: 2aa36346-1b88-11e7-99bd-dc18d7098cf7

Product: BuildMaster
Version: 5.6.11

This means that the user running the installer does not have the ability to access the database specified in the configuration files. You will need to be able to access and be a db_owner of the database in order to perform an upgrade.

I tried to switch to sql login to no avail, still the same error. I suspect something else is going on as well. As this behavior only starts to happen at 5.6.10 and 5.6.11. 5.6.9 is fine.

It turns out there was a known issue with that particular version of the installer. Do you know when you downloaded it? There was an issue with regard to reading existing configuration due to changes made in v5.6.9, and only should affect v5.6.10 of the installer now as the issues in the .11 version should have been resolved a while ago...

Can you re-download the same version (v5.6.11) and try again?

This must be it, redownload solved it. I downloaded 5.6.11 sometime on Apr 4.

Answer Question