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 1 of 80 (20 questions out of 1586)
2
replies

We want to use your Universal Feed to store our website binaries etc. We can't use Microsoft's IIS deployment infrastructure for a few reason. So the next best thing (and perhaps the best thing) is to use your Universal Feed from within our own Configuration tool. However, we need to be able to debug our website when thing go wrong. Thus we would like to use your Symbol Server, like we currently do with the Nuget feeds.

Is this possible? If not, we assume it could be done and if so could we get an ETA?

Product: ProGet
Version: 4.6.1

0
replies

We have a private NPM feed called NpmInternal on our ProGet server we use to push our NPM packages on our own 2012 R2 machine and our own IIS.

I am trying to configure a client machine to authenticate against ProGet so that npm install works correctly. ProGet was recently upgraded from 4.1 to 4.6.

As per the documentation, I run the following commands:

npm config set registry http://proget.private-server.com/npm/NpmInternal/ npm adduser

After entering username, password, and e-mail, all three registered and validated through the web GUI, the command fails spectacularly.

Using npm adduser --verbose, I get the following:

npm info it worked if it ends with ok npm verb cli [ 'C:\\Program Files\\nodejs\\node.exe', npm verb cli 'C:\\Users\\Benjamin\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js', npm verb cli 'adduser', npm verb cli '--verbose' ] npm info using npm@4.0.3 npm info using node@v7.2.1 Username: my.username Password: Email: (this IS public) my.username@private-server.com npm verb adduser before first PUT { _id: 'org.couchdb.user:my.username', npm verb adduser name: 'my.username', npm verb adduser password: 'XXXXX', npm verb adduser email: 'my.username@private-server.com', npm verb adduser type: 'user', npm verb adduser roles: [], npm verb adduser date: '2016-12-08T11:52:17.816Z' } npm verb request uri http://proget.private-server.com/npm/NpmInternal/-/user/org.couchdb.user:my.username npm verb request new user, so can't send auth npm info attempt registry request try #1 at 12:52:17 npm verb request id b06a44b5986288de npm http request PUT http://proget.private-server.com/npm/NpmInternal/-/user/org.couchdb.user:my.username npm http 500 http://proget.private-server.com/npm/NpmInternal/-/user/org.couchdb.user:my.username npm verb bad json <!DOCTYPE html> npm verb bad json <html> npm verb bad json <head> npm verb bad json <title>The given path's format is not supported.</title> npm verb bad json <meta name="viewport" content="width=device-width" /> npm verb bad json <style> npm verb bad json body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} npm verb bad json p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} npm verb bad json b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} npm verb bad json H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } npm verb bad json H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } npm verb bad json pre {font-family:"Consolas","Lucida Console",Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt} npm verb bad json .marker {font-weight: bold; color: black;text-decoration: none;} npm verb bad json .version {color: gray;} npm verb bad json .error {margin-bottom: 10px;} npm verb bad json .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; } npm verb bad json @media screen and (max-width: 639px) { npm verb bad json pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; } npm verb bad json } npm verb bad json @media screen and (max-width: 479px) { npm verb bad json pre { width: 280px; } npm verb bad json } npm verb bad json </style> npm verb bad json </head> npm verb bad json npm verb bad json <body bgcolor="white"> npm verb bad json npm verb bad json <span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1> npm verb bad json npm verb bad json <h2> <i>The given path's format is not supported.</i> </h2></span> npm verb bad json npm verb bad json <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "> npm verb bad json npm verb bad json <b> Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. npm verb bad json npm verb bad json <br><br> npm verb bad json npm verb bad json <b> Exception Details: </b>System.NotSupportedException: The given path's format is not supported.<br><br> npm verb bad json npm verb bad json <b>Source Error:</b> <br><br> npm verb bad json npm verb bad json <table width=100% bgcolor="#ffffcc"> npm verb bad json <tr> npm verb bad json <td> npm verb bad json <code> npm verb bad json npm verb bad json An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</code> npm verb bad json npm verb bad json </td> npm verb bad json </tr> npm verb bad json </table> npm verb bad json npm verb bad json <br> npm verb bad json npm verb bad json <b>Stack Trace:</b> <br><br> npm verb bad json npm verb bad json <table width=100% bgcolor="#ffffcc"> npm verb bad json <tr> npm verb bad json <td> npm verb bad json <code><pre> npm verb bad json npm verb bad json [NotSupportedException: The given path&#39;s format is not supported.] npm verb bad json System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath) +407 npm verb bad json System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath) +321 npm verb bad json System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) +162 npm verb bad json System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String path) +95 npm verb bad json System.Web.InternalSecurityPermissions.PathDiscovery(String path) +43 npm verb bad json System.Web.HttpRequest.get_PhysicalPath() +54 npm verb bad json Inedo.Web.InedoHttpModule.MapHandlerAndBeginRequestAsync(HttpApplication app) +133 npm verb bad json Inedo.Web.InedoHttpModule.ProcessBegin(Object sender, EventArgs e, AsyncCallback cb, Object extraData) +116 npm verb bad json System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +712 npm verb bad json System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +146 npm verb bad json </pre></code> npm verb bad json npm verb bad json </td> npm verb bad json </tr> npm verb bad json </table> npm verb bad json npm verb bad json <br> npm verb bad json npm verb bad json <hr width=100% size=1 color=silver> npm verb bad json npm verb bad json <b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1085.0 npm verb bad json npm verb bad json </font> npm verb bad json npm verb bad json </body> npm verb bad json </html> npm verb bad json <!-- npm verb bad json [NotSupportedException]: The given path&#39;s format is not supported. npm verb bad json at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath) npm verb bad json at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath) npm verb bad json at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) npm verb bad json at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String path) npm verb bad json at System.Web.InternalSecurityPermissions.PathDiscovery(String path) npm verb bad json at System.Web.HttpRequest.get_PhysicalPath() npm verb bad json at Inedo.Web.InedoHttpModule.MapHandlerAndBeginRequestAsync(HttpApplication app) npm verb bad json at Inedo.Web.InedoHttpModule.ProcessBegin(Object sender, EventArgs e, AsyncCallback cb, Object extraData) npm verb bad json at System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() npm verb bad json at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) npm verb bad json --><!-- npm verb bad json This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using &lt;customErrors mode="Off"/&gt;. Consider using &lt;customErrors mode="On"/&gt; or &lt;customErrors mode="RemoteOnly"/&gt; in production environments.--> npm ERR! registry error parsing json npm verb headers { 'cache-control': 'private', npm verb headers 'content-length': '5451', npm verb headers 'content-type': 'text/html; charset=utf-8', npm verb headers server: 'Microsoft-IIS/8.5', npm verb headers 'x-aspnet-version': '4.0.30319', npm verb headers 'x-powered-by': 'ASP.NET', npm verb headers date: 'Thu, 08 Dec 2016 11:52:18 GMT' } npm info retry will retry, error on last attempt: SyntaxError: Unexpected token < in JSON at position 0

Now, that smells and quacks like a configuration error, but :

  • All paths (as reported by /administration/advanced-settings) are correct
  • The web GUI works as expected and does not report any error (I can access my target feed and all packages just fine through the GUI)
  • /administration says There are no recent errors
  • I was able to login on a different machine before the ProGet upgrade.

Update

Looking at HttpRequest.PhysicalPath-related errors, it seems the exception was thrown because there was a colon (:) in the URL (PUT http://proget.private-server.com/npm/NpmInternal/-/user/org.couchdb.user:my.username).

Adding the attribute relaxedUrlToFileSystemMapping="true" to ProGet's Web.config fixes the issue. It opens up its own share of potential security issues, too, so I cannot recommend it.

Was it on purpose, or did I miss a configuration step ?

Versions: npm@4.0.3, node@v7.2.1, Windows Server 2012R2.

Thanks.

Cheers,

Product: ProGet
Version: 4.6.1

2
replies

We have a ProGet 4.1.3 system we just upgraded to 4.6.0. It is configured to allow users to access via LDAP integration tied to an Active Directory.

While package list and restore through the NuGet command line works, if the user tries to look at the web application (https://url.to.my.proget.server/log-in?ReturnUrl=%2F) you get a security exception:

Security Exception

Description: The application attempted to perform an operation not allowed by the security policy.  To
         grant this application the required permission please contact your system administrator or
         change the application's trust level in the configuration file. 

Exception Details: System.Security.SecurityException: User Anonymous not found in directory LDAP.

Stack Trace: 

[SecurityException: User Anonymous not found in directory LDAP.]
   Inedo.ProGet.WebApplication.ProGetHttpModule.AuthorizeRequestAsync(HttpApplication app) +589
   Inedo.Web.InedoHttpModule.ProcessBegin(Object sender, EventArgs e, AsyncCallback cb, Object extraData) +116
   System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +634
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +137

Other things that may or may not be of interest:

  • I do not have Windows authentication enabled - only anonymous authentication. We aren't interested in pass-through auth.
  • We're using a manual install because our database is stored in an Azure SQL database and the full automated installer doesn't like that - it tells me the database doesn't exist though it clearly does.
  • The manual update process for the web app was, basically, to just replace the contents of the web app (bin, Resources, Web.config) and then ensure the connection string was right. I didn't change the IIS settings.
  • If you hit the home page as an anonymous user that works fine. It's just when you click the "Log In" link that you get the exception.

Product: ProGet
Version: 4.6.0

2
replies

I recently setup ProGet with two PowerShell (nuget) feeds, one for scripts and one for modules. then registered it as a PSRepository:


Register-PSRepository -Name MyGallery -InstallationPolicy Trusted -PackageManagementProvider NuGet -SourceLocation https://proget/nuget/psmodules -PublishLocation https://proget/nuget/psmodules -ScriptSourceLocation https://proget/nuget/psscripts -ScriptPublishLocation https://proget/nuget/psscripts


I am able to publish to both feeds no problem. I then created a script, with a #Requires statement that says it requires one of the modules I have published in the psmodules feed, here's where I run into problems.

When I use Install-Script, it fails because it cannot find the required module. this happens whether I have the module installed on my box or not. if you go to the web page for the script, you can see the dependency, but if you hover over the link, it wants to look in the psscripts feed, which is obviously not where it resides.

if I try to merge into one feed, I get an error on the powershell side when trying to register a PSRepository with the same URI for SourceLocation and ScriptSourceLocation:


PackageManagement\Set-PackageSource : SourceLocation 'https://proget/nuget/powershell' and ScriptSourceLocation 'https://proget/nuget/powershell' should not be same for URI based repositories.


I'm not sure what to do here, if you do Get-PSRepository -name PSGallery | Select * here is the output:


Name : PSGallery SourceLocation : https://www.powershellgallery.com/api/v2/ Trusted : True Registered : True InstallationPolicy : Trusted PackageManagementProvider : NuGet PublishLocation : https://www.powershellgallery.com/api/v2/package/ ScriptSourceLocation : https://www.powershellgallery.com/api/v2/items/psscript/ ScriptPublishLocation : https://www.powershellgallery.com/api/v2/package/ ProviderOptions : {}


But I'm not sure how to replicate this kind of structure in ProGet, it doesn't seem like the URL of feeds can be messed with.

Thanks for any help.

Product: ProGet
Version: 4.6.0

3
replies

When doing dotnet restore using my proget server it fails ~70% of the times with 500s some of the logs:

``` An error occurred processing a GET request to http://<myProGetNugetEndpoint>/package/Libuv/1.9.0: An error occurred while communicating with the remote host. The error code is 0x800703E3.

Details: at System.Web.Hosting.ISAPIWorkerRequestInProcForIIS6.FlushCore(Byte[] status, Byte[] header, Int32 keepConnected, Int32 totalBodySize, Int32 numBodyFragments, IntPtr[] bodyFragments, Int32[] bodyFragmentLengths, Int32 doneWithSession, Int32 finalStatus, Boolean& async) at System.Web.Hosting.ISAPIWorkerRequest.FlushCachedResponse(Boolean isFinal) at System.Web.HttpResponse.Flush(Boolean finalFlush, Boolean async) at System.Web.HttpWriter.WriteFromStream(Byte[] data, Int32 offset, Int32 size) at System.IO.Stream.<>c.<BeginWriteInternal>b__46_0(Object ) at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.Tasks.Task.Execute()``

or different error:

``` An error occurred processing a GET request to http://<myProGetNugetEndpoint>/package/AWSSDK.Core/3.3.5: Access to the path is denied.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.Path.InternalGetTempFileName(Boolean checkHost) at Inedo.IO.TemporaryStream.Create(Int64 expectedLength) at Inedo.ProGet.WebApplication.SimpleHandlers.NuGet.NuGetApi.GetHandler.<TransmitPackageAsync>d__1.MoveNext() ```

Product: ProGet
Version: 4.5.4

0
replies

Hi,

Just having issues with this report - no matter what i do the process just continually returns 'There must be at least 1 previously deployed release in order to report the file differences within the artifacts.'

I have multiple releases, with the preceding one deploying the artifact successfully.

Thanks,

Clint

Product: BuildMaster
Version: 5.6.2

1
replies

I add a Copy Files operation and set the "Source directory" and "Target directory" fields and then click save. In the plan editor, the label for the operation says "Copy everything". However, when I run the plan, it copies all files and creates directories but does not copy any of the contents of directories. This is incongruous with the "Copy everything" label for the operation.

Interestingly, if I set the "Includes" field of the operation to "*" then it behaves exactly as described above (files copied and directories created but without contents).

To get the Copy Files operation to truly copy everything I have to set the "Includes" field to "**".

It seems like either the operation is not behaving correctly or the label is misleading.

Product: BuildMaster
Version: 5.6.2

3
replies

I upgraded from 5.6.1 to 5.6.2 this morning and now the UI for editing PSCall operations is broken.

When I click on the edit icon for a PSCall operation In Chrome I get a dialog that says:

An unexpected error occured while posting to the server
Internal Server ErrorYou should try to save your work if possible

When I load Chrome devtools and look at the network call, the response body is

ERROR: Exception has been thrown by the target of an invocation.

The full request that generated this 500 is shown below with some redactions...

POST /plans/editor/action-statement-editor?applicationId=1&planId=1&planType=Plan&planName=Deploy%20Website HTTP/1.1
Host: <our host>
Connection: keep-alive
Content-Length: 1024
Accept: /
Origin: <our host>
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8 Referer: http://<our host>/plans/edit?planId=1&planName=Deploy%20Website&planType=Plan
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.8
Cookie: <the cookies>

Product: BuildMaster
Version: 5.6.2

7
replies

Hi there,

I'm wondering if there is a way of getting private npm modules into ProGet.

https://docs.npmjs.com/private-modules/intro

Thanks,

Dan

Product: ProGet
Version: 4.5.1

2
replies

After updating from 5.5.3 to 5.6.2, plans utilizing the "Execute-PowerShell" command throw the following exception.

   Unhandled exception: System.MissingMethodException: Method not found: 'System.Nullable`1<Inedo.ExecutionEngine.RuntimeValue> Inedo.BuildMaster.Extensibility.Operations.IOperationExecutionContext.TryGetVariableValue(Inedo.ExecutionEngine.RuntimeVariableName)'.
   at Inedo.Extensions.Windows.PowerShell.PowerShellScriptRunner.ExtractVariables(String script, IOperationExecutionContext context)
   at Inedo.Extensions.Windows.Operations.PSExecuteOperation.<ExecuteAsync>d__16.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.BuildMaster.Windows.ServiceApplication.Executions.PlanExecuter.DeploymentPlanExecuter.<Inedo-ExecutionEngine-Executer-IExecutionHostEnvironment-ExecuteActionAsync>d__21.MoveNext()

I rolled back to 5.5.3 and verified my plans were working again and incrementally updated versions. It looks like the problem started occurring in 5.6.0

Product: BuildMaster
Version: 5.6.2

3
replies

With the two packages:

{
    "group": "test",
    "name": "Root",
    "version": "1.0.0"
}

{
    "group": "test",
    "name": "Dependent",
    "version": "1.0.0",
    "dependencies": ["test:Root"]
}

The JSON Response of

http://localhost:81/upack/upack/packages?name=Dependent&group=test

doesn't show the dependency

{
 "group":"test",
 "name":"Dependent",
 "latestVersion":"1.0.0",
 "downloads":"1",
 "isLocal":true,
 "isCached":false,
 "versions":["1.0.0"]
}

The website however, does.

Website View

Product: ProGet
Version: 4.5.4

1
replies

I have only 2 users in my system: anonymous and Admin. I accidently removed Admin from Administrators group, thus locked myself out, and now I get the following error: "There are no privileges set up for the current logged in user "Admin". Please contact your ProGet system administrator to grant privileges"

How can I restore to the previous state? I tried reinstalling but the DB remains in place, so it didn't help.

Thanks in advance! TanTan.

Product: ProGet
Version: 4.5.4

4
replies

One error we got quite often, but not always, btw: we are pushing packages during our TFS(xaml) builds, the build service runs as domain user:

Invoke NuGet push error: Failed to process request. 'There was an error processing the request: The process cannot access the file 'C:\ProgramData\ProGet\Packages.nugetv2\F1\Upper.MapProject.Newsletter.Module\Upper.MapProject.Newsletter.Module.1.6.nupkg' because it is being used by another process.'.

Invoke NuGet push error: The remote server returned an error: (500) Internal Server Error..

Any ideas? Br

Any ideas we are pushing the packages via nuget.exe push…. so I don’t know which process is also using the file mentioned above.

Product: ProGet
Version: 4.5.3

3
replies

Using 5.6.1 (Build 3)

I'm having trouble specifying the parameters of Ensure-AppPool that are of type TypeSpan.

If I use simple integers then I get the following error: Timespan value must be between 00:00:00 and 1.00:00:00 seconds inclusive, with a granularity of 60 seconds

If I use the format shown in the error message above then I get the following error message: Cannot convert value "00:05:00" to TimeSpan type.

Product: BuildMaster
Version: 5.6.1

1
replies

Hi,

I have been attempting to use the proget docker feed, I have managed to Login:

docker login 100.100.00.00:88

Username: Admin

Password: Admin

That works fine.

I tag my image, but then when I push:

docker push 100.100.00.00:88/docker/testimage-one

I get the following response:

850772db4c8b: Preparing

5f70bf18a086: Preparing

d061ee1340ec: Preparing

d511ed9e12e1: Preparing

091abc5148e4: Preparing

b26122d57afa: Preparing

37ee47034d9b: Preparing

528c8710fd95: Preparing

1154ba695078: Preparing

no basic auth credentials

I have updated the docker daemon config so it does not require SLL, I have removed wincred from the docker config.json file and bypassed proxy setting for that ipaddress. Is there anything else i need to configure on the proget server for this to work?

Product: ProGet
Version: 4.5.4

1
replies

Hello,

your installer ProGetSetup4.5.4_SQLExpress.exe contains suspicious files (bmdbupdate.exe) according to Avira. A generic signature named "TR/Dropper.Gen" is found. Please fix.

Best regards, Ricky

Product: ProGet
Version: 4.5.4

1
replies

Hi,

What is the largest Nuget package size proget can handle? Through Nuget push and Proget pickup?

Product: ProGet
Version: 4.5.3

0
replies

When register a bower package with this command:

bower register sample_bower_package https://github.com/nicolasxu/sample_bower_package.git

I got the following error:

bower EUNKNOWN Unknown error: 401 - You must supply credentials to perform this action.

How do I supply credentials to proGet bower feed?

Product: ProGet
Version: 4.5.3

1
replies

I have migrate my proget from a machine without to a new one with IIS.

I have backed up my database, and restore in the new one. I copy my packages to the new server under same folder tree.

My problem its i have a connector return an error:

There is no page or resource at the URL you requested: /NuPeek/nuget

In older server this works fine.

And some packages return http error 500 reporting a different physical path.

Product: ProGet
Version: 4.5.1

1
replies

when pushing package to proget get error

The server returned an error (401): <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

Product: BuildMaster
Version: 5.5.3

Ask A Question
Page: 134567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980