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!

    Getting HTTP 500.30 ASP.NET Core error when launching local IIS ProGet website connecting to a remote DB

    Scheduled Pinned Locked Moved Support
    5 Posts 3 Posters 39 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.
    • S Offline
      scusson_9923
      last edited by atripp

      Hi,

      I am trying to connect a local 2022.11 IIS ProGet instance to a remote MSSQL express ProGet DB. The remote ProGet DB, local website, App Pool, and service are all running as the same user. That user is also the owner of the ProGet DB. I can successfully connect to the remote ProGet DB with SS Management Studio. I use the connection string 'Data Source=<DB_Server>\Inedo;Initial Catalog=ProGet;Integrated Security=True' when trying to load the local ProGet website and I get the error 'HTTP Error 500.30 - ASP.NET Core app failed to start' with no entries in the Event Viewer.

      Thoughts?

      Thanks,
      Scott

      atrippA 1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer @scusson_9923
        last edited by

        Hi @scusson_9923,

        Did this instance of ProGet work before you changed the connection string? I.e., if you point to a local database, then it works okay?

        Or, is this the first time you're trying to use ProGet on this machine?

        thanks,
        Alana

        1 Reply Last reply Reply Quote 0
        • S Offline
          scusson_9923
          last edited by apxltd

          Hi Alana,

          Yes. Local connection was successful. I am in the process of setting up 2 web instances. I was able to resolve this issue after I noticed that a couple of SQL Server services on the DB server were installed as disabled by default (browser\agent). However, I am having issues when setting up the second instance. When I try to load the ProGet website, I get a "HTTP Error 503. The service is unavailable." message in the browser and in the Event Viewer I see: "The Module DLL C:\Windows\system32\inetsrv\aspnetcore.dll failed to load. The data is the error." This machine may be in a bad state as this seems to be a red herring. I'm tempted to have this machine rebuilt unless you have additional pointers :)

          Thanks!
          Scott

          1 Reply Last reply Reply Quote 0
          • stevedennisS Offline
            stevedennis inedo-engineer
            last edited by

            Hi Scott,

            Glad you could resolve it; definitely a strange error, I would have expected a better one than just 500.30.

            How did you install ProGet? Using the Inedo Hub?

            "The Module DLL C:\Windows\system32\inetsrv\aspnetcore.dll failed to load. The data is the error" -- this sounds like a sort of internal error, caused by the .NET6 hosting bundle not being installed, or not installed properly.

            https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/hosting-bundle

            The Inedo Hub will install this when you install/upgrade to v2022.

            Thanks,
            Steve

            1 Reply Last reply Reply Quote 0
            • S Offline
              scusson_9923
              last edited by

              Hi,

              Just to update this issue. I ended up having to remove, clean up, and reinstall IIS\ProGet. After that, the default ProGet instance loaded successfully. Thanks for all of your input.

              Scott

              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