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!

    Updating to 2.2.10, "login failed for user..."

    Scheduled Pinned Locked Moved Support
    updateproget
    3 Posts 1 Posters 17 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

      I'm attempting to upgrade my ProGet installation to 2.2.10, and on the "Review settings" page (I think it's the 3rd page), the installer tells me that the SQL Server login failed for the user that is in use by the application. I'm fairly confident that the installer is reading this information from either the Web.config or app.config for the service, because I reset the password, changed those two, and restarted the service, and now the installer has a new password in the connection string which is displayed. It still doesn't work.

      I have an underscore (_) in the password, as well as some numbers, are these causing the problem? I'm skeptical, because I'd assume that the connection string is being handed to the underlying code as-is, without parsing or modification.

      What's the deal, then? Why can the service and website successfully use this connection string and the installer cannot?

      Product: ProGet
      Version: 2.2.10

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

        hi Mark, my guess is that the user running the installer (i.e. you) does not have the appropriate access to the database. The installer is indeed looking in the service's appSettings configuration file to figure out the connection string, so it should work.

        it's possible there's a bug, perhaps as a simple test, try changing it to a very basic connection string (with simple password), and see if it helps.

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

          I'm not using Windows authentication, so user rights aren't the issue. The very first thing I did was to simplify the password, and that didn't work either. I know that the connection string works, because both the web application and the service function fine.

          I ended up doing a manual install of 2.2.10 to get me up and running (I needed the fix for NuGet 2.8).

          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