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!

ProGet & Nuget 3.4 Breaking Changes - Error 500



  • Related Post: Question 4571

    +++++++++++++++++++++++++++++

    App: Proget 4.1.1

    OS: Windows Server 2012 R2

    WebServer: IIS, using SSL with Trusted CA signed Certificate.

    Port 443.

    SQL: SQL Server 2014 Standard

    +++++++++++++++++++++++++++++

    Proget is utilizing built-in accounts only and is not using LDAP/AD for authentication.

    Added Ninject 3.2.2.0 to repository

    Request https://{domain}/nuget/{feed}/Packages(Id='ninject',Version='3.2.2') Generates 500 error

    Request https://{domain}/nuget/{feed}/Packages(Id='ninject',Version='3.2.2.0') Generates 200 with xml response

    ProGet does not log the error.

    **** ISSUE CAUSE ****

    Investigation of the issue found that the 500 error is caused by ProGet's app.config file using absolute paths for custom errors. IIS, by default, does not allow the use of absolute paths for custom errors.

    *** ISSUE RESOLUTION ****

    Edit the applicationHost.config file within IIS to allow the use of absolute paths for custom errors.

    edit: %systemdrive%\Windows\System32\inetsrv\config\applicationHost.config
    under system.webServer, add the attribute allowAbsolutePathsWhenDelegated="true" to httpErrors.

    Restart IIS service

    Product: ProGet
    Version: 4.1.1


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation