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 67 (20 questions out of 1334)
0
replies

Hello,

With the ProGet version 3.0.2 we have the possibility to create a new package, easily. We use option "Create new package" (Assembles a package on the server by defining metadata and uploading files).

But with ProGet version 3.5.8, this option not exist. Why ? possible otherwise ?

Thanks for your help.

Best regards, Frédéric

Product: ProGet
Version: 3.5.8

0
replies

We have a non-prod environment that is not exposed over internet. We wanted to configure it over SSL and were trying to use self-signed cert. When we do this, when we are trying to upload packages from Jenkins it throws an invalid certificate warning. What is the proposed solution here?

Regards Badal

Product: ProGet
Version: 3.8.6

1
replies

Good morning,

We are currently using Proget for Bower repositories (and also Nuget and NPM). We realize that the current standard for Bower repositories is close to simply link a package name to the corresponding git repositories URL, but for various reasons (ease of automation for CI and CD, tracability, separation of source management and artifact management, etc) we are wondering if and when you would change the way you manage Bower artifact to an Archive-package manner. i.e. .zip .tar.gz packages.

Inspiring ourselves from the way Artifactory is managing Bower packages (creating a custom bower resolver, publishing a .tar.gz file) we were able to create a working proof of concept in around a week, so I'm pretty sure you guys would not have any problems implementing it.

Thank you and have a nice day

Product: ProGet
Version: 4.0.15

1
replies

Could we have a sample similar to http://inedo.com/support/tutorials/writing-a-simple-operation-using-the-otter-sdk. On how to use EnsureOperation and PersistedConfiguration

I was pleasantly surprised with the ExecuteOperation, simple and easy to understand.

But the EnsureOperation totally broke my system.... https://gist.github.com/NsdWorkBook/4f99a0178caec4807ec601a6e34ab5a1

0
replies

I have the following Template that I am trying to use. However I keep getting the following error: Cannot assign a Vector value to a Scalar variable.

##AH:UseTextMode
template SQL-ScalarQuery<$ConnectionString, $CommandText, out $Result>
{
    set $Script = >>
        `$c = `$null;
        `$command = `$null;
        TRY {
            `$c = New-Object System.Data.SqlClient.SqlConnection
            `$c.ConnectionString = $ConnectionString
            `$c.Open();
            `$command = `$c.CreateCommand();
            `$command.CommandText = `$CommandText;
            `$Result = `$command.ExecuteScalar();

            if (`$Result -ne `$null)
            {
                return `$Result.ToString();
            }
            else
            {
                return "";
            }
        }
        FINALLY {
            `$c.Dispose();
            `$command.Dispose();
        }
    >>;

    set $Result = $PSEval($Script);
}

Sample of me trying to use this template:

set $IsSysAdmin = "";
call SQL-ScalarQuery(
    ConnectionString: $SQLServerConnectionString,
    CommandText: >>
        SELECT CAST(IS_SRVROLEMEMBER('sysadmin') as INT)
    >>,
    Result: $IsSysAdmin
);

if $IsSysAdmin == "0"
{
    error;
    Log-Error The user running the Otter Agent must be sysadmin on the local sql server;
}

Screenshot of the error

1
replies

I have ProGet configured to use Active directory. When I use CHOCOLATEGUI The Gui interface that works with "https://chocolatey.org/api/v2" I try and configure it with "http://tfs.celltrust.com:82/feeds/Gen2ChocolateyTest" a chocolatey Feed with 6 chocolatey packages in it. The GUi will not accept the configuration and displays "Failed to query source". If a use a browser and query "http://tfs.celltrust.com:82/feeds/Gen2ChocolateyTest" I am asked for my domain login. I am the admin on ProGet and enter my credentials and then get the list of packages as I would expect. I am a little perplexed that I am asked for my credentials. I thought that when ProGet was configured for active directory that I would be using Integrated authentication and I would not be challenged for my credentials as I was in the Free version before I bought the licence.

I am fairly certain that the CHOCOLATEGUI is running into the challenge for the credentials and failing because it does not have any to offer even though I am logged in with the same domain account I use to Admin ProGet. Both ProGet and the system running the CHOCOLATEGUI are both Windows Server 2012 R2 Statndard and joined to the domain.

Any help or guidance would be appreciated.

Product: ProGet
Version: 4.0.15

1
replies

This question – Release/Build History – mentions that, besides a trigger in a beta extension and 'release archiving' feature that may or may not have been implemented, old artifacts "need to be deleted manually". How do I delete an artifact manually? Is there anything to it other than just deleting the relevant files and directories under the BuildMaster\Artifacts\ directory?

Product: BuildMaster
Version: 4.8.6

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.

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

Ask A Question
Page: 1345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667