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 7 of 105 (20 questions out of 2087)
1
replies

We use a home-grown tool in place of NuGet.exe to install our NuGet packages (because NuGet.exe doesn't allow us to have multiple copies of the same package on the same server). It would be cool if we could report back to the ProGet feed that this package was installed. What triggers a deployment to get recorded in a feed? Thanks.

Product: ProGet
Version: 4.7.13

1
replies

Event code: 4010
Event message: An unhandled security exception has occurred.
Event time: 7/17/2017 11:50:56 AM
Event time (UTC): 7/17/2017 3:50:56 PM
Event ID: 39db52f985014b0d80a234d404836623
Event sequence: 203
Event occurrence: 10
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/3/ROOT-1-131447787045034881
Trust level: Full
Application Virtual Path: /
Application Path: C:\Program Files\ProGet\WebApp\
Machine name: **********

Process information:
Process ID: 4368
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Request information:
Request URL: https://nuget.*******:44300/nuget/Approved/Search()?$filter=IsLatestVersion&searchTerm=''&targetFramework='net452'&includePrerelease=false&$skip=0&$top=26
Request path: /nuget/Approved/Search()
User host address: 10.3.10.12
User: *************
Is authenticated: True
Authentication Type: Negotiate
Thread account name: NT AUTHORITY\NETWORK SERVICE

Custom event details:

Product: ProGet
Version: 4.7.13

1
replies

I'm sure I'm just doing something wrong here but I haven't been able to figure it out.
I'm trying to use PSEval in the following:

set $regExists = $PSEval(Test-Path $regPath);

The reg path being used is like this:

HKLM:\SOFTWARE\Wow6432Node\Solutions\Interface (node)

When it is run via Powershell directly I get true or false. When I run it via a plan in BM i get the Cannot assign a Vector value to a Scalar variable error.

I've tried variations as well, such as forcing it to string like so:

set $regExists = $PSEval((Test-Path $regPath).ToString());

But that ends up giving an error about Missing closing ')' in expression.
which there isn't one missing.

Product: BuildMaster
Version: 5.7.3

11
replies

Navigated to the symbol server URL in a browser and confirmed / followed all of the steps on your custom 404 page. I've configured all the VS settings specifically as mentioned on the custom 404 page. Still having no luck loading symbols. When I browse to the package in the feed, it shows that source and symbols are available and I can click "view" and see the indexed pdb file. Both src files and .pdg are downloaded when I click Download from that same page.

VS is showing the following symbol load information:

SYMSRV: C:\Users\redacted\AppData\Local\Temp\SymbolCache\redacted.pdb\8AA07D8A44496EE83C864487609F24C31\redacted.pdb - file not found
SYMSRV: C:\Users\redacted\AppData\Local\Temp\SymbolCache\redacted.pdb\8AA07D8A44496EE83C864487609F24C31\redacted.pdb not found
SYMSRV: http://nuget.redacted.com/symbols/redacted: not available
http://nuget.redacted.com/symbols/redacted: Symbols not found on symbol server.

Product: ProGet
Version: 4.7.11

1
replies

Hi
I am using Create Release from Template API to create a new release in BuildMaster. I have defined some package variable in the Release Template to which value is assigned by user when package is created. Here in case of Rest API, i am able to create a new release with release template but when i am passing the package variables to the API using JSON , they are not reflecting in BuildMAster Package. Here is the JSON object:
$CreatePackageParam= @{releaseNumber=$ReleaseNumber;
applicationName=$ApplicationName;
$SiteName=$SiteName;
}
I have prefixed key with $ as mentioned in BuildMaster documentation to pass any number of variables. However it is not working with or without $. Please help how can we pass and consume other variables in Rest API?

Product: BuildMaster
Version: 5.6.11

2
replies

Hi, i've tried to upload package that has version in semver 2.0 format (using nuget.exe v4.3), and got server error stating:

System.FormatException: Invalid version number.
at Inedo.ProGet.Feeds.NuGet.NuGetVersion.Parse(String version)
at Inedo.ProGet.Feeds.NuGet.NuGetPackage.ReadFromNuspecFile(Stream nuspecStream)
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.FeedEndpoints.NuGet.NuGetApi.PutHandler.<ProcessPutRequestAsync>d__0.MoveNext()

My question: Do you support packages with semver 2.0 versions format, or do you at least plan to support them?

Product: ProGet
Version: 4.7.14

1
replies

Hi
I am trying to pass VAriable as Input parameter to Deploy Package Rest API. I have created a Json object having all parameters which i am passing as -body for Deploy Package API like below:
$DeployPackageParams = @{releaseNumber=$ReleaseNumber;
packageNumber=$PackageNumber;
applicationName=$ApplicationName;
key=$APIKey;
$FileType="Config";
}
$DeployResponse = Invoke-RestMethod 'http://BMServer/api/releases/packages/deploy' -Method Post -Body $DeployPackageParams
I have created a variable with FileType name in BuildMaster Application. But during deployment this FileType variable is not getting assigned with passed value. How to assign parameter value to local application variables in Buildmaster plan ? I have tried same by using querystring as well but no use.

Product: BuildMaster
Version: 5.7.2

1
replies

How does proget send notification to developers when the package is completed? Or notifies if there are errors or problems?

Product: ProGet
Version: 4.7.14

1
replies

I setup a nuget feed with an apikey and I get a 403 forbidden any time that I try to push a package.
OS: Windows 10 Enterprise
Version: 10.0.14393 Build 14393
Proget was installed with a new instance of sql express, integrated web server, and is running as a network service.

image

c:\proget-test>nuget push test.package.1.0.0.nupkg -Source http://localhost:81/nuget/TestFeed -ApiKey 01168dd1-99ce-4a0e-8d82-d662d35b3474
Pushing test.package.1.0.0.nupkg to 'http://localhost:81/nuget/TestFeed'...
  PUT http://localhost:81/nuget/TestFeed/
  Forbidden http://localhost:81/nuget/TestFeed/ 39ms
Response status code does not indicate success: 403 (Forbidden).

Product: ProGet
Version: 4.7.14

1
replies

How do I target MSBuild 15.0 on my server? I have 15.0 installed but my project is still building with 14.0. I know that Microsoft has made some changes to the directory locations and no longer uses the registry values with 15.0.

I found 15.0 installed in the following locations:
C:\Program Files (x86)\MSBuild\15.0
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild

And I have the .Net framework 4.6.2 installed here:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319

Thanks!

Product: BuildMaster
Version: 5.7.2

2
replies

I would like my Nuget feed to reject pushes where the version already exists.

I've tried searching and find a lot of references to permission "Feeds_OverwritePackage" but, in v4.7 I don't see this as a task, or any other permissions area.

Can anyone help me figure this out?

Product: ProGet
Version: 4.7.13

12
replies

I'm trying to push a nuget package to ProGet, but keep getting a 403 error.

.\tools\nuget.exe push .\Hum.3.5.4.nupkg -ApiKey b079f1f5-a4d7-4ef9-8af3-0b456779ba88 -Source http://packages.nisportal.com/nuget/nis/

Result in

    Pushing Hum.3.5.4.nupkg to 'http://packages.nisportal.com/nuget/nis/'...
      PUT http://packages.nisportal.com/nuget/nis/
      Forbidden http://packages.nisportal.com/nuget/nis/ 38ms
    Response status code does not indicate success: 403 (Forbidden).

The ApiKey is configured on the feed. I've also tried without ApiKey.

I've tried assigning the anonymous user pushing priviliges.

Product: ProGet
Version: 4.7.13

1
replies

Hello,

After updating from Proget 4.7.11 to 4.7.13 we've noticed change during package upload to Nuget feed. If you tried to upload package with the same version that was already existing on that feed.

It used to return error:

Failed to process request. 'A package with id 'PackageID' and version '0.16.3-beta03' already exists and cannot be modified.'.
The remote server returned an error: (409) Conflict..

But now it asks for credential to elevate permissions:

nuget-3.4.4.exe push "PackageID.0.16.3-beta03.nupkg" apikey -Source api-endpoint )
Pushing PackageID.0.16.3-beta03.nupkg to 'api-endpoint/
Forbidden api-endpoint 19ms
Please provide credentials for: api-endpoint
UserName: Password: Object reference not set to an instance of an object.

Is this desired effect? Can it be toggle off in options?

Product: ProGet
Version: 4.7.13

1
replies

We want to be able to see our software packages with pre-releases (if enabled) in Visual Studio. But only the pre-releases of our own packages. Not from nuget.org or other externals sources.

Would this be possible with the ProGet Connectors?

Best regards
Timo Stamm

Product: ProGet
Version: 4.7.11

7
replies

I've been trying the community edition, and have been having issues deploying to vsix feeds. I've seen an example with curl, http://inedo.com/support/questions/6059, but that didn't provide much detail given the error I'm receiving:

HTTP Status 500

Details from Proget

An error occurred processing a POST request to http://192.168.1.136:81/vsix/VSIXSample/: Number of entries expected in End Of Central Directory does not correspond to number of entries in Central Directory.
Details: System.IO.InvalidDataException: Number of entries expected in End Of Central Directory does not correspond to number of entries in Central Directory.
at System.IO.Compression.ZipArchive.ReadCentralDirectory()
at System.IO.Compression.ZipArchive.GetEntry(String entryName)
at Inedo.ProGet.Feeds.Vsix.VisualStudioPackageManifest.ReadFromPackage(Stream packageStream)
at Inedo.ProGet.Feeds.Vsix.VsixFeed.<InstallPackageInternalAsync>d__20.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.FeedEndpoints.Vsix.VsixFeedHandler.<ProcessRequestAsync>d__5.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.FeedEndpoints.FeedEndpointHandler.FeedRequestHandler.<ProcessRequestAsync>d__8.MoveNext()

