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

I'm writing some SQL to purge older rejected builds and artifacts. AdminEdit_PurgeBuild cleans up the database nicely but leaves the artifacts behind so I thought that AdminEdit_PurgeArtifact would be the solution however that deleted the records from the database and left the artifacts behind.

Are there any SQL api calls that will delete the artifacts from the file system?

DECLARE build_cursor CURSOR FOR
	SELECT B.Application_Id, B.Release_Number, B.Build_Number
	FROM dbo.Builds B
	WHERE B.BuildStatus_Name = 'Rejected'
	AND B.Rejected_Date < GETDATE() - 30

OPEN build_cursor

DECLARE @RC int
DECLARE @Application_Id int
DECLARE @Release_Number RELEASENUMBER
DECLARE @Build_Number BUILDNUMBER
DECLARE @Artifact_Name varchar(50)
DECLARE @rows int = 0

FETCH NEXT FROM build_cursor INTO @Application_Id, @Release_Number, @Build_Number

WHILE (@@FETCH_STATUS <> -1)
BEGIN
	DECLARE artifact_cursor CURSOR FOR
		SELECT Artifact_Name
		FROM BuildArtifacts A
		WHERE A.Application_Id = @Application_Id
		AND A.Release_Number = @Release_Number
		AND A.Build_Number = @Build_Number

	OPEN artifact_cursor

	FETCH NEXT FROM artifact_cursor INTO @Artifact_Name

	WHILE (@@FETCH_STATUS <> -1)
	BEGIN
		PRINT 'Purging Artifacts for Application_Id=' + CAST(@Application_Id as varchar) + ', Release_Number=' + @Release_Number + ', Build_Number=' + @Build_Number + ', Artifact_Name=' + @Artifact_Name 
		EXECUTE @RC = [dbo].[AdminEdit_PurgeArtifact] @Application_Id, @Release_Number, @Build_Number, @Artifact_Name

		FETCH NEXT FROM artifact_cursor INTO @Artifact_Name
	END

	CLOSE artifact_cursor
	DEALLOCATE artifact_cursor

	PRINT 'Purging Application_Id=' + CAST(@Application_Id as varchar) + ', Release_Number=' + @Release_Number + ', Build_Number=' + @Build_Number
	SET @rows = @rows + 1
	--EXECUTE @RC = [dbo].[AdminEdit_PurgeBuild] @Application_Id, @Release_Number, @Build_Number

	FETCH NEXT FROM build_cursor INTO @Application_Id, @Release_Number, @Build_Number
END

IF @rows = 0
	PRINT 'No rejected builds older that 30 days have been found.'
ELSE
	PRINT CAST(@rows as varchar) + ' rejected builds older that 30 days have been purged.'

CLOSE build_cursor
DEALLOCATE build_cursor
GO

Product: BuildMaster
Version: 4.5.6

1
replies

Hi,

Is it possible to change a variable value in a manual action?

We want to include a last step to check if the deployment was OK. It is kind of deployment check.

The idea is to execute a specific step if there is any problem after the deployment. The steps that I thought to achieve this are:

  • In BM: Create a manual action, that will send a message to a specific user;
  • Manual: The user will check what was deployed and then mark the action as completed;
  • BM: Create another step that will check the previous manual step
  • BM: If there is a problem, do something, else just finish the build.

Is there another way to achieve this besides the manual action?

Thanks

Product: BuildMaster
Version: 4.6.1

2
replies

I have installed ProGet Enterprise trial on Windows 8.1.
If I use the integrated web server everything works fine, but when I use IIS I get a time out error on my npm feed (NuGet and Bower feeds are still working without issues).
I can get rid of the error by removing the connector for https://registry.npmjs.org

This is the error I get when opening the npm feed with the connector configured:

