Support Q & A Home

Ask A Question

Anyone can ask or answer a question here, but our support engineers actively monitor your questions; we typically answer within a day or two.

Filter
Viewing Page 40 of 103 (20 questions out of 2054)
5
replies

When using ProGet and hosting it in IIS with all default settings. Atleast twice a week we get the following issue which gives a false error on our build server that wants to push the new package to the nuget feed. Somehow the package is successfully put on the nuget feed but it fails to set the proper redirect status. Does anyone have a solution on how to resolve this. The only temporary way to make it dissapear is to recycle the IIS Website and applicationpool. however it returns after a while again.

Logged: 20-4-2016 09:19:27
Level: Error
Category: HTTP
Message: An error occurred in the web application: Server cannot set status after HTTP headers have been sent.

STACKTRACE

URL: http:/[MyURL]/nuget/trunk/FindPackagesById()?id='DocumentFormat.OpenXml'
Referrer: (not set)
User: (unknown)
User Agent: NuGet Client V3/3.4.2.0 (Microsoft Windows NT 6.3.9600.0, VS Professional/14.0)
Stack trace: at System.Web.HttpResponse.set_StatusCode(Int32 value)
at Inedo.ProGet.WebApplication.SimpleHandlers.NuGet.ODataHandler.WriteError(HttpContext context, Int32 statusCode, String message, String fullMessage)
at Inedo.ProGet.WebApplication.SimpleHandlers.NuGet.ODataHandler.<ProcessRequestAsync>d__11.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 System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar)
at System.Web.HttpApplication.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar)

Product: ProGet
Version: 4.0.9

1
replies

Hi

When we try to run the command npm adduser it gives the below error for the proget.
401 - Unauthorized: Access is denied due to invalid credentials.

But we are able to login via web interface.

Regards
Junaid

Product: ProGet
Version: 4.0.9

1
replies

Using Buildmaster v4.7 and earlier, I wrote a custom extension inheriting VariableFunctionBase in which I could define my custom parameters.
It was then possible to get the values from the Evaluate method using params [] args.

We've upgraded to v4.9 which means this approach doesn't work anymore. Any custom extension inheriting VariableFunctionBase needs to use ScalarVariableFunctionBase meaning the Evaluate method has now become EvaluateScalar and no longer takes the arguments.

This link is no longer true as of v4.9 - http://inedo.com/support/tutorials/writing-a-variable-function-using-the-buildmaster-sdk

Trying to find something equivalent for 4.9, but no success....

Product: BuildMaster
Version: 4.9.7

9
replies

Hi,

As of Visual Studio 2015 Update 2, the included NuGet client is version 3.4.1.807. Starting with 3.4, the NuGet client introduces some breaking changes in the version handling department: Normalized Version Numbers

I have an issue where if I install an internal package version 1.0.26.0 and then try to update it to the latest version (1.0.61.0), the client will try to do the following:

GET http://feeds.X.com/nuget/Packages(Id='X.Client.Common',Version='1.0.61')

Notice the missing ".0" at the end of the version. When I run this query manually, ProGet returns "Package not found.". The NuGet client does not receive a 404 and tries to parse the response as XML, but fails miserably as you can see here:

OK http://feeds.X.com/nuget/Packages(Id='X.Common',Version='1.0.61') 7ms
Update-Package : Error downloading 'X.Client.Common 1.0.61.0' from 'http://feeds.X.com/nuget'.
Data at the root level is invalid. Line 1, position 1.
At line:1 char:1
+ Update-Package X.Client.Common
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Update-Package], Exception
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.UpdatePackageCommand

Install failed. Rolling back...
Package 'X.Client.Common 1.0.61.0' does not exist in project 'X.Common.NuGet'

So there are two issues here:

  1. ProGet doesn't seem to support the new version handling

  2. ProGet does not return a 404 when a package isn't found

If you need more info, don't hesitate to ask.

Thanks!

Product: ProGet
Version: 4.0.9

1
replies

Is there a way to configure e-mail notification (or some other form) about new packages?

Product: ProGet
Version: 4.0.9

4
replies

I just setup ProGet for the first time and configured it to use LDAP and IIS. I want to use API keys for publishing packages to feeds, but it appears that granting the Anonymous user "Publish Packages" permissions is required. In this case, anyone can now upload packages to the feed via the web UI which is terrible! Is it not possible to set it up to only allow publish for those who have API keys? I don't understand...

http://inedo.com/support/kb/1112/api-keys-in-proget

Product: ProGet
Version: 4.0.9

10
replies

Hi

When we try to publish node package using command line for example npm publish tslint, we get the below error.