I've been using to attempt deploy w/ C# in Linqpad:

HttpClient client = new HttpClient();

client.BaseAddress = new Uri("http://localhost:81/vsix/");
client.DefaultRequestHeaders.Accept.Clear();
var byteArray = Encoding.ASCII.GetBytes("admin:Admin");
client.DefaultRequestHeaders.Authorization = new System.Net.Http.Headers.AuthenticationHeaderValue("Basic", Convert.ToBase64String(byteArray));

using (var content = new MultipartFormDataContent("Upload----" + DateTime.Now.ToString(System.Globalization.CultureInfo.InvariantCulture)))
{
	var sourceFile = File.ReadAllBytes(@"ExtensionsTest.vsix");
	var streamContent = new StreamContent(new MemoryStream(sourceFile));
 	streamContent.Headers.ContentType = new MediaTypeHeaderValue("application/vsix");
                
	content.Add(streamContent, "ExtensionsTest.vsix", "ExtensionsTest.vsix");
	using (var message = await client.PostAsync("VSIXSample/", content))
	{
      var input = await message.Content.ReadAsStringAsync();
	}
}

I've also compare the contents of the generated body against the what proget is sending when manually uploading from the page, I know this doesn't doesn't post to the same endpoint but I thought I've at least compare, and semantically they looked similar.

If someone can point me to, what I assume is, my obvious bug I've overlooking, I'd appreciate it.

Product: ProGet
Version: 4.7.13

11
replies

Hi,

Is there a way to filter the results from a request to NuGetPackages_GetLatest based on a tag value?

Thanks,
Joel

Product: ProGet
Version: 4.7.13

1
replies

We have a maven feed configured, when maven searched for dependicies it calls http://.../parent-pom/1.0.0-SNAPSHOT/parent-pom-1.0.0-20170329.175737-1.pom

This url causes the ProGet app pool to crash and stop with a WAS communication error

Product: ProGet
Version: 4.7.11

1
replies

Hi

I am trying to call release and package deployment api endpoints through Powershell script but getting below error while trying to call create release and create package api:

$response = Invoke-RestMethod 'http://<<BuildMasterServer>>/api/releases/packages/create?releaseNumber=1.0.2&applicationName=DeployWWMapping&key=5WRTeJcctiY32u2bEqTb4Q=='
Error: Method Not Supported.

Though Get Release endpoint is returning the correct JSON object. Problem is with create release and package endpoint.

Product: BuildMaster
Version: 5.6.11

2
replies

Hi,

I am working on installation of multiple agents on same service box task.
In order to make the agent box use port ‘6468’, I changed the port against the agent server in build master to 6468. It gave error status. When I ran the concerned application using:
'for server <agent box name>
{ }'
I got the error:
'System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it 137.201.129.250:6468'

I am using the Manually Installed Agent for port 6468.
Please suggest what needs to be done in order that the target machine should not refuse the connection.

Product: BuildMaster
Version: 5.7.2

1
replies

Hi Guys,

Is it possible to pull docker images without login in via docker console if the "Anonymous" "user" is set to download and view packages in the settings?

Thanks in Advance!

Product: ProGet
Version: 4.7.13

Ask A Question
Page: 1 2 3 4 5 7 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 39 40 41 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 104 105