Support Q & A

Tag Filter: Filter
Viewing Page 1 of 24 (20 questions out of 465)

Oracle Ext Load Errors

5
replies

Error... Could not load file or assembly 'file:///C:\BuildMaster_WEBTMP\ExtTemp\Oracle\Oracle.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format.

Verified that the Oracle.dll resides in the proper location.

Any suggestions?

Product: BuildMaster
Version: 4.2.1

Proget issues on net framework 4.5.1 and package distribution

1
replies

This issue is about more than one thing.

Scenario. We have been switching framework versions on our .NET packages and projects to NET 4.5.1

Issue 1:

Packages with a higher framework version can be installed in projecs with a lesser version.

Packages, build for .Net 4.5.1, in the Proget DB now shows.

  • Table:[ProGet].[dbo].[Packages]
  • TargetFrameworks_text: No value

This means that the package is shown, and can be installed in projects targeting frameworks lesser than 4.5.1. This has been tested and Nuget will indeed install the package.

Issue 2:

Packages with a .NET framework version lesser than the one it should be installed into is not visible in the Nuget Package manager.

Packages that has a value in the:

  • Table:[ProGet].[dbo].[Packages]
  • TargetFrameworks_text: Here there is framework info

are not available in the Nuget package manager if the project that it should be installed into does not have a version that is in the listing in the TargetFrameworks_text

This is problematic since .NET can easily use assemblies with a lesser framework version. Installing via the Nuget package console works fine, and the package is installed and works as expected.

We are caching some packages from the Official Nuget feed and those packages are not visible when looking at the Proget feed but can be easily found on the NuGet feed. This shows that the problem seems to lie in Proget and not NuGet.

Product: ProGet
Version: 2.2.13

Fail extracting artifact zip file ...

1
replies

Any suggestions on the below error (deploy artifact to Solaris server). TMP & SOURCE created OK on remote Solaris server. Failed during artifact unzip on same remote server.

B-AUTH Release 7770020 Build 3 to XCQ
Build Execution
Status  Failed
Initiated By    Admin on 4/23/2014 1:47:41 PM
Promoted    4/16/2014 2:30:33 PM to XCQ by dmccaffr
Execution Started   4/23/2014 1:47:41 PM
Execution Ended 4/23/2014 1:48:46 PM
Duration    1min 4.11s

Failure Details
Failed During: Action Group 1 ()
. 
AgentBasedAction Initialization Complete: 
Temp Directory: /home/dmccaffr/_A3/_S4/TMP 
Source Directory: /home/dmccaffr/_A3/_S4/WRK 
Target Directory: /home/dmccaffr 
Server: ACPXCQ (Id: 6) 
Initializing action... 
Initialization complete. Executing... 
Preparing directories... 
Attempting to get artifact associated with deployable ID: 4 
Artifact for action group's deployable found at: C:\BuildMaster\Artifacts\3\777.0020\3\4\FILE.zip 
Loading file from C:\BuildMaster\Artifacts\3\777.0020\3\4\FILE.zip... 
Getting list of files in target path... 
Getting list of files in artifact... 
Determining which files need to be deployed... 
1 files in artifact; 1 files have changed 
Deploying files... 
b1770001.zip 

Extracting artifact zip file... 

An unhandled exception occurred while executing this action: System.IO.IOException at Inedo.BuildMaster.Extensibility.Agents.Ssh.SshAgent.ExtractZipFile(String sourceFileName, String targetPath, Boolean overwrite) at Inedo.BuildMaster.Extensibility.Actions.Artifacts.DeployArtifactAction.DeployIncremental(AgentBase agent, String artifactPath, Boolean deleteInTarget) at Inedo.BuildMaster.Extensibility.Actions.Artifacts.DeployArtifactAction.Execute() at Inedo.BuildMaster.Extensibility.Actions.ActionBase.ExecuteInternal(IActionExecutionContext context, ExtensionConfigurerBase extensionConfigurer, Boolean resumeNextOnError, Boolean logErrorsAsWarnings)

