Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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!

    Installer crashes when updating 2.2.5 to 2.2.9

    Scheduled Pinned Locked Moved Support
    3 Posts 1 Posters 1 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      Hi. Installer crashes when i try to update using the following command line:

      C:\Users\Dalmiro> .\ProGetSetup2.2.9.exe /upgrade

      I'm trying to update app to the latest version before rolling this to production.

      The two following entries get logged after each crash:

      ---------1------------

      Application: ProGet.Setup.exe
      Framework Version: v4.0.30319
      Description: The process was terminated due to an unhandled exception.
      Exception Info: System.Data.SqlClient.SqlException
      Stack:
      at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(System.Data.Common.DbConnection, System.Data.ProviderBase.DbConnectionFactory, System.Threading.Tasks.TaskCompletionSource1<System.Data.ProviderBase.DbConnectionInternal>, System.Data.Common.DbConnectionOptions) at System.Data.SqlClient.SqlConnection.TryOpen(System.Threading.Tasks.TaskCompletionSource1<System.Data.ProviderBase.DbConnectionInternal>)
      at System.Data.SqlClient.SqlConnection.Open()
      at Inedo.ProGet.Setup.ProGetInstallerOptions.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.ProGet.Setup.App.Main(System.String[])


      ---------2------------
      Faulting application name: ProGet.Setup.exe, version: 2.2.9.7, time stamp: 0x52d46053
      Faulting module name: KERNELBASE.dll, version: 6.2.9200.16384, time stamp: 0x5010ab2d
      Exception code: 0xe0434352
      Fault offset: 0x00000000000189cc
      Faulting process id: 0x10f4
      Faulting application start time: 0x01cf1202ee0899b6
      Faulting application path: C:\Users\dalmiro.granas\AppData\Local\Temp\2\ProGetSetup\ProGet.Setup.exe
      Faulting module path: C:\windows\system32\KERNELBASE.dll
      Report Id: 34c3c747-7df6-11e3-940e-005056a83bf3
      Faulting package full name:
      Faulting package-relative application ID:


      Thx in advance

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        The installer needs dbo privileges to update the database schema during installation, and if no connection string is supplied on the command line, it will try to use whatever the ProGet service uses to connect to the database.

        If you're using integrated authentication, make sure you run the installer from a user account that has dbo access to the ProGet database. If you're using SQL authentication, you can specify an alternate installation connection string using the /ConnectionString="conn string" argument.

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          Thx Todd. It was exactly that.

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post
          Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation