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 90 of 101 (20 questions out of 2010)
1
replies

When trying to delete an application I get the following error. Is there a work around for this?

Server Error in '/' Application.

547160Applications_PurgeApplicationData173`The DELETE statement conflicted with the REFERENCE constraint "FK__BuildExecution_VariableValues__BuildExecution_PlanActions". The conflict occurred in database "BuildMaster", table "dbo.BuildExecution_PlanActionVariableValues", column 'BuildExecution_PlanAction_Id'.

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: 547160Applications_PurgeApplicationData173`The DELETE statement conflicted with the REFERENCE constraint "FK__BuildExecution_VariableValues__BuildExecution_PlanActions". The conflict occurred in database "BuildMaster", table "dbo.BuildExecution_PlanActionVariableValues", column 'BuildExecution_PlanAction_Id'.

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): 547160Applications_PurgeApplicationData173`The DELETE statement conflicted with the REFERENCE constraint "FK__BuildExecution_VariableValues__BuildExecution_PlanActions". The conflict occurred in database "BuildMaster", table "dbo.BuildExecution_PlanActionVariableValues", column 'BuildExecution_PlanAction_Id'.]
System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +212
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +245
System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1099
System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +6291804
System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +6292993
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +424
System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) +522
System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +182
Inedo.Data.DatabaseFactory.Inedo.Data.IDatabaseExecuter.ExecuteNonQuery(String storedProcName, DbParameter[] parameters) +144
Inedo.Data.WrappedStoredProcedure.ExecuteNonQuery() +108
Inedo.BuildMaster.Web.WebApplication.Administration.Applications.PurgeApplication.<CreateChildControls>b__6(Object s, EventArgs e) +72
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +115
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +140
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +29
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2981

1
replies

Is it possible to use a variable for the 'Responsible Principle' value of the Manual Action task ?.

We are using different groups of people to handle deployments to development and Productions systems and are using linked action groups - so using a variable which links to an active directory user or group would solve this problem for us.

6
replies

The permissions system in ProGet is contra-intuitive and potentially dangerous.

Lets assume a case with 3 users A, B, C and 2 repositories R1, R2. All users are in the Active Directory/LDAP backend.

  • User A does not have any custom permissions set.
  • User B does have (Admin/devel) permissions to R1, no permission set to R2.
  • User C does have deny admin permissions to R1 and admin permissions to R2.

Case: User A browses to the local ProGet site.

Expected outcome: A can view the site, but does not see any feeds and does not have a way to determine the name of feeds of the system.

What actually happens in ProGet: A can view the site, sees some links containing feed names, but many lead to 500 error pages.

Case: User B browses to the local ProGet site.

Expected outcome: B can view and upload packages for R1, but cannot find out there is a repo R2.

What actually happens in ProGet: B can view the site, maybe sees a broken link with another feed name in it, but cannot actually upload any packages, because of Error 500. This is because no entry with Deny for R2 has been created.

Case: The administrator adds a new feed R3 to the ProGet repository and grants A developer permissions to R3.

Expected outcome: A can now download and publish packages to R3.

What actually happens in ProGet: The system breaks for the unrelated users B, C; they are confronted with 500 errors.

A possible solution might be to give (system) permissions to everyone, then add Deny entries.

This is not recommended because this means that:

  • on every change in the feed layout, all users permissions have to be updated. As soon as there are more than a handful of users, the effort to do this quickly becomes prohibitive.
  • Deny entries are managed separately from Grant. This means it's easy to forget one or the other. ProGet breaks down for the user for some of these cases, but not for all (remove Grant, do not remove Deny -> breaks. Remove Deny, do not remove Grant -> does not break).

But the most important problem is that a change to one part of the system (adding a feed visible for A alone) breaks the system in other parts (users B and C on repos R1 and R2).

The cause of this weird and unintuitive behavior seems to be the handling of the "No permissions" case.

The expected behavior would be to require an entry to to get access to something, and denying access otherwise.

ProGet insists that we

  1. Create an Entry granting Access to the item that should be invisible.
  2. Create an Entry that denies the access to the item.

If we do not follow this approach, ProGet fails to function properly and throws error 500 pages.

This is less a support request than a request to fix the behavior. An important reason why people buy ProGet is that it offers authentication to NuGet feeds, that is, to limit access to them. I feel that the way the permissions system was designed hinders this purpose, because it makes administration more complex and error prone.

2
replies
  1. As far as I understood, when you create Artifact it only packages directory content into a Zip file and moves it into Artifact library? Is that correct?

  2. When deploying artifacts, you have a chance of choosing "Deploy as zip file" option. What does that do? Does it just copy a zip file or does it do the same as msdeploy?

  3. Is it at all possible to deploy a packaged .NET web application using artifacts?

1
replies

Is there a way to just pull from a branch or tag and not just get the latest?

Also, when you do "Get Latest" I assume it only pulls the changes and not the whole repo?

2
replies

I tried to initialize an Azure SQL Database using BuildMaster and I get the following:

"There was an error connecting to the database: There is no row at position 0."

When I tested the connection it gave a success message so I assumed I could initialize the database.

However, when I look at the database I see a table named __BuildMaster_DbSchemaChanges with a single record. The values are:

Numeric_Release_Number Script_Id Script_Sequence Batch_Name Executed_Date Success_Indicator
0 0 1 CREATE TABLE __BuildMaster_DbSchemaChanges 2013-08-07 21:07:57.743 Y

Are Azure SQL Databases officially supported?

1
replies

When I try to delete a connector from the ProGet configuration, I get an exception and the connector does not get deleted. I can configure it to point to non-existent address, but still can't delete it. Any thoughts?

I have installed the Free Version with local SQLEXPRESS db. Otherwise the system works fine as far as I can see, I'm able to connect to the official NuGet feed and upload/download my own packages.

System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Data.SqlClient.SqlException (0x80131904): 547160Connectors_DeleteConnector16`The DELETE statement conflicted with the REFERENCE constraint "FK__FeedDownloadJobs__Connectors". The conflict occurred in database "ProGet", table "dbo.FeedDownloadJobs", column 'Connector_Id'.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Inedo.Data.DatabaseFactory.Inedo.Data.IDatabaseExecuter.ExecuteNonQuery(String storedProcName, DbParameter[] parameters)
at Inedo.ProGet.WebApplication.Pages.Administration.Feeds.Connectors.DeleteConnectorPage.<>c__DisplayClass4.<CreateChildControls>b__3(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&

3
replies

Title says it all. We want to run a couple of our deployment steps in parallel to reduce the time our system is down for.

3
replies

VisualStudio 2012, NuGet plugin v. 2.6.40627.9000.

  • Right click on a project, "Manage NuGet Packages"
  • Select Online (ProGet repository)
  • Select "Name: Descending" from the combo box "Sort by"

Expected: list of available packages, sorted by name
Actual: error "Could not connect to the feed specified"

Inspecting the HTTP traffic with Fiddler, this is the request issued to ProGet:

GET https://<progetServerAddress>/nuget/default/Search()?$filter=IsAbsoluteLatestVersion&$orderby=concat(Title,Id),Id&$skip=0&$top=30&searchTerm=''&targetFramework='net40'&includePrerelease=true HTTP/1.1
DataServiceVersion: 1.0;NetFx
MaxDataServiceVersion: 2.0;NetFx
NuGet-ProjectGuids: {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}
User-Agent: NuGet VS Packages Dialog/2.6.40627.9000 (Microsoft Windows NT 6.1.7601 Service Pack 1, VS Ultimate/11.0)
Accept: application/atom+xml,application/xml
Accept-Charset: UTF-8
Host: <progetServerAddress>
Accept-Encoding: gzip, deflate

and here is the response:
HTTP/1.1 500 Internal Server Error
Cache-Control: private
Content-Length: 28
Content-Type: text/plain; charset=utf-8
Server: Microsoft-IIS/8.0
X-AspNet-Version: 4.0.30319
Persistent-Auth: true
X-Powered-By: ASP.NET
Date: Fri, 02 Aug 2013 13:17:48 GMT

One or more errors occurred.

2
replies

I am getting a strange error when trying to create an Azure Cloud Service. I configured the extension with my subscription id, set the path to the Windows Azure 2.0 SDK bin folder, and gave the name of the management certificate. I installed the certificate in the local computer certificate store as well. However, when the task executes I get the following:

Error creating Hosted Service named billblast-qa-1.0. Error code is: , error description:

Nothing useful at all. At first I thought it had to do with the certificate name so I played around with that and got an error that it couldn't find the certificate. So I assume with the current configuration it's finding the certificate. I also confirmed that the management certificate has been uploaded to Windows Azure.

Anyone have an idea?

Thanks,
Jason

3
replies

I've setup FogBugz as my issue tracker and I can see six cases listed as Issues for the Release I'm currently working with.

When I run a Deployment Plan with an Append Issue Description action however, the action fails. From the log:

Initialization complete. Executing...
Appending 'A build has been deployed to the Production environment.' to Issue #111
System.NotSupportedException: Specified method is not supported. at Inedo.BuildMaster.Windows.ServiceApplication.SlimPlanActionExecuter.ExecuteRemoteCommand(RemoteActionBase action, RemoteCommandEventArgs e) at Inedo.BuildMaster.Windows.ServiceApplication.SlimPlanActionExecuter.TryExecuteRemoteCommand(RemoteActionBase action, RemoteCommandEventArgs e)

1
replies

I'm trying to write custom action that would wrap for the wget command and run it on a linux agent.

My first attempt produced this error, am I using the correct class and call?

Build 101 for Cusmod Linux 9.4.0 (1/08/2013 4:50:08 p.m.)
Action Group 1: test
Action 1: Uses '/usr/bin/wget' to dowload Cusmod/deployment-scripts/Database//*.sh
Preparing remote servers for execution...
Preparing DWDCW-DSAS01 for execution...
Preparing SYBDEV_dwdcs-cmas01 for execution...
Preparation complete.
Initializing action...
An unhandled exception occurred while executing this action: System.InvalidOperationException: Action is not supported on this type of agent (requires IPersistedObjectExecuter) at Inedo.BuildMaster.Windows.ServiceApplication.SlimPlanActionExecuter.RemoteAction_InitializeRemoteConfiguration(Object sender, RemoteConfigurationEventArgs e) at Inedo.BuildMaster.Extensibility.Actions.RemoteActionBase.OnInitializeRemoteConfiguration(RemoteConfigurationEventArgs e) at Inedo.BuildMaster.Extensibility.Actions.RemoteActionBase.OnBeforeExecute(EventArgs e) at Inedo.BuildMaster.Extensibility.Actions.ActionBase.Execute(IActionCancellationToken cancellationToken, ExecutionContext context, ExtensionConfigurerBase extensionConfigurer, Boolean resumeNextOnError, Boolean logErrorsAsWarnings)

My code looks like this

public sealed class WGetArtifactoryRemoteAction : CommandLineActionBase
{
...

protected override void Execute()
{
    this.ExecuteRemoteCommand("/usr/bin/wget", "-m -e robots=off -nd http://artifactory:8081/artifactory/Cusmod/server/9.4.0/123/Server_9.4.0.123.tar.gz");
}

protected override string ProcessRemoteCommand(string name, string[] args)
{
    return this.ExecuteCommandLine(name, args[0], this.RemoteConfiguration.SourceDirectory);
}

}

3
replies

I need to set up the following behavior for our ProGet evaluation:

Repositories R1, R2

Developers A, B

A needs to be able to access R1 and R2 and upload packages, but most not see R3.

B need to have access to R1 but must not be able to see R2 or R3.

In order to achieve this, I created the two feeds for R1 and R2, and gave the following permissions:

A: Administrator R1, Administrator R2
B: Developer R1

However, unless I give View Only permissions (system) to A and B, they cannot navigate the website, since every second page leads to an 500.

And even if I give View Only permissions to all, A still can only upload using nuget.exe cmdline, but not using the website (again, 500).

How do I solve this?

3
replies

I have installed the trial version of ProGet Enterprisse as IIS app and evaluated various things. I set up LDAP authentication and two feeds, and https-only access.

Some things didn't work out; IIS permission errors (500) when a developer / admin with rights to repo #2 but not to repo #1 tried to upload packages...etc.

So I uninstalled it.

Later, I thought I should give it a second try and re-installed it.

However, now I cannot login with Admin/Admin (as I did the first time), and so never get to actually set up the new install. In addition, the newly installed empty ProGet shows the two feeds that I had created before in the tab.

I would like to give it a second try, so how do I get ProGet to uninstall cleanly so I can login with Admin/Admin again?

4
replies

Hello,

I have setup a feed using MyGet, the online Nuget as a service, and I would like to mirror this feed within my ProGet Server. I have added a new feed within ProGet, and I have added a connector, pointing at the MyGet feed. I don't get any errors when I hit save, but when I try to access the feed using:

http://localhost/feeds/MirroredMyGetFeed

I get the following warning:

"There was an error with one or more of your connectors: An item with the same key has already been added."

Can you please help me explain what might be going on here?

Thanks

Gary

1
replies

I've been setting up shared actions in all environments in my workflow and discovered that on Unix environments SVN is only available on dev environments and will not be placed on any other environments. I use SVN to get the latest copy of our deployment scripts prior to doing a release.

Options are:

  1. Include deployment scripts as artifacts
    pro: changes not impact release in progress
    con: scripts in state of flux and if hit bug have to redeploy to all environments to get back to the one we are deploying to

  2. Always get scripts from SVN to the master and use transfer files action to place them in the correct location. However as these actions are shared across environments the transfer files action needs an upgrade to support server variables.

Is there a preferred way to handle this?
Will the Transfer Files action support server variables any time soon?

1
replies

I've developed a custom variable setter for selecting a particular build in artifactory. I would like to use the server, username and password from the Artifactory extension if it has been installed and configured, otherwise use my own settings.

Are there any buildmaster sdk calls I can make to get settings from another extension?

4
replies

Hello,

I have created both a nuget package, and the associated Symbols Package, for a library that I am creating, and I have pushed both to the ProGet Server that I have setup.

When I access:

http://localhost/feeds/mypackages/mypackage

I can see that it says:

"Symbols and source files are available"

However, when I try to access:

http://localhost/symbols/mypackages

I get a 404.

If I try to access:

http://localhost/nuget/mypackages

This works.

Based on the documentation that I have read, I am expecting to see the symbols/mypackages available, and this is the url that I would use within Visual Studio. Is this not the case?

Thanks

Gary

5
replies

While pushing an already existing package to nuget, sometimes we get a (500) Internal Server Error from ProGet.
The file is locked by ProGet itself: recycling the application pool solves the problem.

Here is the push command:

nuget push c:\TEMP\fetchpackages\out<PackageId>.3.0.0<PackageId>.3.0.0.nupkg -Source https://nuget.ges.ferlan.it/nuget/default -Verbosity detailed

And this is the output:

Pushing <PackageId> 3.0.0 to 'https://nuget.ges.ferlan.it/nuget/default'...
PUT https://<ProgetAddress>/nuget/default/
System.InvalidOperationException: Failed to process request. 'There was an error processing the request: The process cannot access the file '<ProgetFeedPath><PackageId>.3.0.0.nupkg' because it is being used by another process.'.
EXEC : The remote server returned an error : (500) Internal Server Error.. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at System.Net.HttpWebRequest.GetResponse()
at NuGet.RequestHelper.GetResponse(Func1 createRequest, Action1 prepareRequest, IProxyCache proxyCache, ICredentialCache credentialCache, ICredential Provider credentialProvider)
at NuGet.HttpClient.GetResponse()
at NuGet.PackageServer.EnsureSuccessfulResponse(HttpClient client, Nullable1 expectedStatusCode) --- End of inner exception stack trace --- at NuGet.PackageServer.EnsureSuccessfulResponse(HttpClient client, Nullable1 expectedStatusCode)
at NuGet.PackageServer.PushPackageToServer(String apiKey, Func`1 packageStreamFactory, Int32 timeout)
at NuGet.PackageServer.PushPackage(String apiKey, IPackage package, Int32 timeout)
at NuGet.Commands.PushCommand.PushPackageCore(String source, String apiKey, PackageServer packageServer, String packageToPush, TimeSpan timeout)
at NuGet.Commands.PushCommand.PushPackage(String packagePath, String source, String apiKey, TimeSpan timeout)
at NuGet.Commands.PushCommand.ExecuteCommand()
at NuGet.Commands.Command.Execute()
at NuGet.Program.Main(String[] args)

2
replies

any idea why I would get this?
The get source from subversion works just fine.

Build 43 for Cusmod Linux 9.4.0 (25/07/2013 12:03:46 p.m.)
Action Group 3: Initialise Client
Action 3: Retrieve the /client/%CLIENT_PATH%/InstallCusmod-%CUSMOD_COUNTRY%-%CLIENT_VERSION%.exe artifact from the Cusmod repository to c:\temp
Initializing action...
Source and Target directory same; splitting.
RemoteAction Initialization Complete:
Temp Directory: C:\BuildMaster_SVCTMP_A3_S1012\TMP
Source Directory: C:\BuildMaster_SVCTMP_A3_S1012\SRC
Target Directory: C:\BuildMaster_SVCTMP_A3_S1012\WRK
Server: DWDCW-DSAS01 (Id: 1)
Initialization complete. Executing...
Source Path: c:\temp
Error retrieving the /client/9.4.0/376/InstallCusmod-CK-9.4.0.376.exe artifact in repository Cusmod. Error: System.Net.WebException: An exception occurred during a WebClient request. ---> System.UnauthorizedAccessException: Access to the path 'c:\temp' is denied. 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) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access) at System.Net.WebClient.DownloadFile(Uri address, String fileName) --- End of inner exception stack trace --- at System.Net.WebClient.DownloadFile(Uri address, String fileName) at Inedo.BuildMasterExtensions.Artifactory.RetrieveArtifactAction.ProcessRemoteCommand(String name, String[] args)
Execution complete. Finalizing...
Target directory unused; joining with source.
Finalization complete.

Ask A Question
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 90 92 93 94 95 96 97 98 99 100 101