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 78 of 95 (20 questions out of 1887)
1
replies

Are there any benefits or drawbacks to hosting BuildMaster and ProGet on the same server?

4
replies

Hi,
I am evaluating the BuildMaster and I was able to get the latest from TFS and when I execute the MSBuild, it failes with an error code -1. Here is output I see:

Action 1: Build (Debug; AnyCPU) SPE.WebServices.WebApi.Internal.sln using .NET 3.5 from default directory to the \bin{config} subdirectory of each project in the solutionCustom Variables: (none)Source and Target directory same; splitting.AgentBasedAction Initialization Complete: Temp Directory: C:\BuildMaster_SVCTMP_A2_S3\TMP Source Directory: C:\BuildMaster_SVCTMP_A2_S3\SRC Target Directory: C:\BuildMaster_SVCTMP_A2_S3\WRK Server: IE9WIN7 (Id: 1)Initializing action...Initialization complete. Executing...Building Application Action: Build; Path: C:\BuildMaster_SVCTMP_A2_S3\SRC\SPE.WebServices.WebApi.Internal.slnArguments: "C:\Windows\Microsoft.NET\Framework\v3.5\msbuild.exe" "C:\BuildMaster_SVCTMP_A2_S3\SRC\SPE.WebServices.WebApi.Internal.sln" "/p:Configuration=Debug;Platform=AnyCPU"Working Directory: C:\BuildMaster_SVCTMP_A2_S3\SRCExecuting C:\BuildMaster_SVCTMP\ExtTemp\WindowsSdk\BmBuildLogger.exeStep failed (msbuild returned code -1)Execution complete. Finalizing...Target directory unused; joining with source.Finalization complete.

8
replies

Hello!

This regards ProGet (v2.2.9) and the official NuGet command line tool (v2.7.41115.310).

Environment: Windows 8; IIS 8; bundled SQL Server Express 2005.

I try to use the default API key config, and the option "-ApiKey Admin:Admin" still makes NuGet ask for credentials.

Output:

>nuget push "jquery.2.0.3.nupkg" -Source http://localhost:8081/nuget/out-of-the-box -ApiKey Admin:Admin
Pushing jQuery 2.0.3 to 'http://localhost:8081/nuget/out-of-the-box'...
Please provide credentials for: http://localhost:8081/nuget/out-of-the-box
UserName: Admin
Password: *****
Your package was pushed.

The feed has no API key. LDAP auth is neither used nor supported (free).

I've also tried to specify an API key for the feed, then created a new role with the "Feeds_AddPackage" task, then granted the role for "Anonymous User".

Even then, the NuGet tool asks for credentials.

Output:

>nuget push "jquery.2.0.3.nupkg" -Source http://localhost:8081/nuget/out-of-the-box -ApiKey test
Pushing jQuery 2.0.3 to 'http://localhost:8081/nuget/out-of-the-box'...
Please provide credentials for: http://localhost:8081/nuget/out-of-the-box
UserName: Admin
Password: *****
Your package was pushed.

Please see what happens when the task "Feeds_OverwritePackage" is not granted for Anonymous:

>nuget push "jquery.2.0.3.nupkg" -Source http://localhost:8081/nuget/out-of-the-box -ApiKey test
Pushing jQuery 2.0.3 to 'http://localhost:8081/nuget/out-of-the-box'...
Please provide credentials for: http://localhost:8081/nuget/out-of-the-box
UserName: Admin
Password: *****
Failed to process request. 'There was an error processing the request: The package jQuery.2.0.3 already exists and the user Anonymous does not have the Feeds_OverwritePackage privilege.'.
The remote server returned an error: (403) Forbidden..

I don't know what to do or try next, and I would appreciate your assistance.

Thank you in advance!

1
replies

Hi
I am about to purchase some upgrades to the express edition and I am trying to work out if I have the correct mix of enhancements.

What I like to be able to do the following for a number of applications:

a) Have a standard Integration, Testing, Production workflow with:
Integration with sql scripts initiated of an automated build trigged by a SCCM check in with a reduce set of unit tests.
Testing initiated manually 
Production initiated after signed off by Manager 

b) Once night on Automated build based on a specified time run:
	1. Restore of the current production database to a separate db to above
	2. Action any sql scripts that may be integration and testing
	3. Execute a complete set of complete set of unit tests against the current release/build in integration.
	
c) Similar to above but this time, after a db restore to a different database, a complete set of tests are run against the release currently in production.

