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

I'm trying to create a new action that will be called from a build step, and while I can add it to the action group just fine, when I run I get an error that it could no load the type, yet it does not seem any different to any existing actions that I have.

To illustrate this I have created a bare bones action from scratch (code below), deployed it to buildmaster, added the action to an action group in my application and created a new build.

This is the output I get:

ERROR: Could not load type 'NZCustomsServiceExtension.Actions.MyAction' from assembly 'NZCustomsServiceExtension, Version=0.114.1.0, Culture=neutral, PublicKeyToken=null'.

Parameter name: typeName

Source Code

using Inedo.BuildMaster;
using Inedo.BuildMaster.Extensibility.Actions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NZCustomsServiceExtension.Actions
{
    [ActionProperties(
        "My Action", "Does some stuff.")]
    [Tag("NZCustomsService")]
    public class MyAction : ActionBase
    {
        protected override void Execute()
        {
            this.LogInformation("My action got here");
        }
    }
}

What am I missing?

Product: BuildMaster
Version: 4.5.6

3
replies

We have been receiving an error every few days in Buildmaster where it states that it cannot connect to the Buildmaster database and it becomes unusable.

This is strange as the service, website and database are all hosted on the same server.

Error:
Could not connect to the BuildMaster database. BuildMaster will not function property until this is resolved. The specific error message is: Connection Timeout Expired. The timeout period elapsed during the post-login phase. The connection could have timed out while waiting for server to complete the login process and respond; Or it could have timed out while attempting to create multiple active connections. The duration spent while attempting to connect to this server was - [Pre-Login] initialization=6448; handshake=7548; [Login] initialization=0; authentication=377; [Post-Login] complete=1000;

Even stranger than this, the only way to resolve the problem is to restart the website through IIS as well as the Buildmaster service. Restarting the service alone does not cause the website to restore itself to normal functionality.

I've tried changing the protocol to use Shared Memory, TCP/IP and Named Pipes but all three exhibit the same behaviour.

We are using a full installation of SQL Server (not Express) and have tried allocating more RAM to the server, countless service and server restarts. We also used the suggestion from https://inedo.com/support/questions/1826 and cleaned up a large quantity of log entries from the database but to no avail.

We also seem to be observing intermittent SQL Exception error messages indicating a connection (not command) timeout occurred. Example:
Unhandled Exception: System.Data.SqlClient.SqlException (0x80131904): Connection Timeout Expired. The timeout period elapsed during the post-login phase. The connection could have timed out while waiting for server to complete the login process and respond; Or it could have timed out while attempting to create multiple active connections. The duration spent while attempting to connect to this server was - [Pre-Login] initialization=2265; handshake=6424; [Login] initialization=0; authentication=0; [Post-Login] complete=6050; ---> System.ComponentModel.Win32Exception (0x80004005): The wait operation timed out
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error) at System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync() at System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket() at System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer() at System.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK) at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover) at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout) at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance) at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Inedo.Data.SqlServerDataFactory.CreateConnection()
at Inedo.BuildMaster.Data.StandardDataFactory.CreateConnection()
at Inedo.Data.SqlServerDataFactory.CreateCommand(String storedProcName, IEnumerable1 parameters) at Inedo.Data.SqlServerDataFactory.ExecuteNonQuery(String storedProcName, IList1 parameters)
at Inedo.BuildMaster.Data.StoredProcedures.Configuration_GetValue.Execute()
at Inedo.BuildMaster.Windows.ServiceApplication.ServiceConfig.get_PlanExecuterThrottle()
at Inedo.TimedExecuterBase.ExecuteMethodHost(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.TimerQueueTimer.CallCallback()
at System.Threading.TimerQueueTimer.Fire()
at System.Threading.TimerQueue.FireNextTimers()
ClientConnectionId:820290e9-2609-497f-9ccd-f27d1d7ee4ba

I've set up a test script which polls the Buildmaster database every 30 seconds over a weekend and we didn't receive a single connection or command timeout.
Meanwhile the Buildmaster error logs indicate two connection timeouts and one 'Could not connect to the Buildmaster database'.

Product: BuildMaster
Version: 4.6.4

3
replies

I created a folder and placed all my nuget packages in it to do a bulk import in to Proget. Proget does scan the folder and imports all the packages, but it does not removing them from the import folder when they are successfully imported.

This is the description in the documentation:

Bulk Import Drop Path

If set, ProGet will periodically scan this path for packages to import into the feed. Each package that is successfully imported will then be deleted from this path. This is useful for a one-time import of lots of packages, or as a target for a build tool that produces a NuGet package.

I was expect that "Each package that is successfully imported will then be deleted from this path."

Is there something else that needs configured for it to delete the packages?

Thanks

Product: ProGet
Version: 3.5.8

1
replies

Do you guys have any special or different pricing for different types of customers? Educational Institutions? Public Sector? Nonprofits? etc...?

Thanks!

Product: ProGet
Version: 3.6.0

1
replies

I have a Linux script defined in the Script Repository.

When the script is used in a deployment plan it does not have a value for any of the variables even when using {}

'#!/bin/bash Note: The single quote is an escape to show the # in this post
. $HOME/.bash_profile
echo This is from the script repository.
echo Server Level DeployDir $DeploymentScripts
echo BM Func AppNm ${ApplicationName}
echo BM Func RelNum $ReleaseNumber
echo BM Func BldNum $BuildNumber
echo Script Level DeployPath $DeploymentPath
echo Script Level DeployMain $DeploymentMainFile

The script has two parameters defined

Parameter	Description	Default Value	
DeploymentMainFile	Main SQL file	DEPLOY.SQL	
DeploymentPath	Deployment path	DB

If I create new using Add Action - Execute Shell Script
Most of the values are there.
There may be a different problem with script parameters and Execute Shell Script.

'#!/bin/bash Note: The single quote is an escape to show the # in this post
. $HOME/.bash_profile
echo This is from the Add Action - Execute Shell Script.
echo Server Level DeployDir $DeploymentScripts
echo BM Func AppNm ${ApplicationName}
echo BM Func RelNum $ReleaseNumber
echo BM Func BldNum $BuildNumber
echo Script Level DeployPath $DeploymentPath
echo Script Level DeployMain $DeploymentMainFile

The script has two parameters

DeploymentPath="myDeployPath"
DeploymentMainFile="myDeployFile"

Result:

3: DB test parms (Shell Script)
 DeploymentMainFile: DB_deploy.sql, DeploymentPath: db/dbdeploy
Source and target directory are the same; splitting...
AgentBasedAction initialization complete:
  Temp Directory: /tmp/buildmaster/_A233/_S242/TMP
  Source Directory: /tmp/buildmaster/_A233/_S242/SRC
  Target Directory: /tmp/buildmaster/_A233/_S242/WRK
  Server: DB-DEPLOYMENT (Id: 405)
Initializing action...
Initialization complete. Executing...
Executing DB test parms v11...
This is from the script repository.
Server Level DeployDir
BM Func AppNm
BM Func RelNum
BM Func BldNum
Script Level DeployPath
Script Level DeployMain
Script returned: 0
Script completed.
Execution complete. Finalizing...
Target directory unused; joining with source.
Finalization complete.
0.61s  Succeeded

4: Execute Shell Script
 Execute "#!/bin/bash
 . $HOME/.bash_profile
 echo This is f..."
Source and target directory are the same; splitting...
AgentBasedAction initialization complete:
  Temp Directory: /tmp/buildmaster/_A233/_S242/TMP
  Source Directory: /tmp/buildmaster/_A233/_S242/SRC
  Target Directory: /tmp/buildmaster/_A233/_S242/WRK
  Server: DB-DEPLOYMENT (Id: 405)
Initializing action...
Initialization complete. Executing...
This is from the Add Action - Execute Shell Script.
Server Level DeployDir /deployment_scripts/buildmaster
BM Func AppNm MyApp
BM Func RelNum 2.1.0
BM Func BldNum 150507004
Script Level DeployPath
Script Level DeployMain
Script returned: 0
Script completed.
Execution complete. Finalizing...
Target directory unused; joining with source.
Finalization complete.

Product: BuildMaster
Version: 4.6.4

1
replies

What are the limitations on the free version? I saw this question, which listed these limitations:

  • Active Directory / LDAP Integration
  • Filter Packages by Name & License
  • Load Balancing & High Availability
  • Granular Privileges & Security

but then I saw on this page that it looks like the symbols server is only available on the enterprise verison. Is there a detailed table of the differences between all the versions?

Product: ProGet
Version: 3.6.0

3
replies

We want to have connectors and cache packages from other repos, including nuget.org. The problem we have though, is that we have to use certain versions of packages since those have been tested with our code. We upgrade to newer packages, but we have to carefully test each one as we upgrade. So I was wondering if we could use filter out specific versions of specific packages?

So far we have been manually mirroring over those packages to our internal NuGet Gallery. Do you have a best practice for this with ProGet? Thanks!

Product: ProGet
Version: 3.5.8

4
replies

these appear during npm install:

npm http 200 http://proget.fsw.com/npm/fsw-npm/gulp-filter
npm http 404 http://proget.fsw.com/npm/fsw-npm/gulp-flatten/0.0.4
npm ERR! TypeError: Cannot call method 'match' of undefined

i see this with our private packages as well as public ones. if i nav to http://proget.fsw.com/npm/fsw-npm/gulp-flatten/0.0.4 in a browser, i get a 404 as well.

navigating to http://proget.fsw.com/npm/fsw-npm/gulp-flatten will display json data, and i see the correct package version i am attempting to download.

if i change the version dependency in my package.json file to '0.0.x', proget will successfully return the package.

any ideas? thanks!

Product: ProGet
Version: 3.5.8

5
replies

Is it possible to increase the length of the connector filter used for filtering NuGet packages? We'd like to use the a filter to maintain a list of approved packages for our organisation and the current length of the filter (1000 characters) isn't sufficient for this.

Product: ProGet
Version: 3.5.8

4
replies

Have you got any good examples for unit testing extentions?

Are MockActionExecutionContext and UnitTestActionBase of any use?

Product: BuildMaster
Version: 4.6.4

1
replies

I go to the Default Feed and select any package with dependences. I click the Pull to ProGet button, check the "Download Dependencies" checkbox and click the "Install Package" button. I get an HTTP 500 error.

Product: ProGet
Version: 3.5.6

1
replies

What URL do I specify given the base URL of http://ad1hfdahp802:8881/ for ProGet to list ProGet as a NuGet package in Visual Studio (under Options-->NuGet Package Manager-->Package Sources).

Product: ProGet
Version: 3.5.6

1
replies

Is it possible to customize the windows service name from the BM Agent silent installer?

Product: BuildMaster
Version: 4.6.4

4
replies

I think this is likely a feature request. We use ProGet to post and fetch CI builds of our own shared components all day long. After awhile, you can imagine this results a number of unneeded builds to pile up that need to be cleaned because they are no longer relevant to current development. To get around this problem, I wrote my own cheesy script to save the most recent number of builds - and so it solves our problem, but it can be problematic. It seems like when I delete the packages, ProGet can stop serving newly posted packages while it's re-indexing - this has caused downstream CI builds to fail because ProGet can't find the latest posted package of the shared component. I got around that by cleaning only during lulls in dev. but I've wondered if there was a better way, or a cleaning feature in the product I've missed. Ultimately, I'd really like a setting in the feeds that would allow me to "Keep X Number of Builds" and cleanup the old packages on a schedule so I could toss my script. :-) Does a related-type feature exist and I've missed it? I've checked out Artifactory and Nexus and while they can clean maven snapshots AOK, both appear to lack this feature for NuGet packages. Thanks.

Product: ProGet
Version: 3.5.4

1
replies

the installer wants to set the database collation to ‘SQL_Latin1_General_CP1_CI_AS’.

This step however fails with following exception: “The database could not be exclusively locked to perform the operation.”

Manually setting the database to single user, i.e.:

ALTER DATABASE [DbName] SET SINGLE_USER WITH ROLLBACK IMMEDIATE

resolved this issue.

Product: ProGet
Version: 3.5.8

1
replies

i was trying webservice deployment using the same artifact created in Devshared and deploying in Devtest and PROd. how to use same artiface in devtest and prod which i created in devshared

Product: BuildMaster
Version: 4.6.4

3
replies

How do you pass parameters to a Linux shell script in the Execute Shell Script action?
How do I define the parameters?
How does the Script Text reference the parameters?

Product: BuildMaster
Version: 4.6.4

2
replies

I have 3 different projects (database, desktop client, middleware) that are built independantly, I want to bring the resulting artifacts together and deploy as a whole. I assume that will mean creating a seperate "application" that aggregates the results from the other 3.

Requirements:

  • Could be 1, 2 or all 3 components available for a release
  • As each application is built and notifies the "aggregate application", the build step would need to include artifacts from other projects if they have previously triggered a build, eg:
  • PrjA builds and triggers PrjAggregate - it now has 1 artifact to deploy
  • PrjC builds and triggers PrjAggregate - it now has 2 artifacts to deploy as it has imported the previous builds artifacts into the new build
  • PrjB never builds - PrjAggregate has 2 artifacts to deploy

Product: BuildMaster
Version: 4.5.6

1
replies

Hello all,

We are currently trying to develop a custom extension do do some interfacing with out back end data store using our existing data layer library which leverages EF. Is this a possibility or will we be needing to write some traditional SqlClient methods?

Product: BuildMaster
Version: 4.6.4

0
replies

Hi Alex,
I saw your Kickstarter project Release! the Game.
I want to see if you'd like to do a cross promotion?
I will share your project with a following of about 17,000 Kickstarter backers we have at www.funded.today. I can send people to your Kickstarter page, or directly to your website.
In exchange, you'd simply do a backer update and tell them about our cashback program at http://Funded.Today/cashback/
For others we have worked with, it has gone really well, and they have been happy. It's been a win/win.
Should we plan to post for each other sometime later this week?
Thanks,
Christine
Funded Today

Product: BuildMaster
Version: 4.6.4

Ask A Question
Page: 1 62 63 64 65 67 69 70 71 72 109