This is available in a standard installation of the latest version under Manage Feed:
I'll check out the source code now. Thanks.
This is available in a standard installation of the latest version under Manage Feed:
I'll check out the source code now. Thanks.
I've managed to get this working in v5.0.11 by setting up the second ProGet website in IIS with anonymous authentication enabled and pointing to the same physical path as the original website. The same AppPool is shared between the two and is using the Integrated pipeline. No other IIS or .config configuration was required.
In ProGet, for the npm feed that required anonymous access I added the Anonymous user to the feed permissions under Administration > Security > Users & Tasks. Restarting the web services then enabled the anonymous access to the feed using the second website's bindings.
Hi,
I am attempting to push a *.symbols.nupkg file to a NuGet feet that has been configured for Symbol Server support. Only the *.symbols.nupkg file is being pushed and the content of this file contains \src\*.* alongside \lib\*.*. The symbol server URL is being used and an API Key for a valid user is being supplied:
nuget pack app.csproj -Symbols
nuget push app.symbols.nupkg -Source http://🚫/symbols/feed-name -ApiKey 🚫
returns:
Pushing app.symbols.nupkg to 'http://🚫/symbols/feed-name'...
PUT http://🚫/symbols/feed-name/
NotFound http://🚫/symbols/feed-name/ 73ms
Response status code does not indicate success: 404 (Not Found).
Please can someone advise what I'm doing wrong? Publishing to the standard feed with the *.nupkg file and the same API Key works fine.
Product: ProGet
Version: 5.0.11
To resolve this issue, I disabled Anonymous Authentication for the ProGet website in IIS (leaving just Windows Authentication enabled) and restarted all services. I tried this previously to no avail but for some reason it is working fine now.
I have set up AD Authentication (New) on my ProGet instance. Authentication is working fine with npm but with NuGet the server is responding with 404. To add the source, I added a new Package Source in Visual Studio 2017 (15.6.5) and pasted the URL from the 'API Endpoint URL' field on the ProGet feed (http:///nuget/feed-name/). I was expecting to be prompted for credentials when browsing the feed in VS (https://stackoverflow.com/a/20658725/504477) but instead the following error was displayed in the console:
[PackageCache] The V2 feed at 'http://🚫/errors/user-not-found/Search()?$filter=IsLatestVersion&searchTerm=''&targetFramework='net471'&includePrerelease=false&$skip=0&$top=26&semVerLevel=2.0.0' returned an unexpected status code '404 Not Found'.
Please can someone advise on what I may be doing wrong?
Product: ProGet
Version: 5.0.11
I'm also getting the same error from ProGet 5.0.10 but reinstalling IIS is not an option. Restarting the service does not make a difference. No web.config customisations have taken place.
Server: Windows Server 2016 (14393.1794)
IIS: 10.0.14393.0
Authentication: Windows Authentication
Windows Authentication Providers: Negotiate, NTLM
[SerializationException: Type 'System.Web.HttpContext' in assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' is not marked as serializable.]
System.Web.Hosting.ApplicationManager.HostingEnvironmentShutdownInitiated(String appId, HostingEnvironment env) +0
System.Web.Hosting.HostingEnvironment.RemoveThisAppDomainFromAppManagerTableOnce() +156
System.Web.Hosting.HostingEnvironment.InitiateShutdownInternal() +266
System.Web.Hosting.HostingEnvironment.InitiateShutdown() +64
Inedo.ProGet.WebApplication.Pages.Administration.Security.UserDirectories.<>c__DisplayClass8_0.<CreateChildControls>b__2() +597
Inedo.Web.Controls.ButtonLinks.PostBackButtonLink.Inedo.Web.Controls.ISimpleAsyncPostControl.ProcessValidPostAsync() +66
Inedo.Web.PageFree.<ProcessPostAsync>d__61.MoveNext() +400
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60
Inedo.Web.PageFree.<ProcessPostAsync>d__61.MoveNext() +839
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60
Inedo.Web.PageFree.<ProcessRequestAsync>d__46.MoveNext() +574
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60
System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar) +64
Inedo.Web.Handlers.AsyncHandlerWrapper.EndProcessRequest(IAsyncResult result) +33
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +393
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +128
The help link for the 'Filter configuration XML' item in 'Configure Package Filter' points to http://inedo.com/support/tutorials/extending-proget-package-store but this resolves to https://inedo.com/support/documentation/proget/administration/extensions which doesn't seem to contain any help information about this feature. Please can you advise where this documentation is located?
Product: ProGet
Version: 5.0.10