So I believe I need:
Unlimited Applications - As I have more than 10
Unlimited Automatic Builds Upgrade - As app will have a sccm build and 2 recurring builds
Unlimited Environments - as the dbs will be different in build b and c to the environments in a, plus and there is no deploy required to the target environments
Multiple Promotion Workflows Upgrade - as the Automated build for b and c would be against a different workflow to standard.

Do I require Multiple Active Builds - this feature I don't fully understand?
Have I missed anything?

Plus

I believe there is no limit in the number of database connections?

  My understanding that the Buildmaster tracks sql scripts with a metatable held in the database. Does the database scripts packager maintain the same table?

Thanks Tim Daborn

1
replies

I think i found a reproducible bug.
First you set up a feed, and add a package to it.
Then you go and rename the feed.
If you search the packages again the package has disappeared. "No packages found."

Sometimes the bug shows up after two renames and not the first one.

can anyone else confirm this? is there a bug tracker for proget?

thanks

2
replies

I tried to build my first extension, but I can't seem to make it show up in BuildMaster.

BuildMaster version 4.0.9 build 31

I applied the BuildMaster assembly attribute in AssemblyInfo.cs, I added the ActionProperties and Tag attributes to my action and even tried renaming my dll to bmx. Is there something basic I am missing?

1
replies

Hi,

After a successful update from 2.2.5 to 2.2.9, i'm not able to login to the site anymore. Login page says i can login with Admin/Admin, but after doing so, the page loads for 2 secs and after that User and Pass boxes go white again and nothing else happens.

Nothing gets logged on the event viewer.

I updated the app using

C:\Users\Dalmiro> .\ProGetSetup2.2.9.exe /upgrade

I did the DB backup suggested by the installer.

2
replies

We are using Buildmaster 4.0.8 (build 31) and have created execution variables for each of our environments and set them to require a value with no default.

If we create a new build and leave the checkbox "Promote New Build to First Environment" ticked we never get asked to enter the variables. Propmtion to subsequent environments does ask for the variable value.

If we create a new buuild and untick the "Promote New Build to First Environment" checkbox, then click "Promote to DEV" we can enter the vaiable values.

Thanks
Dave

2
replies

Hi. Installer crashes when i try to update using the following command line:

C:\Users\Dalmiro> .\ProGetSetup2.2.9.exe /upgrade

I'm trying to update app to the latest version before rolling this to production.

The two following entries get logged after each crash:

---------1------------

Application: ProGet.Setup.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Data.SqlClient.SqlException
Stack:
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(System.Data.Common.DbConnection, System.Data.ProviderBase.DbConnectionFactory, System.Threading.Tasks.TaskCompletionSource1<System.Data.ProviderBase.DbConnectionInternal>, System.Data.Common.DbConnectionOptions) at System.Data.SqlClient.SqlConnection.TryOpen(System.Threading.Tasks.TaskCompletionSource1<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]
at Inedo.ProGet.Setup.App.Main(System.String[])


---------2------------
Faulting application name: ProGet.Setup.exe, version: 2.2.9.7, time stamp: 0x52d46053
Faulting module name: KERNELBASE.dll, version: 6.2.9200.16384, time stamp: 0x5010ab2d
Exception code: 0xe0434352
Fault offset: 0x00000000000189cc
Faulting process id: 0x10f4
Faulting application start time: 0x01cf1202ee0899b6
Faulting application path: C:\Users\dalmiro.granas\AppData\Local\Temp\2\ProGetSetup\ProGet.Setup.exe
Faulting module path: C:\windows\system32\KERNELBASE.dll
Report Id: 34c3c747-7df6-11e3-940e-005056a83bf3
Faulting package full name:
Faulting package-relative application ID:


Thx in advance

3
replies

I have upgraded BuildMaster from 3.6 to 4.0.8 and now I am receiving "Error scanning agent for SERVERNAME" error messages page.

I was using IIS-hosted (SOAP) and they I have run the agent installer to update the service. It has updated correctly and changed the application pool to 4.0. On server/environment page it shows:

Status - Outdated
Hosted - Yes (an agent is installed on the remote server)

If I type the agent.asmx url, in the browser, it shows the service correctly.

I have tried to update the agent and even restart the agent. The status does not change. After few minutes, I received a message of "Errors were reported in the error log.", at the top of BM, and the "Error scanning agent for ServerName" in detail message.

How can I receive an outdated message if I just updated the service?

Here is the exception information:

Logged 1/14/2014 4:20:19 PM
Message Error scanning agent for SERVERNAME (2)
Stack Trace at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.File.InternalReadAllBytes(String path, Boolean checkHost)
at Inedo.BuildMaster.Extensibility.Agents.Soap.SoapAgent.<Inedo.BuildMaster.Extensibility.Agents.IHostedAgent.Update>b__c(ExtendedFileEntryInfo e)
at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() at System.Linq.Enumerable.<ConcatIterator>d__711.MoveNext()
at System.Linq.Buffer1..ctor(IEnumerable1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at Inedo.BuildMaster.Extensibility.Agents.Soap.SoapAgent.Inedo.BuildMaster.Extensibility.Agents.IHostedAgent.Update(IHostedAgentContext context, Byte[] coreAssemblyZip)
at Inedo.BuildMaster.Windows.ServiceApplication.AgentUpdater.CheckServer(Servers server)
Close

And the assembly versions:

Core Assembly Versions
BuildMaster 4.0.8.31
BuildMaster.Extensibility 4.0.8.31
BuildMaster.Web.Controls 4.0.8.31
BuildMaster.Web.RemoteAgentWebApplication 4.0.8.31
BuildMasterCore 4.0.8.31
BuildMasterExtensions 4.0.8.31
ICSharpCode.SharpZipLib 0.86.0.518
InedoLib 58.1.0.0
Menees.DiffUtils 2.0.2.0
Renci.SshNet 2013.4.7.0

2
replies

When browsing packages in ProGet, if the package name has a full-stop (period) in it, I get the following error:

Value cannot be null.
Parameter name: content

Stacktrace:
[ArgumentNullException: Value cannot be null.
Parameter name: content]
Inedo.Web.Controls.SimpleHtml.Element..ctor(String elementType, Object content) +454
Inedo.ProGet.WebApplication.Pages.Feeds.PackageDetailsPage.CreateChildControls() +5576
System.Web.UI.Control.EnsureChildControls() +189
System.Web.UI.Control.PreRenderRecursiveInternal() +60
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4297

1
replies

I would like to know if it is possible to download symbol files stored in ProGet's Symbol Server without using Visual Studio.

If it is possible, how can I do it?

I only have the Package Id / version and the symbol filename. Looking into the JSON API provided with ProGet it looks like I need the Symbol Id which I've found is an internal id for the symbol used by ProGet, therefore I won't know what this is.

Thanks

Alex

1
replies

On a clean install of Proget I've completed the following

  1. Login as Admin, navigate to /administration/security/enable-ldap
  2. Head the two warnings on missing LOGON_USER header and missing privilges
  3. Connect to IIS and enable Windows Authentication, Disable Forms Authentication
  4. Restart app pool
  5. Login as Admin, navigate to /administration/security/enable-ldap
  6. Get the same error messages

I'm unable to select anything under the Assign privileges button.

Am I missing something in configuring LDAP?

7
replies

I'm trying to push packages to our internal proget server using a powershell script.
ProGet Server v2.2.4

I can get this to work fine from the command-line, but always get 500 Errors when run as a headless service on a (Bamboo) build slave.
I get the same error if I directly invoke the nuget command from the build system.
Similar error when listing the specified repo (nuget list -Source ...).

The build service is run under the "Local System" account. This is the only obvious difference so I was wondering if this the cause of the error?

Pushing DelphiOBU.OBUCore.OBUCommon 2.5.9965.30 to 'http://192.168.142.26:81/nuget/R35'...
build 30-Dec-2013 15:48:50 PUT http://192.168.142.26:81/nuget/R35/
error 30-Dec-2013 15:48:51 System.InvalidOperationException: Failed to process request. 'Internal Server Error'.
error 30-Dec-2013 15:48:51 The remote server returned an error: (500) Internal Server Error.. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
error 30-Dec-2013 15:48:51 at System.Net.HttpWebRequest.GetResponse()
error 30-Dec-2013 15:48:51 at NuGet.RequestHelper.GetResponse(Func1 createRequest, Action1 prepareRequest, IProxyCache proxyCache, ICredentialCache credentialCache, ICredentialProvider credentialProvider)
error 30-Dec-2013 15:48:51 at NuGet.HttpClient.GetResponse()
error 30-Dec-2013 15:48:51 at NuGet.PackageServer.EnsureSuccessfulResponse(HttpClient client, Nullable1 expectedStatusCode) error 30-Dec-2013 15:48:51 --- End of inner exception stack trace --- error 30-Dec-2013 15:48:51 at NuGet.PackageServer.EnsureSuccessfulResponse(HttpClient client, Nullable1 expectedStatusCode)
error 30-Dec-2013 15:48:51 at NuGet.PackageServer.PushPackageToServer(String apiKey, Func`1 packageStreamFactory, Int32 timeout)
error 30-Dec-2013 15:48:51 at NuGet.PackageServer.PushPackage(String apiKey, IPackage package, Int32 timeout)
error 30-Dec-2013 15:48:51 at NuGet.Commands.PushCommand.PushPackageCore(String source, String apiKey, PackageServer packageServer, String packageToPush, TimeSpan timeout)
error 30-Dec-2013 15:48:51 at NuGet.Commands.PushCommand.PushPackage(String packagePath, String source, String apiKey, TimeSpan timeout)
error 30-Dec-2013 15:48:51 at NuGet.Commands.PushCommand.ExecuteCommand()
error 30-Dec-2013 15:48:51 at NuGet.Commands.Command.Execute()
error 30-Dec-2013 15:48:51 at NuGet.Program.Main(String[] args)

1
replies

Hi,

seems that the package name is case sensitive for ProGet, but only when requiring a specific version. Here is the repro:

  • Configure NuGet file at %AppData%\NuGet\NuGet.config so that it only point to ProGet
  • Empty local cache at %LocalAppData%\NuGet\Cache
  • execute the following command:

nuget.exe install phantomjs

  • It works as expected
  • Delete the downloaded package in the current dir
  • Empty (again) local cache at %LocalAppData%\NuGet\Cache
  • execute the following command:

nuget.exe install phantomjs -Version 1.9.2

Expected behavior: Should download the package

Actual behavior: Unable to find version '1.9.2' of package 'phantomjs'.

Version used

  • ProGet version 2.1.4 (Build 3)
  • NuGet Version: 2.7.41115.310
3
replies

I have a PowerShell script which accepts parameters calling various PowerShell and dos commands. I need to execute this script from build master, so I can pass in various parameters such as %RELNO%.%BLDNO%.

Because the script is rather complex and will be called from a different applications I want to keep it as a file rather than pasting it into the script box of the Execute PowerShell Script. The script resides on the same server as Buildmaster.

However passing parameters to a script appears to be problematic in BuildMaster. I have tried both Execute PowerShell Script and Execute Shell Script.

So far the only I way I can execute this script is via a Execute Command Line action, which passes parameters from BuildMaster to a batch file. This batch file, in turn, executes powershell.exe calling the my PowerShell script with the received parameters .

So far, so good. However the BuildMaster log only captures some of the output raised from within the PowerShell script. In particular the output from the dos commands executed from within my PowerShell script does not appear in the BuildMaster log

I have tried various methods from within my PowerShell script (transcript , various piping, etc). Even piping the whole output from the powershell.exe command in my dos batch file. But no matter what I do, it seems that while I can capture or see the output when I run the batch script from windows, it is lost when I call the dos batch file from BuildMaster.

How can I capture the output? Is there a better way to do this?

1
replies

Hi Proget.

I'm using the free version of ProGet, and I would like to ask a question about the behaviour of your Feed Connectors

Given the following scenario:
I create 2 feeds, publish a NuGet package to both feeds with the same Id and Version, but each package has different content.
Then I create a Connector in one feed to access the other.

If I request a package from my feed without the connector, I download the package hosted in that feed. (As expected)
If I request a package from my feed with the connector, it seems to randomly choose which package to download (the locally hosted one or the connected one)

This seems counter intuitive. I would have thought if both feeds contain the same version of the package, it would prioritise the locally hosted version (to save any extra network access if the connected feed was remote)
Even if this wasn't the case, randomly choosing a feed to download from doesn't seem sensible.

Is this expected behaviour?

Thanks

2
replies

I cannot get seem to be able to pass parameters to a powershell script that lives on the build server.

When I run it, I get "BuildMaster does not support input prompts from PowerShell. Message: Supply values for the following parameters:"

It seems that the script is not being passed the variable.

Is this feature broken\missing?

7
replies

Here's what I've done to integrate Leankit:

  1. Created an Issue/Bug Tracking Provider
  2. Used the default for the tagging: rel-%RELNO%
  3. Configured Issue Tracker under the application
  4. Tagged a few cards with rel-1.1
  5. Visited the Overview page for Release 1.1
  6. Scanned down to Issues and see: "There are no issues for this release".
1
replies

I am building packages via TeamCity and publishing the Packages to the Proget Server after they are built. I am creating the packages versioned with the Build Number as part of the package version. I am compiling a huge number of old packages in ProGet and would like a quick way to purge the old packages programatically. Any suggestions? I'm thinking a Powershell Script is needed but would like a better way if possible.

Ask A Question
Page: 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767880818283848586878889909192939495