System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Inedo.Messaging.MessengerException: The operation has timed out. ---> System.TimeoutException: The operation has timed out.
at Inedo.Messaging.ServiceMessenger.SendMessageWithResponse(ServiceMessageBase message)
--- End of inner exception stack trace ---
at Inedo.Messaging.ServiceMessenger.SendMessageWithResponse(ServiceMessageBase message)
at Inedo.ProGet.WebApplication.Pages.NpmFeeds.BrowseNpmFeedPage.GetIndexingStatus(Int32 feedId)
at Inedo.ProGet.WebApplication.Pages.NpmFeeds.BrowseNpmFeedPage.CreateChildControls()
at System.Web.UI.Control.EnsureChildControls()
at System.Web.UI.Control.PreRenderRecursiveInternal()
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& completedSynchronously)

Product: ProGet
Version: 3.5.6

4
replies

The NuGet package Autofixture was recently updated to 3.29.0. However, when I access the package page on our local ProGet server, e.g. http://proget/feeds/Default/AutoFixture.AutoMoq/3.29.0, the page is empty except the headline and the standard package image.

In addition, the package version 3.29.0 cannot be retrieved from the feed.

  • No amount of restarting the service helps
  • There's no log messages in the SQL database
  • The previous version 3.27.0 works fine and the page even has a link to the 3.29.0 version

Product: ProGet
Version: 3.5.6

1
replies

Hi

Do you have an example of how to implement the ODataAdapterBase class to programatically alter the Url of the returned packages?

Thanks
Sean

Product: ProGet
Version: 3.5.5

1
replies

Hi,

We have Proget installed as a Nuget Cache for external packages. I am getting this weird error when restoring through the command line as part of our build process (e.g. nuget.exe restore oursolution.sln -source "http://proget.mycompany.com:81/feeds/external" -NoCache"), I get the error "Unable to read package from path 'EntityFramework.6.1.1.nupkg'".

When I try to open the downloaded package with 7Zip, I get an error saying the package is not an archive. What I found is that if I download the package through the GUI of our Proget instance it works and when I compare it to the file downloaded via the command line, there is a size difference. For example, package 'EntityFramework.6.1.1.nupkg' is 4,135 KB when downloaded via the GUI and 4,129 KB when downloaded via the command line. So there is a difference of 6 KB. I can't open the corrupt package to see what's missing.

Proget is running behind IIS and I am on the latest version. I get the same error for several packages. Can't see what I am doing wrong, any suggestions?

Thanks,
Milan

Product: ProGet
Version: 3.5.6

1
replies

I want to create a new feed (proget deploy), but I’m getting error "Nullable object must have a value" at the top of the popup.
Am I doing something wrong?

Product: ProGet
Version: 3.5.6

5
replies

When I attempt to access my ProGet feeds through Visual Studio or nuget.exe it errors out with a 503 error.
I am using:

  • LDAP authentication
  • Integrated Authentication
  • IIS Hosted
  • With custom AppPool identity which has access to my database and filesystem

Product: ProGet
Version: 3.5.5

1
replies

Hi,

according to https://inedo.com/support/documentation/proget/feeds/advanced-feed-settings Proget should consider connector order for identical packages on different connectors.

Unfortunately that isn't true. It returns random packages from one of the connectors.

Best regards

Boris Bopp

Product: ProGet
Version: 3.5.5

5
replies

Hi,

I am using proget 3.5.5 as a nuget mirror, running under IIS. I've got builds from teamcity that are failing from time to time. When I retry few times they work.

The error I am getting is:

Unable to find version '2.0.0.668' of package 'protobuf-net'.
[13:17:48]Errors in package restore

In IIS logs, I can see a '404' for that request but the package is present in proget.

Any idea what could be causing this?

Thanks,
Mialn

Product: ProGet
Version: 3.5.5

1
replies

DataFlex is an awesome language with along history, and an active, though small user base. I'm wondering if anyone has set up Buildmaster deploy scripts for a DF workspace?

There is a compiler that compiles text files into exe files, so It must be possible.

MM.

Product: BuildMaster
Version: 4.6.3

11
replies

I'm trying to set up ProGet 3.5.5 Enterprise to allow anonymous access to the NuGet feeds, but require authentication for everything else. The problem is that I'm experiencing problems authenticating to the feed through Visual Studio because our developer workstations are not part of the domain. However, I would like to keep the auditing feature and have useful usernames there, hence I would like to use integrated security for everything else.

Is this something that can be set up? I've read on StackOverflow that I should add the View Only role to the Everyone group, but I'm not able to select this group and I don't think it exists in our AD anyway.

Product: ProGet
Version: 3.5.5

5
replies

Under the Create New Release Buildmaster Action, there is a section for entering variables for that Release. As I understand, you are supposed to enter something like:

Variable1=Value1
Variable2=Value2

However, whenever I save the action with variables specified, they appear to be discarded. Running the action does not have the expected results, and opening the action again for editing, the entire Variables field is empty.

This behavior seems unique to the Create New Release action, as the Create New Build action, which has an identical Variables field, works fine.

Product: BuildMaster
Version: 4.6.1

1
replies

I'm completely new to BuildMaster and I'm trying to configure a new installation. I'd like the security to use Active Directory (LDAP) which I can see I can switch on in Admin > User Directory & Authentication Configuration. In Admin > Manage Built-In Users & Groups I've added users with name's like <Domain><Login> and just <Login> but after switching I can't access BuildMaster.

All the online documentation looks to be for an earlier version of BuildMaster so is of no use given I've downloaded v4.6.3.5. Even the in-app help in the Admin > User Directory & Authentication Configuration doesn't read correctly, "Note that changing the directory will also log you out, which may cause you to become locked out of BuildMaster, you may reset the provider using the Admin Tool installed with BuildMaster found under \Service subdirectory under ". Hoping for a quick response to this post as your live help is also offline.

So far not a great first impression!

Product: BuildMaster
Version: 4.6.3

4
replies

I have a feed for a specific project (let's call that feed A), and another feed that proxies the NuGet official feed (that's feed B). If I try to add a package to feed A from feed B by specifying the local, proxied feed's URL (e.g., http://server:port/nuget/FeedB), the package name, and version, I get this error in the UI: "The package could not be installed. The package was not found on the remote repository." I do not show any errors in ProGet's error logs. The error occurs regardless of whether I have pulled the package to my local feed from the remote connector.

If I use the external URL that Feed B's remote connector uses (e.g., https://nuget.org/api/v2) then the package loads successfully.

Product: ProGet
Version: 3.5.5

1
replies

Hi,

I currently have ProGet up and running. I've been looking into security options for the Free install option. What I'm trying to do is hide the list of Feeds and Packages that appear on the ProGet homepage.

Is there a way of doing this?

Kind Regards,
Ben

Product: ProGet
Version: 3.4.7

3
replies

I have a NuGet feed set up with a connector to https://www.nuget.org/api/v2/.
I can view the packages within the feed in VS but when I add a filter to the connector, for example log4net, the packages are no longer displayed.
The UI within VS just displays Retrieving information...

If I look on the server running ProGet then the following exception message is logged:

Exception message: Nullable object must have a value.

Product: ProGet
Version: 3.5.5

6
replies

When searching a NuGet feed via the ProGet website I get the following error

There was an error with a connector: The operation has timed out

This only happens on a feed where I specify a filter of something other than *.

Product: ProGet
Version: 3.5.5

1
replies

I have previously only used nuget to obtain packages from public servers such as nuget.org. I was expecting that ProGet would only host the packages that I uploaded and that I would retrieve all other packages from the likes of nuget.org however, ProGet does seem to list packages available from external servers. Is this a configurable setting as I would like proget to only show me what I have uploaded.

Product: ProGet
Version: 3.5.5

2
replies

I've updated to ProGet 3.5.5. Creating a new role and trying to deleting it shows alert with an error:

<pre> 8114`16`1`Events_RaiseEvent`0`Error converting data type varchar ...qlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Inedo.Data.SqlServerDataFactory.ExecuteNonQuery(String storedProcName, IList`1 parameters) at Inedo.ProGet.WebApplication.Pages.Administration.Security.Privileges.PrivilegesOverviewPage.DeleteRole(Int32 rid)[TargetInvocationException]: Exception has been thrown by the target of an invocation. at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Inedo.Web.Handlers.JsonDataHttpHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) </pre>

Product: ProGet
Version: 3.5.5

Ask A Question
Page: 1 64 65 66 67 69 71 72 73 74 109