Product: BuildMaster  
Version: 4.2.0

RENAME FILES

1
replies

Attempting to rename file on remote Unix server. Server status is "READY" in Server setup. Server authentication is user name / password.

An unhandled exception occurred while executing this action: System.NotSupportedException: The SshAgent agent does not support the IRemoteCommandExecuter interface. at Inedo.BuildMaster.Extensibility.Agents.AgentBase.GetServiceTService at Inedo.BuildMaster.Extensibility.Actions.RemoteActionBase.ExecuteRemoteCommand(String name, String[] args) at Inedo.BuildMaster.Extensibility.Actions.Files.RenameFilesAction.Execute() at Inedo.BuildMaster.Extensibility.Actions.ActionBase.ExecuteInternal(IActionExecutionContext context, ExtensionConfigurerBase extensionConfigurer, Boolean resumeNextOnError, Boolean logErrorsAsWarnings)

Any suggestions.

Product: BuildMaster
Version: 4.2.0

BuildMaster (No SQL) installation fails

4
replies

Tried installing BuildMaster 4.1.7 without embedded SQL, got the following error (first one of many):

Debug: 40.PROCS\0.BuildMaster_GetEventReference.sql... Error: An error occurred while executing a query: Must declare the scalar variable "@Remarks_Text".

Then hundreds of these after:

Error: An error occurred while executing a query: Could not find stored procedure 'dbo.__BuildMaster_AddStoredProcInfo'.

Any ideas?

D

Product: BuildMaster
Version: 4.1.7

Exception when creating dummy server

2
replies

When I try to create a dummy server (with any name), I get the error below. BuildMaster does succeed in creating the dummy server, but it has no name. I then can edit the details of the no-name dummy server and give it a name, and it takes the name just fine.


Server Error in '/' Application.

2627141Environments_CreateOrUpdateServer22`Violation of UNIQUE KEY constraint 'UQ__Servers__Server_Name'. Cannot insert duplicate key in object 'dbo.Servers'.

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.Data.SqlClient.SqlException: 2627141Environments_CreateOrUpdateServer22`Violation of UNIQUE KEY constraint 'UQ__Servers__Server_Name'. Cannot insert duplicate key in object 'dbo.Servers'.

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:

[SqlException (0x80131904): 2627141Environments_CreateOrUpdateServer22Violation of UNIQUE KEY constraint 'UQ__Servers__Server_Name'. Cannot insert duplicate key in object 'dbo.Servers'.] System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction) +388 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +688 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) +4403 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +6665769 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite) +6667768 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource1 completion, Int32 timeout, Task& task, Boolean asyncWrite) +577 System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite) +735 System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +290 Inedo.Data.DatabaseFactory.Inedo.Data.IDatabaseExecuter.ExecuteNonQuery(String storedProcName, DbParameter[] parameters) +268 Inedo.BuildMaster.Web.Controls.Extensions.AgentEditorHost.SaveExtension() +300 Inedo.BuildMaster.Web.Controls.Extensions.Internal.ExtensionEditorHostBase`1.InitializeNew(Type extensionType) +190 Inedo.BuildMaster.Web.WebApplication.Administration.Environments.EditServer.CreateChildControls() +195 System.Web.UI.Control.EnsureChildControls() +189 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +40 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +313 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2773

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

Product: BuildMaster
Version: 4.1.6

Do I need the ProGet Service running when hosting ProGet in IIS?

1
replies

I did a manual setup of ProGet and everything seems to be working. I did not run the service and the Administration screen says "Service is not currently running". I do see an "Ignore" button. Do I need to run this service when hosting it in IIS? And if yes, how to install without running a webserver inside of it? Thanks.

Product: ProGet
Version: 3.0.1

Proget Error

4
replies

Hey guys we get this two errors today in the morning can you tell us what mean the error msg?

Application: ProGet.Service.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Data.SqlClient.SqlException
Stack:
   at Inedo.TimedExecuterBase.ExecuteMethodHost(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.TimerQueueTimer.CallCallback()
   at System.Threading.TimerQueueTimer.Fire()
   at System.Threading.TimerQueue.FireNextTimers()

----------

Faulting application name: ProGet.Service.exe, version: 3.0.0.2, time stamp: 0x53236ab3
Faulting module name: KERNELBASE.dll, version: 6.3.9600.16656, time stamp: 0x5318237f
Exception code: 0xe0434352
Fault offset: 0x00000000000043c8
Faulting process id: 0xf40
Faulting application start time: 0x01cf55a208ca320c
Faulting application path: C:\Program Files\ProGet\Service\ProGet.Service.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: 5f908023-c383-11e3-80be-00155d015703
Faulting package full name: 
Faulting package-relative application ID

Proget is hosted on Windows 2012R2 in IIS 8.5 .

Product: ProGet
Version: 3.0.0

Quiet period for URL triggered builds/deployments

1
replies

For a code check-in triggered build, there is a quiet period, to avoid triggering to many builds when there are many check-in's, but there is no similar function for a URL triggered build. If a URL triggered build is triggered by an external build system, in my case TFS, and there are multiple builds used as artifacts in the same deployment plan, each completed TFS build would initiate a deployment. Is there a way to avoid each build to trigger a deployment in a similar way as the quiet period?

Product: BuildMaster
Version: 4.1.7

Approaches to environments

1
replies

We are using BuildMaster to deploy builds that are created in TFS. We have just started this, and it works fine, although we now need to re-evaluate our approach with environments/releases in BuildMaster. We are expanding this to more applications, and strategies for re-use of deployment plans and action groups becomes an issue. In our model, we have multiple environments within each promotion step, so we do not only have a linear Dev->QA->Stage->Prod promotion model. We have sub-environments within a "promotion level" environment, and we are switching tasks for those sub-environments. While not providing exact details, say we have 5 dev systems named Dev1, Dev2..Dev5, then 5 QA systems called QA1, QA2..QA5, then a couple of staging environments and a prod with many servers. At the moment, I have set this up in BuildMaster so that each environment has their own deployment plan, so I have a Dev1 plan, a Dev2 plan etc. Problem is maintenance and scalability. I experiment with the linked action group concept, and that may be one option, but the problem with that is that I cannot hard-code servers for each environment, but have to use variables. Then select servers at deployment time, which defeats the idea with a predefined environment. Then, I might as well just use one deployment plan for all Dev environments, and select servers per variable at deployment plan. It will be similar to linking action groups. The only other way is to keep one deployment plan for each instance of each environment, but that is a lot of maintenance. Does anyone have ideas for how to handled this, or are there functions and features in BuildMaster that I am missing?

Product: BuildMaster
Version: 4.1.7

ProGet upgrade installer fails because of access denied

2
replies

I had version 2.2.11 of ProGet installed. I grabbed the upgrade installer (without SQL Express) for 2.2.13 and ran it. The installer failed with an access denied on C:\Program Files\ProGet\WebApp\Resources\Scripts.

Further attempts to run it are now failing because of a FileNotFoundException. From the stack trace in the event log, it sounds like it's trying to grab info about the current installation, but the previous installation attempt had already deleted a load of the files.

This isn't a problem for me anymore since I just uninstalled it via Add or Remove Programs, and grabbed the full version with SQL Express, but I figured you guys might want to know about this.

Here's the stack trace for the FileNotFoundException:

Application: ProGet.Setup.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
Stack:
   at System.IO.__Error.WinIOError(Int32, System.String)
   at System.IO.FileStream.Init(System.String, System.IO.FileMode, System.IO.FileAccess, Int32, Boolean, System.IO.FileShare, Int32, System.IO.FileOptions, SECURITY_ATTRIBUTES, System.String, Boolean, Boolean, Boolean)
   at System.IO.FileStream..ctor(System.String, System.IO.FileMode, System.IO.FileAccess, System.IO.FileShare, Int32, System.IO.FileOptions, System.String, Boolean)
   at System.IO.FileStream..ctor(System.String, System.IO.FileMode, System.IO.FileAccess, System.IO.FileShare, Int32)
   at System.Xml.XmlUrlResolver.GetEntity(System.Uri, System.String, System.Type)
   at System.Xml.XmlTextReaderImpl.FinishInitUriString()
   at System.Xml.XmlReaderSettings.CreateReader(System.String, System.Xml.XmlParserContext)
   at System.Xml.Linq.XDocument.Load(System.String, System.Xml.Linq.LoadOptions)
   at Inedo.ProGet.Setup.ProGetInstallerOptions.ReadServiceInfo(System.Version)
   at Inedo.ProGet.Setup.ProGetInstallerOptions.ReadCurrentInstallation(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[])

Product: ProGet
Version: 2.2.13

Update Release Notes Not Working

3
replies

When viewing the dynamic view of release notes (http://bmserver/administration/updates), the release notes are not working anymore. It correctly produces the number of changes for the release delta (for example, if there are two changes between 4.1.6 and 4.1.7, there are two bullet points, but no text describing the items--it only has blank bullet points.

Product: BuildMaster
Version: 4.1.5

TFS build selection list instead of latest build

4
replies

We are using BuildMaster as a deployment tool, that picks up builds from a Team Foundation Server dropfolder. At the moment, we are picking up the latest green build, but I want to be able to support a pick and choose scenario as well, since we are deploying to multiple environments and need to be able to pinpoint certain builds to use for deployment to certain environments. I believe that I can crate a variable and pick build by freeform text, but that requires me to go to the TFS environment to find the build to use. When I install a new application in BuildMaster, buildmaster is able to provide a list of all available TFS build definitions, and when I get the latest build in my "Create Artifact from TFS Build Output" action, there must be some interaction going on with the TFS server, that lists all builds and figures the latest green one. So could there be a variable to use in order to get a dropdown list of builds for the specific build definition from TFS?

Product: BuildMaster
Version: 4.1.7

Building Imported Deployables

1
replies

We're working in C#, in Visual Studio. We have a fair amount of code in shared DLLs, that we use in a number of projects. When we reference a shared DLL, we do it in one of two ways - we either put a copy of the correctly-versioned DLL in a known place, and add a reference to it in our app's project file, or we put the entire project source tree in a known place and add a project reference to our app's project file. (Depending, of course, on how tightly-bound the DLL's release schedule is to the app's release schedule. If the DLL is essentially fixed, we simply put a copy of it in ~/DLLS, if it's being developed simultaneously with the app, we check out it's entire source tree into ~/externs/dllproject.)

I'm trying to replicate the latter pattern, using a simple test app and test DLL, in BuildMaster. I added the DLL project as a dependency to the app project, and created a deployment plan for the project that included "Get Latest", and "Build MSBuild Project". Then I created a new build. The checkout succeeded, and the build failed. Which doesn't surprise me, because the dependent project wasn't checked out. What did surprise me was that there was no effort made to check out the dependent project, in the logs. BuildMaster is not automatically building the dependencies.

So I've been looking for any action that might be involved in building the deployables, but I've not been able to find one.

How is this normally done?

Product: BuildMaster
Version: 4.1.7

Deploy specific files?

3
replies

Is there an example of creating a simple deployment plan for msbuild? I'm sure the problems I'm having have simple answers...

I have a C# solution and project checked into subversion. I created a project in BuildMaster with an empty deployment plan, and started from scratch.

I have a "Get Latest" action that is successfully checking out the project from SVN.

I have a "Build MSBuild Project" action that is successfully compiling the project.

I have a "Create Build Artifact" action that is successfully creating a zipfile of the entire project directory.

I have a "Deploy Build Artifact" action that successfully unzipping the project to my specified destination directory.

My problem? I don't want to deploy the entire build directory, I only want to deploy the single DLL.

Product: BuildMaster
Version: 4.1.7

Package Retention Policy

3
replies

When are you planning on releasing an update with the ability to control how many versions of a package are kept in a feed? It would be nice if there was a way to add this ourselves via your API if you are not planning to add this in the very near future. Please advise.

Product: ProGet
Version: 3.0.1

SVN E155007

2
replies

I'm trying out BuildMaster. I've done the "Accounts" walkthrough, without a problem. Now I'm trying to build one of our .NET apps, pulled from our SVN server.

I click on "Create New Application", select ".NET Application", enter a name, and click "Next".

In "step 2 of 7", I choose our Source Control Provider (a local instance of Collab.net's svnedge), and in "Path of solution or project" I browse to the trunk folder of the project, and click "Next".

I get an error:

svn: E155007: 'C:\Windows\Temp\tmpE533.tmp' exists and is not a directory

Three questions:

  1. What does this error mean?
  2. How does BuildMaster handle branches, tags, and trunk, when working with SVN? Once I've configured an app from SVN, I'll want to be able to tell BuildMaster to build different branches and tags of it, but it's not clear to me how BuildMaster will determine the appropriate URL for the different branches. There has to be some logic that maps branches into URLs, but I don't see where that is documented.
  3. How do I configure BuildMaster to not use c:\Windows\Temp as its location for temp files?

Product: BuildMaster
Version: 4.1.7

Proget and Symbol/Source server not delivering source stepping

2
replies

Publishing a package containing source and symbols, packaged using the Nuget -symbols command, does provide symbols but not source stepping.

Visual Studio will only step into local code.

It is my understanding that Proget strips a Symbols package for the PDB and Source files, and i assume that it then updates the PDB sourcefile paths to reflect the source server setup.

If this is the case it does not work.

It that is not the expected behavior of Proget, then how do i manipulate the PDB to reflect the Proget source server, so the Source code is available for stepping.

nb. Proget claims that source and symbols are available for the package.

Thomas

Product: ProGet
Version: 2.2.13

Bug using ProGet as a single NuGet feed

4
replies

Hi.

We started using ProGet as our internal package server so we could share some custom packages with multiple teams. Since ProGet supports connectors behind a feed, we created one connector to the NuGet official repository in order to take advantage of its caching capabilities.

Things were going fine until we decided to ditch the official NuGet feed in Visual Studio and use only our ProGet-based one. After disabling the official feed NuGet failed to resolve any remote dependencies our custom packages might have. That seemed odd because we could install any remote package directly without any issues using the very same feed.

We did some debugging and found out that NuGet behaves differently when the official feed is enabled. Here's the trace when only our internal feed is available:

GET http://server/nuget/Default/Packages()?$filter=tolower(Id)%20eq%20'awssdk'&$orderby=Id
GET http://server/nuget/Default/Packages()?$filter=tolower(Id)%20eq%20'awssdk'&$orderby=Id

And here's the trace generated when both NuGet and our feed are enabled:

GET http://server/nuget/Default/Packages()?$filter=tolower(Id)%20eq%20'awssdk'&$orderby=Id
GET http://server/nuget/Default/Packages()?$filter=tolower(Id)%20eq%20'awssdk'&$orderby=Id
GET https://www.nuget.org/api/v2/FindPackagesById()?id='AWSSDK'
GET https://www.nuget.org/api/v2/FindPackagesById?id='AWSSDK'&$skiptoken='AWSSDK','1.4.8.1'
GET https://www.nuget.org/api/v2/FindPackagesById?id='AWSSDK'&$skiptoken='AWSSDK','1.5.30.1'
GET https://www.nuget.org/api/v2/FindPackagesById?id='AWSSDK'&$skiptoken='AWSSDK','2.0.1.0'

Is that a bug in ProGet, in NuGet or are we missing some configuration?

Thanks in advance.

Kind regards.

Product: ProGet
Version: 2.2.13

Send email on failed build

1
replies

Hi, is there a way to send an email (preferrably to a list of email addresses in a variable) when a build fails ?.

Thanks Dave

Product: BuildMaster
Version: 4.1.5

Page: 13456789101112131415161718192021222324