SqlException 50000161NpmFeeds_SetTagVersion21`Package was not found

Regards
Junaid

Product: ProGet
Version: 3.8.6

2
replies

While testing database changes I've run into problems deploying oracle stored procedures. Actually any code with sql delimiters in the object. The application seems to run individual commands based on the ';' delimiter but that doesn't allow for package / function / procedure creation.

Is there any workaround?

I also noted this from the documentation:
Note that database object code (stored procedure, views, etc) are not considered change scripts.
Can someone explain why that is?

Product: BuildMaster
Version: 4.9.7

4
replies

Hi,

Does the API support this? Nuget has a mirror command that I can use to mirror a package from one feed to another. I'd like to achieve this via the API if possible.

Thanks,
Joel

Product: ProGet
Version: 3.8.0

2
replies

I'm trying to set a filter on our nuget.org remote repository. Ultimately I want to exclude pre-release packages from nuget.org. However, I'm trying a filter example of Microsoft.* for a filter. I'm expecting to only see those packages from nuget.or and no others when I browse to our private feed. What am I missing? And, how do I filter prerelease packages once I know how to make filters work?

Product: ProGet
Version: 3.8.6

1
replies

Hi

I need to specify mutliple paths to MSBuild via ReferencePath.

Specifying one path works fine, but when I specify two, separated by a semi-colon, I get an "MSBUILD : error MSB1006: Property is not valid." error reported for the second path.

I Googled this and tried various suggestions by BuildMaster wraps-up inside double quotes whatever I enter - and this seems to prevent me from fixing the issue.

Please advise ASAP.

Tim

Product: BuildMaster
Version: 4.6.3

1
replies

Hi,

what ist and where can i find the upack client?

regards
sundayout

Product: ProGet
Version: 4.0.9

1
replies

Hi,

please can you give me a end to end example to publish release artifacts from tfs 2015 ubdate 2 build to an universal feed and retrive this package for tfs 2015 release

thnx
sundayout

Product: ProGet
Version: 4.0.8

1
replies

In buildmaster, is there any way to define a global database connection? It seems they need to be defined per application.

Product: BuildMaster
Version: 4.9.7

3
replies

I created a feed named NuGet with a connector to nuget.org. I want this feed to be readonly on nuget.org.

Now I want a private nuget feed (named Private) where we will put our packages for private use.

Can I use the "NuGet" feed for this purpose? Will it try to publish on nuget.org?

The reason I would want to do it this way is for having one source in visual studio.

Product: ProGet
Version: 4.0.9

2
replies

I am trying to add maven feed and I am getting error on connector.
this exception Lucene.Net.Store.NoSuchDirectoryException: directory 'C:\ProgramData\ProGet\Packages.maven2\C2' does not exist
at Lucene.Net.Store.FSDirectory.ListAll(DirectoryInfo dir)
at Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run(IndexCommit commit)
at Inedo.ProGet.Feeds.Maven.MavenConnector.GetPackageCountAsync()
at Inedo.ProGet.Service.ConnectorHealthCheckExecuter.<CheckConnectorAsync>d__5.MoveNext()
After reading this I have made a folder by my self.
But it is till showing error un healthy connector.
connector values are
https://repo.maven.apache.org/maven2

Product: ProGet
Version: 4.0.9

2
replies

Please implement Markdown Rendering for NuGet and Choco Description

Product: ProGet
Version: 4.0.8

10
replies

Trying to push a package:

nuget push mypackage.2.0.0.0.nupkg -Source http://myserver/nuget/Test -verbosity detailed

results in the following message:

System.Net.WebException: The underlying connection was closed: The connection was closed unexpectedly.
at System.Net.HttpWebRequest.GetResponse()
at NuGet.RequestHelper.GetResponse()
at NuGet.HttpClient.GetResponse()
at NuGet.PackageServer.EnsureSuccessfulResponse(HttpClient client, Nullable`1 expectedStatusCode)
at NuGet.PackageServer.PushPackageToServer(String apiKey, Func`1 packageStreamFactory, Int64 packageSize, Int32 timeout, Boolean disableBuffering)
at NuGet.PackageServer.PushPackage(String apiKey, IPackage package, Int64 packageSize, Int32 timeout, Boolean disableBuffering)
at NuGet.CommandLine.PushCommand.PushPackageCore(String source, String apiKey, PackageServer packageServer, String packageToPush, TimeSpan timeout)
at NuGet.CommandLine.PushCommand.PushPackage(String packagePath, String source, String apiKey, TimeSpan timeout)
at NuGet.CommandLine.PushCommand.<ExecuteCommandAsync>d__16.MoveNext()

The server is running in IIS.

However if I try on a local installation of ProGet with the internal web server the push works.

Must be something related to IIS or the server but what?

Please advise.

Product: ProGet
Version: 4.0.9

1
replies

Hi,

maybe I need new glasses but in the shiny new UI of Proget 4, I cannot find the place where non-Admin users can change their own password. Would be nice if someone could point me to the right place.

Product: ProGet
Version: 4.0.9

1
replies

We have ProGet Enterprise and this is working very well for us hosting multiple NuGet feeds with LDAP directory/Integrated Authentication enabled. I now have a requirement to setup NPM and Bower feeds but from what I understand and from the testing I've done, these feeds will not work with Integrated Authentication turned on.

Because of this I'm considering whether to setup a separate ProGet server for these feeds (not ideal) and I would like to know if it's possible to install a separate instance of ProGet, listening on a different port, on the same machine as our existing ProGet service? If this is possible/supported, I would like to know what kind of issues we may encounter (upgrades etc.)

I'm open to any other recommendations for co-existing these feeds on the same server so long as it doesn't involve turning off integrated authentication!

Product: ProGet
Version: 4.0.9

Ask A Question
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 40 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103