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!

(500) Internal server error.



  • After installing ProGet I have gotten the repository up running and I have setup the Powershell feed, but upon publishing Module I get the next error:
    Image Text

    And IIS Logging:
    <code>
    2016-08-02 08:56:12 ::1 PUT /nuget/powershell/ - 81 - ::1 NuGet+Command+Line/2.8.60717.93+(Microsoft+Windows+NT+6.2.9200.0) - 500 0 0 859
    </code>

    This has maybe something to do with that i have copied the nuget package provider to "C:\Program Files\PackageManagement\ProviderAssemblies\nuget\2.8.5.205". I had to do this because my Windows 2012 WMF 5.0 machine does not have access to the internet and i cannot install the nuget packageprovider.

    The erros has led me to this page:
    http://inedo.com/support/questions/1303
    But I’m not sure what the build-agent exactly is. The only service I can find is the “Proget Service”.

    Also, procmon shows me that de nuget package has been created by the nuget executable. But the files T empPublishError.txt and TempPublishOutput.txt are gone before I can troubleshoot.

    Can you please help me resolve this issue?

    Product: ProGet
    Version: 4.2.0



  • If you go to the ProGet Admin page, you should see a list of recent errors, and one of them should correspond to this issue and give a full stack trace if you click on it. That should help us to track this down.

    Do you still get the error if you change the feed type to NuGet? PowerShell and NuGet feeds work the same; the changes are supposed to be only cosmetic.



  • The problem is the same when I change the feed to NuGet instead of Powershell.

    The error:

    Message
    <code>An error occurred processing a PUT request to http://localhost:81/nuget/powershell/: Value cannot be null. Parameter name: path1</code>

    Details
    <code>
    at System.IO.Path.Combine(String path1, String path2)
    at Inedo.ProGet.Extensibility.PackageStores.DefaultPackageStore.CreatePackageAsync(PackageStorePackageId packageId)
    at Inedo.ProGet.Feeds.NuGet.NuGetFeed.<InstallOrUpdatePackageAsync>d__40.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Inedo.ProGet.WebApplication.SimpleHandlers.NuGet.NuGetApi.PutHandler.<ProcessPutRequestAsync>d__0.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Inedo.ProGet.WebApplication.SimpleHandlers.NuGet.NuGetApi.<ProcessRequestAsync>d__6.MoveNext()
    </code>



  • When you go to Manage Feed, what does it say for "package Store"?

    IT should say "default" in italics, not "Default Package Store".

    If it says "Default Package Store", can you [Change Package Store], then click Save? That should cause it to revert to "default".



  • It says "Default Package Store". Upon change I can select "Default Package Store" (Change -> Change Package Store -> Default Package Store -> Save) but that does not change it to the italic "default"



  • Oh you will need to upgrade to 4.2.1; that was a bug in 4.2.0.



  • Ah yes, that solved my problem. Thanks!



Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation