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 30 of 109 (20 questions out of 2171)
2
replies

Trying to add a call to any PowerShell script asset from plans is not working.

This was working previously, but now when I try to add them, it throws this error:
An unexpected error has occurred posting to the server.Internal Server Error. You should try to save your work if possible.

I've tried restarting services, rebooting, etc... but it is not letting me add them still.

Help!

Product: BuildMaster
Version: 5.6.2

1
replies

Hello

We're migrating the Progret Server (Windows 2008) to a new Server runnning Windows 2012. What can i do to migrate the license??

Product: ProGet
Version: 4.6.2

0
replies

I intend to use the symbol server of Proget. From the document at http://inedo.com/support/documentation/proget/feed-types/nuget/symbol-and-source-server
I should only push the symbol package to Proget feed. But, my packages structure are
In library.1.0.0.nupkg, there are 3 subfolders
|-content
|-lib
|-doc.
While library.symbol.1.0.0.nupkg, there are only 2 subfolders
|-lib
|-doc.
I create those package by Nuget.exe v3.5 with -symbol. So, If I only push symbol package, package consumer will not have files under content folder?

Product: ProGet
Version: 4.0.15

16
replies

I am deploying IIS websites and am running into trouble with sites that have multiple bindings. How do you specify multiple bindings (ex. http/:80: AND https/:443:) using Ensure-Site? Do you have to use Ensure-Site twice (once for each binding)? If that is the case, are there any plans to allow this from one call of Ensure-Site? I have use cases where servers have 10 IIS sites with 6 bindings each (different host headers). Obviously this is a bit cumbersome if each one is a separate entry.

Product: BuildMaster
Version: 5.6.2

3
replies

Is it possible to create a DB Connection to an AWS RDS MS SQL server (using builtin Database Connections)?

Product: BuildMaster
Version: 5.6.2

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

3
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
snip...
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()

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.Task`1.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

6
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

2
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

Ask A Question
Page: 1 25 26 27 28 30 32 33 34 35 109