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 83 of 99 (20 questions out of 1979)
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.

1
replies

Is there a way to terminate an arbitrary executable as part of a deployment step? Our product will kick off long-running executables in the background. If we deploy while those are still running, the deploy will fail; however, these are not typical IIS or Windows Service processes. Is there a way to terminate arbitrary processes, or a way to wait until those processes finish execution? Right now we only see one option: manually ensuring those executables are not running on the target deployment machine.

1
replies

Hello,

The latest version of a package not showing in proget.

I restarted the service it just in case it is an indexing error, and I also reset IIS. I also set the Rebuild to true. It's having problems opening the zip. These are nuget packages I'm creating from buildmaster. The settings hasn’t changed. Also I can’t seem to make it re-read these files. This is the error:

Can not access a closed Stream:
System.IO.Compression.DeflateStream.Flush()
at MS.Internal.IO.Packaging.CompressStream.Flush()
at MS.Internal.IO.Packaging.CompressStream.Dispose(Boolean disposing)
at System.IO.Stream.Close()
at MS.Internal.IO.Zip.ZipIOLocalFileBlock.Dispose(Boolean disposing)
at MS.Internal.IO.Zip.ZipIOLocalFileBlock.Dispose()
at MS.Internal.IO.Zip.ZipIOBlockManager.Dispose(Boolean disposing)
at MS.Internal.IO.Zip.ZipIOBlockManager.Dispose()
at MS.Internal.IO.Zip.ZipArchive.Dispose(Boolean disposing)
at System.IO.Packaging.ZipPackage.Dispose(Boolean disposing)
at System.IO.Packaging.Package.System.IDisposable.Dispose()
at Inedo.ProGet.Service.IndexedFeed.UpdatePackage(PackageStorePackage storePackage)
at Inedo.ProGet.Service.IndexedFeed.<>c__DisplayClassa.<RebuildIndex>b__7(PackageStorePackage storePackage)

From what I can tell it looks fine. I was able to unzip it. That would leave me to believe that somehow they are locked and proget can’t open them .I’ve searched for open handles, but I don’t see any of them open.

5
replies

Hi

I am running proget Version 2.2.7 (Build 3) on a Windows 2012 server hosted on IIS with my own instance of MSSQL Enterprise.

I cannot delete packages from a feed using the nuget exe.

When I run >>nuget delete package_id version -Source http://proget/nuget/feed_name It returns a 404 error.

When I run >>nuget delete package_id version -Source http://proget/feeds/feed_name It claims to succeed for any package_id or version I enter but nothing happens on the server.

Regards,
Calvin

2
replies

Error getting SCM state for schedule #3: System.AggregateException: One or more errors occurred. ---> System.InvalidOperationException: Failed to receive response: The connection with the server was terminated abnormally
at Inedo.BuildMasterExtensions.Git.Clients.LilGitClient.UpdateLocalRepo(IGitRepository repo, String branch, String tag)
at Inedo.BuildMasterExtensions.Git.GitSourceControlProviderCommon.GetCurrentRevision(String path)
at Inedo.BuildMaster.Windows.ServiceApplication.ScmTriggerExecuter.GetScmState(BuildSchedules_Extended schedule)
at System.Threading.Tasks.Task1.InvokeFuture(Object futureAsObj) at System.Threading.Tasks.Task.Execute() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at Inedo.BuildMaster.Windows.ServiceApplication.ScmTriggerExecuter.GetCurrentState(BuildSchedules_Extended build, Providers provider) at Inedo.BuildMaster.Windows.ServiceApplication.ScmTriggerExecuter.RunTriggeredBuild(BuildSchedules_Extended build, Providers provider) ---> (Inner Exception #0) System.InvalidOperationException: Failed to receive response: The connection with the server was terminated abnormally at Inedo.BuildMasterExtensions.Git.Clients.LilGitClient.UpdateLocalRepo(IGitRepository repo, String branch, String tag) at Inedo.BuildMasterExtensions.Git.GitSourceControlProviderCommon.GetCurrentRevision(String path) at Inedo.BuildMaster.Windows.ServiceApplication.ScmTriggerExecuter.GetScmState(BuildSchedules_Extended schedule) at System.Threading.Tasks.Task1.InvokeFuture(Object futureAsObj)
at System.Threading.Tasks.Task.Execute()<---

8
replies

The log output for the failed action:

Action Group 23: Build MyApp webapp
Action 1: Build MyApp.Web.Mvc.csproj Target:Package Properties:(none)
Custom Variables: (none)
Source and Target directory same; splitting.
AgentBasedAction Initialization Complete:
  Temp Directory: C:\BuildMaster\_SVCTMP\_A3\_S4\TMP
  Source Directory: C:\BuildMaster\_SVCTMP\_A3\_S4\SRC
  Target Directory: C:\BuildMaster\_SVCTMP\_A3\_S4\WRK
  Server: SNYDEVEL (Id: 1)
Initializing action...
Initialization complete. Executing...
Arguments: "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild.exe" "C:\BuildMaster\_SVCTMP\_A3\_S4\SRC\Solutions\MyApp.Web.Mvc\MyApp.Web.Mvc.csproj" "/t:Package" "/p:outDir=C:\BuildMaster\_SVCTMP\_A3\_S4\WRK\"
Working Directory: C:\BuildMaster\_SVCTMP\_A3\_S4\SRC
Executing C:\BuildMaster\_SVCTMP\ExtTemp\WindowsSdk\BmBuildLogger.exe
Building Project "MyApp.Web.Mvc.csproj" (Package target(s)):
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets(276,5): error MSB4184: The expression "[System.IO.Path]::Combine(C:\BuildMaster\_SVCTMP\_A3\_S4\SRC\Solutions\MyApp.Web.Mvc, C:\BuildMaster\_SVCTMP\_A3\_S4\WRK"\)" cannot be evaluated. Illegal characters in path.
Done building project "MyApp.Web.Mvc.csproj" -- FAILED.
MSBuild action failed; msbuild.exe returned code 1
Execution complete. Finalizing...
Target directory unused; joining with source.
Finalization complete.
1
replies

Hi,

I am running proget Version 2.2.7 (Build 3) on a Windows 2012 server hosted on IIS with my own instance of MSSQL Enterprise.

When I do an API call to delete a package from a feed I see the package remains on the file system. I can no longer find the package on the website or the database however the problem arises when I call to the API again for all available packages on that feed and the package magically re-appears.

I think if the API was deleting the package from the file system as well as the DB I wouldn't be experiencing this issue.

Regards,
Calvin

6
replies

Proget 2.2.7 Build 3 has a recurring problem with files that are being used by another process.
see error:

Package Indexing Error
Feed	Staging
Package	ifmviewer.core.1.0.0.nupkg

Message	The process cannot access the file 'd:\ProGet\Packages\Staging\ifmviewer.core.1.0.0.nupkg' because it is being used by another process.
Date	10-12-2013 16:37:46

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)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Inedo.NuGet.Packages.NuGetPackage.ReadFromNupkgFile(String fileName)
at Inedo.ProGet.Extensibility.PackageStores.DirectoryPackageStore.TryReadPackage(String fileName)

Proget is installed on it own dedicated server.

4
replies

Is there a way to open the Powershell 2.0 version after doing the BuildMaster 4.0 upgrade which now uses the .net 4.0 runtime. I am trying to execute scripts against SharePoint 2010 which still uses the old runtime version.

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 83 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99