Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Bmdbupdate crashes during installation process



  • Environment: Win 2k8 Std Server x32 SP2
    Error code: -2146233082
    Process: bmdbupdate.exe

    Hi everyone,

    I try to install BuildMaster on my testing server but, during the installation process, bmdbupdate.exe keeps crashing and abort the wizard.

    I thought this fix (http://support.microsoft.com/kb/2640103) would sort this out but unfortunately it didn't...

    When crashing, the following entry is added to the event log :
    Faulting application bmdbupdate.exe,
    Application version 0.0.0.0,
    Application timestamp 0x52602ea4,
    Faulting module clr.dll,
    Module version 4.0.30319.586,
    Module timestamp 0x50483ee3,
    Exception code 0xc0000005,
    Exception offset 0x001350fa,
    Process ID 0x%9,
    Application starting time 0x%10.

    Here is a partial copy of the installation log:
    Information: Checking for database and creating if necessary...
    Debug: Checking database...
    Debug: Determining database collation...
    Debug: Collation is SQL_Latin1_General_CP1_CI_AS
    Information: Updating database schema...
    Debug: Launching process "<path to tempdir>\Temp\2\BuildMasterSetup\bmdbupdate.exe" UPDATE /conn="Data Source=localhost\BuildMaster; Initial Catalog=BuildMaster; Integrated Security=True;" /init=yes...
    Debug: Initializing database...
    Error: System.InvalidOperationException: <path to tempir>\Temp\2\BuildMasterSetup\bmdbupdate.exe returned exit code -2146233082
    à Inedo.Installer.Subtasks.RunProcessSubtask.Run()
    à Inedo.Installer.InstallationTask1.RunSubtask(InstallationSubtask subtask) à Inedo.BuildMaster.Setup.InstallBuildMasterTask.Install() à Inedo.Installer.InstallationTask1.Inedo.Installer.IInstallationTask.RunInternal()

    Will appreciate if anyone can help me deal with this :)

    Thanks.



  • Hi Nicolas,

    What version of BuildMaster are you trying to install? My guess would be that it's permissions related somehow...

    but one thing to try is to just run bmdbupdate.exe manually, ad see what the error message is. You can find this in the manual install package.



  • Hi Alex,

    Thanks for your reply.

    I'm trying to install v. 4.0.5, I run the installer with a domain administrator account therefor, I don't think the issue can be related to permissions.

    When I launch bmdbupdate manually, it displays help. I'm able to launch actions: List (4) and Info (5). When I run actions: View(1) , Ver(2) and Update(3), it crashes after setting the connection string with the same error as above.

    The connection string is set to connect to a local SQL Server 2008 database on which I created a special instance named BuildMaster.



  • When you run the bmdbupdate.exe, it should give a specific error/exception stack trace from SQL Server. Sometimes this isn't visible if you run from explorer... but if you run it from a command window, it should be dumped to the console output.

    What does the error look like?



  • It gives me the exact same error either by command line or from explorer. There's no error/exception stack trace.

    Here is a screenshot of the error thrown by the application: http://imageshack.com/a/img30/9923/v2ja.png

    Hope this help.



  • If you disable windows error reporting, or click "Terminate this application", it should writ ethe full stack trace to the console window...



  • Still no stack trace even when the Windows error reporting is disabled. When I click on "Terminate this application", it exits the process and returns me to the prompt.



  • We are trying to identify the issue still... and it's possible it's a locale-related .NET 4.0 bug.

    (1) What locale is your server?

    (2) Can you install 4.5.1 to see if it's fixed?



  • As you recommended, I installed .NET 4.5.1 and it fixed it.

    FYI, the server locale is French (FR_CH).

    Thank you for your help.

    Regards,


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation