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!

    Error In Visual Studio/InternetExplorer/Chrome: This operation requires IIS integrated pipeline mode.

    Scheduled Pinned Locked Moved Support
    proget
    9 Posts 3 Posters 85 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
      schmid_6935
      last edited by

      Hey,

      Error for Nuget-Package in Visual Studio 2017: 500 (Internal Server Error) => Cannot download package!

      This operation requires IIS integrated pipeline mode.
      
      Exception Details: System.PlatformNotSupportedException: This operation requires IIS integrated pipeline mode.
      

      Full Stack Trace:

       System.PlatformNotSupportedException: Für diesen Vorgang muss der integrierte Pipelinemodus von IIS verwendet werden.
      bei System.Web.HttpResponse.get_Headers()
      bei Inedo.ProGet.WebApplication.FeedEndpoints.NuGet.NuGetApi.WriteError(HttpContext context, Int32 statusCode, String message, String description)
      bei Inedo.ProGet.WebApplication.FeedEndpoints.NuGet.NuGetApi.GetHandler.<ProcessGetRequestAsync>d__0.MoveNext()
      --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
      bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      bei Inedo.ProGet.WebApplication.FeedEndpoints.NuGet.NuGetApi.<ProcessRequestAsync>d__3.MoveNext()
      --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
      bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      bei Inedo.ProGet.WebApplication.FeedEndpoints.FeedEndpointHandler.FeedRequestHandler.<ProcessRequestAsync>d__8.MoveNext()
      

      Dear
      Frank

      Product: ProGet
      Version: 5.0.13

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

        This is basically an error reporting an error; it can sometimes happen, and thus it masks the underlying error. The usual cause is the client disconnected unexpected, and the error can't be reported.

        You can switch to INTEGRATED PIPELINE mode to see the full error

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

          Hey Alana,

          how can I switch to INTEGRATED PIPELINE? I'm using the integrated IIS Webserver...

          Thanks

          Dear
          Frank

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

            We are also experiencing this issue.

            Fresh proget install using the integrated webserver. Does not occur in chrome, but does in visual studio and through the nuget.exe command line.

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

              I've been investigating this issue with Wireshark and have narrowed it down somewhat.

              NuGet will first send a request with no credentials, and ProGet will respond:

              401 Unauthorized
              

              With the header:

              WWW-Authenticate: Basic realm="ProGet Feed {name of feed}"
              

              Signalling that NuGet should try again with a basic authorization header.
              NuGet does just that and it works fine for endpoints such as:

              FindPackagesById
              Search
              

              However, when requesting a specific package at the URI:

              /nuget/{name of feed}/{name of package}/{version of package}
              

              The server will return:

              500 Internal Server Error
              This operation requires IIS integrated pipeline mode.
              

              And the logs provide the stack trace originally posted by Frank.

              System.PlatformNotSupportedException: This operation requires IIS integrated pipeline mode.
              at System.Web.HttpResponse.get_Headers()
              at Inedo.ProGet.WebApplication.FeedEndpoints.NuGet.NuGetApi.WriteError(HttpContext context, NuGetFeed feed, HttpStatusCode statusCode, String message, String description)
              at Inedo.ProGet.WebApplication.FeedEndpoints.NuGet.NuGetApi.GetHandler.<ProcessGetRequestAsync>d__0.MoveNext()
              --- End of stack trace from previous location where exception was thrown ---
              at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
              at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
              at Inedo.ProGet.WebApplication.FeedEndpoints.NuGet.NuGetApi.<ProcessRequestAsync>d__2.MoveNext()
              --- End of stack trace from previous location where exception was thrown ---
              at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
              at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
              at Inedo.ProGet.WebApplication.FeedEndpoints.FeedEndpointHandler.FeedRequestHandler.<ProcessRequestAsync>d__8.MoveNext()
              

              As you can see the first line of the stack trace is the getter for HttpResponse.Headers. The exception is thrown and due to the 500 error not being a 401 NuGet simply makes the request again without adding the Authorization header.

              This works just fine for me in chrome - I'd guess because my credentials are stored in a cookie rather than in the Auth header.

              Any thoughts from Inedo about why this endpoint behaves differently to others?

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

                Today I installed the update to 5.1.3, but the problem still exists.

                @Dave: Thank you for your research.

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

                  I have opened a support ticket: https://my.inedo.com/tickets/view?ticketNumber=EDO-5119

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

                    Solution

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

                      Sadly, for me, the given DLL cannot just be dropped into the folder to replace the old DLL without producing a binding redirect error:

                      [FileLoadException: Could not load file or assembly 'ProGetCoreEx, Version=5.1.3.10, Culture=neutral, PublicKeyToken=20535527eaf4e568' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]
                         Inedo.ProGet.WebApplication.<BeginFirstRequestAsync>d__2.MoveNext() +0
                         System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start(TStateMachine& stateMachine) +114
                         Inedo.ProGet.WebApplication.ProGetHttpModule.BeginFirstRequestAsync(HttpApplication app) +90
                         Inedo.Web.<HandleBeginFirstRequestInternal>d__28.MoveNext() +306
                         System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
                         Inedo.Web.InedoHttpModule.ProcessEnd(IAsyncResult ar) +117
                         System.Web.AsyncEventExecutionStep.InvokeEndHandler(IAsyncResult ar) +219
                         System.Web.AsyncEventExecutionStep.OnAsyncEventCompletion(IAsyncResult ar) +159
                         System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
                         System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +611
                         System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +213
                         System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +131
                      

                      ProGetCoreEx is version 5.1.3.9, however it expects 5.1.3.10

                      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