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 23 of 89 (20 questions out of 1767)
1
replies

I have a template with multiple default values.

If I leave the fields empty when trying to call the template via the Visual Editor, it saves the empty values as RemotePort="", however that breaks the idea of default values, as their are ignored.

The visual editor should exclude any property that has an empty value.

Sample

1
replies

When editing a Template using the Visual Mode and trying to add Arguments, the arguments wont save, and will most likely break the template.

The error provided by Otter in the error log is:
"An error occurred in the web application: Variable name must start with $ or @ or %"

4
replies

Could we have an option on the "General Block" limiting the block from running, when the job is trigger because of Configuration drift?

Some installs or scripts might be a bit to extreme to run without some sort of manual approval (Running the job manually)

If this is possible, another option could be to disable the block for scheduled jobs as well.

3
replies

We are evaluating Pro-Get and Otter, i've created a chocolatey repository on the pro-get server, and from the command line installs "choco install chocolatey" work great.

the next stage was to provide some automation to the task, so i've been testing this out this afternoon. So my test role looks like this (local server)

##AH:UseTextMode
# Ensure Choco
# Checks the chocolatey environment is installed
{
    Ensure-File C:\ProgramData\chocolatey\bin\choco.exe;
}

# Install Packages
# Install Chocolatey Packages
{
    PSExec choco install googlechrome -y --force;
}

Google chrome however isn't installing and i think it's a permissions error looking at the chocolatey log file

  • Privileges: is psexec running as system on the local machine, i need to ensure this is running as Admin
  • Do you have any examples of installing packages from a Pro-get server using Otter?
  • Am I doing this right?

Essentially i'd like to automate the installing of the Pro-Get Choco repository onto all Windows 10 Machines in a specific environment.

3
replies

I am currently trying to create a "Web Server" role for Otter.

My first step was to create a Sequence variable, @WebServerFeatures and then try to loop that collection and use PSEnsure to install the missing windows features.

However, I am having some issues with this.

Otter keeps telling me that @WebServerFeatures are not installed, however if I try and move the variable to the server it self, it works just fine.

TL;DR; I am unable to use a variable on the Role, but it works just fine if its declared on the Server.

Couple of screenshots.

<img src="https://nsfpzw-bn1305.files.1drv.com/y3mwzOyhIcjbCexwBWJ8rP8-83YR7XyXoOIR2otIdbzP0fDX_Mq_sciF9zOHjjWfBJMqCXCvPjNQOCX1Lu2FOw6gl0MZz1JKucvjlm41nBeXuICoJ_vmNmR6660ACaFPxZ0uNIhwwgCeTpCf4Ov9V7VMBnVpcP-lTHMvuzQk096ypY/2016-05-23_16-27-55.png?psid=1" />

<img src="https://jb5mag-bn1305.files.1drv.com/y3m_8yFsXqnCl1B0J7g5i-mZHCZjMKP3fN6qeR34cx8ElkzaY-cOUrbTXplBmFTA_oQ2aat7fKfUu5LKAgqC8K5wYrYpK_v1TFoGWG_2YzNMzbHr54VdFYXCjRuEzw1SGBXjf7ScjebdxViFk5NyokLdeCQPPg8AOnUkf5wVJrp0jE/2016-05-23_16-28-21.png?psid=1" />

1
replies

If i create an action under Plans / Templates i can then see it within an Application Plan. However using the Visual mode you cannot drag and drop this onto the plan. This may be a problem in the software?

How do i call a Global template by manually editing in Text Mode?

Thanks

Steve

Product: BuildMaster
Version: 5.0.3

1
replies

We get this error everytime when our PRTG Monitor Software wants to check ProGet startpage but bevor we updatet it to 4.0.14 it works great. PLS tell me what the message means.

 Logged: 5/20/2016 2:37:25 PM
 Level: Error
 Category: HTTP
 Message: An error occurred in the web application: Cannot access a disposed object. Object name: 'SlimMemoryStream'.

 Details:
URL: https://nuget.proget-dev.net/
Referrer: (not set)
User: SA-PRTG
User Agent: Mozilla/5.0 (compatible; PRTG Network Monitor (www.paessler.com); Windows)
Stack trace:    at Inedo.Web.PageFree.SimplePageBase.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Product: ProGet
Version: 4.0.14

1
replies

Could anyone tell me how to use a Global Plan within an application? I understand you can incorporate a global plan into many Application Plans but I cannot find how I call the Global Plan from the Application Plan.

Thanks

Steve

Product: BuildMaster
Version: 5.0.3

1
replies

Hi guy,
everytime we try to update ProGet to 4.0.14 we get this Error:

Faulting application name: ProGet.Setup.exe, version: 4.0.14.4, time stamp: 0x573b8e3e
Faulting module name: KERNELBASE.dll, version: 6.3.9600.18292, time stamp: 0x56fcb50a
Exception code: 0xe0434352
Fault offset: 0x0000000000008a5c
Faulting process id: 0xa88
Faulting application start time: 0x01d1b27317bdeae2
Faulting application path: C:\Users\Proget.INT\AppData\Local\Temp\ProGetSetup\ProGet.Setup.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: 5e31edc4-1e66-11e6-80f6-00155d015703
Faulting package full name: 
Faulting package-relative application ID: 

and this:
Application: ProGet.Setup.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ComponentModel.Win32Exception

Exception Info: System.Data.SqlClient.SqlException
   at System.Data.SqlClient.SqlInternalConnectionTds..ctor(System.Data.ProviderBase.DbConnectionPoolIdentity, System.Data.SqlClient.SqlConnectionString, System.Data.SqlClient.SqlCredential, System.Object, System.String, System.Security.SecureString, Boolean, System.Data.SqlClient.SqlConnectionString, System.Data.SqlClient.SessionData, System.Data.ProviderBase.DbConnectionPool, System.String, Boolean)
   at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(System.Data.Common.DbConnectionOptions, System.Data.Common.DbConnectionPoolKey, System.Object, System.Data.ProviderBase.DbConnectionPool, System.Data.Common.DbConnection, System.Data.Common.DbConnectionOptions)
   at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(System.Data.ProviderBase.DbConnectionPool, System.Data.Common.DbConnection, System.Data.Common.DbConnectionOptions, System.Data.Common.DbConnectionPoolKey, System.Data.Common.DbConnectionOptions)
   at System.Data.ProviderBase.DbConnectionPool.CreateObject(System.Data.Common.DbConnection, System.Data.Common.DbConnectionOptions, System.Data.ProviderBase.DbConnectionInternal)
   at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(System.Data.Common.DbConnection, System.Data.Common.DbConnectionOptions, System.Data.ProviderBase.DbConnectionInternal)
   at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(System.Data.Common.DbConnection, UInt32, Boolean, Boolean, System.Data.Common.DbConnectionOptions, System.Data.ProviderBase.DbConnectionInternal ByRef)
   at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(System.Data.Common.DbConnection, System.Threading.Tasks.TaskCompletionSource`1<System.Data.ProviderBase.DbConnectionInternal>, System.Data.Common.DbConnectionOptions, System.Data.ProviderBase.DbConnectionInternal ByRef)
   at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(System.Data.Common.DbConnection, System.Threading.Tasks.TaskCompletionSource`1<System.Data.ProviderBase.DbConnectionInternal>, System.Data.Common.DbConnectionOptions, System.Data.ProviderBase.DbConnectionInternal, System.Data.ProviderBase.DbConnectionInternal ByRef)
   at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(System.Data.Common.DbConnection, System.Data.ProviderBase.DbConnectionFactory, System.Threading.Tasks.TaskCompletionSource`1<System.Data.ProviderBase.DbConnectionInternal>, System.Data.Common.DbConnectionOptions)
   at System.Data.SqlClient.SqlConnection.TryOpenInner(System.Threading.Tasks.TaskCompletionSource`1<System.Data.ProviderBase.DbConnectionInternal>)
   at System.Data.SqlClient.SqlConnection.TryOpen(System.Threading.Tasks.TaskCompletionSource`1<System.Data.ProviderBase.DbConnectionInternal>)
   at System.Data.SqlClient.SqlConnection.Open()
   at Inedo.ProGet.Setup.ProGetInstallerOptions.ReadDbInfo(System.Version)
   at Inedo.Installer.InstallerApplication.Run[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.String[])
   at Inedo.ProGet.Setup.App.Main(System.String[])

On our system is .NET 4.6.1 installed and on this system we get the problem
on testsystems without 4.6.1 the installer don't crash.

you have a solution that we get it work with 4.6.1?

Product: ProGet
Version: 4.0.14

1
replies

Hi,

We are spread across globe, multiple teams are using proget to fetch packages but seeing the slowness when pulling multiple packages by many developers from a far place. Can we setup the proget proxy server to improve the performance.

Regards,
Harsha

Product: ProGet
Version: 4.0.13

2
replies

How can I move all my Nuget packages from a couple of feeds into another ?

Product: ProGet
Version: 4.0.9

6
replies

I was running v4.9.7, with builds already converted to OtterScript format. I upgraded to v5.0.3, and also upgraded the few extensions that I was using, such as TFS.

The builds seemed to be in "legacy" mode again, so I re-converted them to OtterScript.

However, the builds are failing with an "Invalid variable name" error. I also tried reducing one build to only get the latest files from TFS source control (with a TFS [or SCM] triggered build), with no other steps in the build. This build is still getting the same error.

I can't find anywhere any hints about which variable is missing or invalid.

The error details are:

ERROR: Unhandled exception: System.FormatException: Invalid variable name.
at Inedo.ExecutionEngine.RuntimeVariableName.Parse(String s)
at Inedo.ExecutionEngine.Variables.TextProcessor.ReadVariableOrFunction(Boolean onlyScalar)
at Inedo.ExecutionEngine.Variables.TextProcessor.ReadNext()
at Inedo.ExecutionEngine.Variables.ProcessedString.Load(TextReader reader)
at Inedo.BuildMaster.PlanExecuter.ScriptPropertyMapper.SetPropertyValue(Object target, IVariableEvaluationContext variableContext, String propertyValue, PropertyInfo property)
at Inedo.BuildMaster.PlanExecuter.ScriptPropertyMapper.SetProperties(Object target, ActionStatement action, IVariableEvaluationContext variableContext)
at Inedo.BuildMaster.Windows.ServiceApplication.Executions.PlanExecuter.DeploymentPlanExecuter.<Inedo-ExecutionEngine-Executer-IExecutionHostEnvironment-ExecuteActionAsync>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---

Product: BuildMaster
Version: 5.0.3

1
replies

Are packages cached in our local proget instance that are installed from npm cli using our instance proget as the local registery, but pulled by the npmjs.org external connector?

I don't see any cached using the web interface.

Product: ProGet
Version: 4.0.11

1
replies

Add Privilege

Server Error in '/' Application.

Value cannot be null.
Parameter name: String

Description: 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.

Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: String

Source Error:

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.

Stack Trace:

[ArgumentNullException: Value cannot be null.
Parameter name: String]
System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +14232863
System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +305
Inedo.ProGet.WebApplication.Pages.Administration.Security.Privileges.<>c__DisplayClass21_0.<CreateChildControls>b__6(Object s, EventArgs e) +932
Inedo.Web.PageFree.SimplePageBase.ProcessPost(IEnumerable1 controls) +134 Inedo.Web.PageFree.SimplePageBase.ProcessPost(IEnumerable1 controls) +189
Inedo.Web.PageFree.SimplePageBase.ProcessRequest(HttpContext context) +206
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +712
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +169

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.33440

Product: ProGet
Version: 4.0.11

2
replies

I am needing to install Nuget packages for a .Net project to build but the this fails.

I have downloaded the latest command line version of Nuget and put this is a directory on the server and added a global variable to store its path.

I am successfully downloading the latest version of the project.

My script is

##AH:UseTextMode
# Get Latest Version
{
    Get-Latest-Source
    (
        From: Net Test,
        To: ~/Src,
        Provider: Git
    );
}

# Build and Test
for server NDC-AWS-CI-002
{
    NuGet::Install-Packages
    (
        OutputDirectory: packages,
        NuGetExePath: $NugetExePath
    );

    MSBuild::Build-Project ~\Src\XMPPDeviceClient.sln
    (
        Configuration: Release,
        Platform: Any CPU,
        Arguments: ""
    );
}

The error returned is

Unhandled exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at Inedo.IO.PathEx.Combine(String path1, String path2)
   at Inedo.BuildMasterExtensions.NuGet.Operations.InstallPackagesOperation.<ExecuteAsync>d__12.MoveNext() in C:\BuildMasterAgent\_AGTTMP\_E58445\Src\Extension\Operations\InstallPackagesOperation.cs:line 41
--- 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__19.MoveNext()

Product: BuildMaster
Version: 5.0.3

1
replies

We had an existing ProGet server that was upgraded to 4.0.10 recently. We setup three other servers and pointed them to the same database. I'm trying to configure the load balancing for it. They sit behind an F5 load balancer and when I click the link "Configure Load Balancing", I get a message that says "Load Balancing is disabled." Is there a setting that needs to change to enable this?

Product: ProGet
Version: 4.0.10

2
replies

I've recently upgraded from ProGet 3.7 to ProGet 4.0.13.
The upgrade when without any pain and the updated UI looks very nice. However, I noticed that when I log in as a user with the 'Developer' role, I seem to be unable to change my password.
When I log in as administrator I get an configuration-button next to the log-in/log-out button (which gives me access to the pages that allows me to change the passwords of the users), but when I log in with my developer-account, that button is not available.

I am using ProGet Free with the built-in accounts and roles (so no LDAP or AD integration). Is it possible for individual users to change there passwords in ProGet Free 4.0.13?

Product: ProGet
Version: 4.0.13

1
replies

I get the following exception

System.ArgumentException: Target framework dependency mismatch: Latest Version (MonoAndroid10) and Latest Version (MonoTouch10) at Inedo.NuGet.Packages.Dependencies.PackageDependencyResolver.Combine(PackageDependency a, PackageDependency b)

when trying to pull a package in from nuget.org.

How to fix? Any workaround?

Steps to reproduce:

  1. Press button Add Package
  2. Press button Pull From Another Repository
  3. Feed URL: https://www.nuget.org/api/v2/
  4. Package ID: System.Collections.Immutable
  5. Package Version: 1.1.37
  6. Download Dependencies: Yes
  7. Press button Install Package

Error Details:

System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ArgumentException: Target framework dependency mismatch: Latest Version (MonoAndroid10) and Latest Version (MonoTouch10) 
 at Inedo.NuGet.Packages.Dependencies.PackageDependencyResolver.Combine(PackageDependency a, PackageDependency b) 
 at System.Linq.Enumerable.Aggregate[TSource](IEnumerable`1 source, Func`3 func) 
 at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() 
 at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) 
 at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) 
 at Inedo.NuGet.Packages.Dependencies.PackageDependencyResolver.GetAllDependencyCandidates(IPackageDependencyQueryable feed, IEnumerable`1 packages, Dictionary`2 data, DependencyResolutionOptions options) 
 at Inedo.NuGet.Packages.Dependencies.PackageDependencyResolver.GetAllDependencyCandidates(IPackageDependencyQueryable feed, IEnumerable`1 packages, Dictionary`2 data, DependencyResolutionOptions options) 
 at Inedo.NuGet.Packages.Dependencies.PackageDependencyResolver.ResolveDependencies(IPackageDependencyQueryable feed, IEnumerable`1 packages, DependencyResolutionOptions options) 
 at Inedo.NuGet.Packages.NuGetFeed.GetAllRequiredPackages(IEnumerable`1 imports, DependencyResolutionOptions options) 
 at Inedo.ProGet.WebApplication.Pages.NuGet.Packages.PullFromRepositoryPage.<>c__DisplayClass18.<CreateChildControls>b__12(Object s, EventArgs e) 
 at Inedo.Web.Controls.ButtonLinks.PostBackButtonLink.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) 
 at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 
 at System.Web.UI.Page.HandleError(Exception e) 
 at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 
 at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 
 at System.Web.UI.Page.ProcessRequest() 
 at System.Web.UI.Page.ProcessRequest(HttpContext context) 
 at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() 
 at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Product: ProGet
Version: 3.7.2

2
replies

Trying to use nuget.exe to delete a package. The attempt returns success, but the package doesn't really get deleted.

PS C:\Windows\system32> .\nuget.exe delete Package.Service.Log 1.2.205 Username:SecretPassword -Source http://progetserver.mycompany.com:81
-Verbosity detailed

Package.Service.Log 1.2.205 will be deleted from the 'http://progetserver.mycompany.com:81'. Would you like to continue? (y/N) y
WARNING: Deleting Package.Service.Log 1.2.205 from the 'http://progetserver.mycompany.com:81'.
DELETE http://progetserver.mycompany.com:81/api/v2/package/Package.Service.Log/1.2.205
OK http://progetserver.mycompany.com:81/api/v2/package/Package.Service.Log/1.2.205 92ms
Package.Service.Log 1.2.205 was deleted successfully.

I've also tried to delete using the API, but there's no method to delete a nuget package. Anyone have success deleting packages without having to go into the web UI?

Product: ProGet
Version: 4.0.13

5
replies

I'm trying to push a package using Nuget 3.4.3 and I'm getting Forbidden error whenever I try to push a package. I've tried username:password as the API key, and also entering it when prompted by Nuget. Nothing seems to work. Any ideas? I'm using Proget 4.0.13.

Product: ProGet
Version: 4.0.13

Ask A Question
Page: 123456789101112131415161718192021232526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889