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 34 of 103 (20 questions out of 2054)
5
replies

I am trying to create a simple plan that pulls the latest source code from a Subversion repository then runs MSBuild to compile the code before packing everything up in an artifact to be delivered to the next stage in the pipeline. When I set this plan to run under the "Local" agent on the machine hosting my instance of BuildMaster it works fine. However, when I change the plan to run on a remote Windows 7 machine that has an "Inedo" agent installed I receive the following stack trace:

Getting latest source code from path "/internaltools/"...
Ensuring local workspace at: C:\ProgramData\InedoAgent\BuildMaster\Temp\SrcRepos\qasubversion_81_svn_repos-internaltools_branches_2.4_2.4.0
Workspace already exists.
Updating local workspace...
Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.ComponentModel.Win32Exception: The system cannot find the file specified
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Inedo.Agents.InedoAgentClientBase.<SendMessageAsync>d__28.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Inedo.Agents.InedoAgentClientBase.<ExecuteCommandAsync>d__26`1.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at Inedo.Agents.InedoAgentClient.RemoteProcess.get_ExitCode()
   at Inedo.BuildMaster.Extensibility.Providers.ProviderBase.ExecuteCommandLine(RemoteProcessStartInfo startInfo)
   at Inedo.BuildMasterExtensions.Subversion.Subversion15Provider.ExecuteSvn(String commandName, SvnArguments args, Boolean logErrors) in C:\ProgramData\InedoAgent\BuildMaster\Temp\_E60664\Src\Extension\Subversion15Provider.cs:line 249
   at Inedo.BuildMasterExtensions.Subversion.Subversion15Provider.UpdateLocalWorkspace(SvnSourceControlContext context) in C:\ProgramData\InedoAgent\BuildMaster\Temp\_E60664\Src\Extension\Subversion15Provider.cs:line 320
   at Inedo.BuildMasterExtensions.Subversion.Subversion15Provider.GetLatest(SvnSourceControlContext context, String targetDirectory) in C:\ProgramData\InedoAgent\BuildMaster\Temp\_E60664\Src\Extension\Subversion15Provider.cs:line 85
   at Inedo.BuildMaster.Extensibility.Operations.SourceControl.GetLatestOperation.ExecuteAsync(IOperationExecutionContext context)
   at Inedo.BuildMaster.Windows.ServiceApplication.Executions.PlanExecuter.DeploymentPlanExecuter.<Inedo-ExecutionEngine-Executer-IExecutionHostEnvironment-ExecuteActionAsync>d__20.MoveNext()
---> (Inner Exception #0) System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Inedo.Agents.InedoAgentClientBase.<SendMessageAsync>d__28.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Inedo.Agents.InedoAgentClientBase.<ExecuteCommandAsync>d__26`1.MoveNext()<---
Cleaning up...
Deleting C:\ProgramData\InedoAgent\BuildMaster\Temp\_E14 on QASCM0Build1...
C:\ProgramData\InedoAgent\BuildMaster\Temp\_E14 on QASCM0Build1 deleted.
Cleanup complete.

Product: BuildMaster
Version: 5.2.1

1
replies

I'm trying to convert a legacy plan and after clicking the Convert option I get this error, it looks like it's saying the Predicate settings are not implemented is this correct?

[NotImplementedException: The method or operation is not implemented.]
Inedo.BuildMaster.Extensibility.LegacyPlanImporter.PredicateImporter.Convert(ExecutionStatusPredicate predicate) +39
System.Dynamic.UpdateDelegates.UpdateAndExecute2(CallSite site, T0 arg0, T1 arg1) +633
Inedo.BuildMaster.Extensibility.LegacyPlanImporter.PredicateImporter.ConvertPredicate(PredicateBase predicate) +415
System.Linq.WhereSelectArrayIterator2.MoveNext() +80 System.Linq.Buffer1..ctor(IEnumerable1 source) +153 System.Linq.Enumerable.ToArray(IEnumerable1 source) +106
Inedo.ExecutionEngine.Collections.ReadOnlyArray1..ctor(IEnumerable1 source) +397
Inedo.ExecutionEngine.OrPredicate..ctor(IEnumerable1 predicates) +54 Inedo.BuildMaster.Extensibility.LegacyPlanImporter.PredicateImporter.Convert(OrGroupPredicate predicate) +208 System.Dynamic.UpdateDelegates.UpdateAndExecute2(CallSite site, T0 arg0, T1 arg1) +633 Inedo.BuildMaster.Extensibility.LegacyPlanImporter.PredicateImporter.ConvertPredicate(PredicateBase predicate) +415 System.Dynamic.UpdateDelegates.UpdateAndExecute2(CallSite site, T0 arg0, T1 arg1) +633 Inedo.BuildMaster.Extensibility.LegacyPlanImporter.PredicateImporter.ConvertPredicate(PredicateBase predicate) +415 Inedo.BuildMaster.Extensibility.LegacyPlanImporter.<ImportActionGroup>d__9.MoveNext() +1385 System.Collections.Generic.List1.InsertRange(Int32 index, IEnumerable`1 collection) +462
Inedo.BuildMaster.Extensibility.LegacyPlanImporter.PlanImporter.ImportPlanInternal(Int32 planId) +951
Inedo.BuildMaster.Extensibility.LegacyPlanImporter.PlanImporter.ImportPlan(Int32 planId) +63
Inedo.BuildMaster.Web.WebApplication.Pages.Plans.ConvertPlanToOtterScriptPage.CreateChildControls() +69
Inedo.Web.PageFree.SimplePageBase.ProcessRequest(HttpContext context) +83
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +508
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +92

Product: BuildMaster
Version: 5.2.1

5
replies

I have created a connector within Proget that links to another feed that requires authentication. The error is "An error occurred processing a PUT request to {url}: Invalid user name or password.

Here is the stack trace:
at Inedo.ProGet.WebApplication.SimpleHandlers.NuGet.NuGetApi.AuthenticateUser(HttpContext context, RequestData urlData)
at Inedo.ProGet.WebApplication.SimpleHandlers.NuGet.NuGetApi.PutHandler.<ProcessPutRequestAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.ProGet.WebApplication.SimpleHandlers.NuGet.NuGetApi.<ProcessRequestAsync>d__6.MoveNext()

Product: ProGet
Version: 4.1.3

1
replies

Hi,

Since we have migrate to ProGet version 4, we are no more able to "really" connect to our MyGet feed.

What happen is that the status of the connector is Healthy, on the connectors page, but when we try to do research for a package on the ProGet feed (that use this connector), we receive 500 error. Also the ProGet Feed is not up to date with the MyGet feed, only the cache package display and are acessible.

We use the NuGet v2 feed URL from MyGet ( because the v3 feed URL return 404 error).

Can you help us with this? For now we had try to delete the connector, use the feed address with and without pre-authenticated information and create new feed using this connector and nothing works.

Thanks,

Alexandre Beaudoin

Product: ProGet
Version: 4.1.2

4
replies

I attempted to upgrade our ProGet instance from 4.0.14 to 4.1.3 last week and it resulted in the database being corrupted. We had to restore the database from backup. (we are using an MS SQL 2012 database on a different server than ProGet)

The error received was "Unable to find stored procedure __AddStoredProcInfo. When I looked at the database I saw two instance of this stored procedure present... one under a schema [MYDOMAIN\MyUserId] - and the other under a schema [MYDOMAIN\MyCompany'sDevGroup]. For whatever reason it was not using the default "dbo" schema.

This may be related to how the application was initially installed. After the restore of the previous night's database backup I noticed that all of the stored procedures are already duplicated. There is one set of them other under a schema [MYDOMAIN\MyCompany'sDevGroup] ... and the other is under the "dbo" schema as it should be.

Product: ProGet
Version: 4.1.3

1
replies

After upgrading to Otter 1.2.0 (Build 17) I get the following error when attempting to edit or view anything stored in my Git Raft.

Image Text

The following information is stored in Recent Errors:
An error occurred in the web application: The type initializer for 'LibGit2Sharp.Core.NativeMethods' threw an exception.

 URL: http://localhost:82/roles/role?serverRoleId=5
Referrer: http://localhost:82/roles
User: Express User
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
Stack trace:    at LibGit2Sharp.Core.Proxy.git_repository_open_ext(String path, RepositoryOpenFlags flags, String ceilingDirs)
   at LibGit2Sharp.Repository.IsValid(String path)
   at Inedo.Otter.Extensions.RaftRepositories.ExternalGitRaftRepository.OpenRepository()
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.LazyInitValue()
   at Inedo.Otter.Extensions.RaftRepositories.GitRaftRepositoryBase.OpenRaftItem(RaftItemType type, String name, FileMode fileMode, FileAccess fileAccess)
   at Inedo.Otter.WebApplication.Controls.ConfigurationPlanView.Initialize(Int32 raftId, RaftItemType type, String itemName)
   at Inedo.Otter.WebApplication.Controls.ConfigurationPlanView..ctor(ServerRoles_Extended role, ClientResourceManager resourceManager)
   at Inedo.Otter.WebApplication.Pages.ServerRoles.ServerRoleDetailsPage.CreateChildControls()
   at Inedo.Web.PageFree.SimplePageBase.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
3
replies

We have a ProGet server that we're running as a Windows Server 2012R2 VM. The database is Azure SQL. We're using IIS as the web host.

We were running 4.0.9 and we needed to join the machine to a domain (a newly created Active Directory). After joining the domain, we found that the ProGet service would "hang" after being queried for a while. A great example is that we would try to run a build of one of our products that requires internal packages from ProGet. The build could restore packages for three or four projects/assemblies, but then timeouts would start.

In the Application error log I see this error:

Event sequence: 3 
Event occurrence: 2 
Event detail code: 0 
 
Application information: 
    Application domain: /LM/W3SVC/2/ROOT-2-131122237961467438 
    Trust level: Full 
    Application Virtual Path: / 
    Application Path: C:\Program Files\ProGet\WebApp\ 
    Machine name: NUGET 
 
Process information: 
    Process ID: 680 
    Process name: w3wp.exe 
    Account name: IIS APPPOOL\ProGet 
 
Exception information: 
    Exception type: HttpException 
    Exception message: Server cannot set status after HTTP headers have been sent.
   at System.Web.HttpResponse.set_StatusCode(Int32 value)
   at Inedo.ProGet.WebApplication.SimpleHandlers.NuGet.ODataHandler.WriteError(HttpContext context, Int32 statusCode, String message, String fullMessage)
   at Inedo.ProGet.WebApplication.SimpleHandlers.NuGet.ODataHandler.<ProcessRequestAsync>d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar)
   at System.Web.HttpApplication.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar)

Immediately after that, I see IIS present an error in the Application log:

ISAPI 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll' reported itself as unhealthy for the following reason: 'Deadlock detected'.

Once the ProGet server eventually comes back up (or I manually recycle the service/IIS app) I see this in the ProGet log:

URL: https://nuget.silverlining.ventures/nuget/Default/FindPackagesById()?id='Desktop.Analyzers'
Referrer: (not set)
User: team.city
User Agent: NuGet xplat/3.5.0-beta2-1484 (Microsoft Windows 6.3.9600 )
Stack trace:    at System.Web.HttpResponse.set_StatusCode(Int32 value)
   at Inedo.ProGet.WebApplication.SimpleHandlers.NuGet.ODataHandler.WriteError(HttpContext context, Int32 statusCode, String message, String fullMessage)
   at Inedo.ProGet.WebApplication.SimpleHandlers.NuGet.ODataHandler.<ProcessRequestAsync>d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar)
   at System.Web.HttpApplication.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar)

Basically the same error as seen in the Application event log.

Is there somewhere else I should look for additional details? My initial guess by looking at this is that the real problem is being masked by this error.

Other things that may help:

  • We were using Azure Active Directory domain services and switched our AD to be a "real" AD on a real Windows Server 2012 R2 image.
  • We are synchronizing our AD with Azure Active Directory. (I noticed there was a release note earlier about a fix for querying invalid LDAP usernames or something; not sure if this overlaps with that.)

Product: ProGet
Version: 4.1.3

1
replies

We are more of a B2B user of ProGet were we sell our product to customers who then have developers who create packages that might need to be pushed to our Proget repository. While we have the username/password capability today and the ability to authenticate with one API key in ProGet for everyone (not with a username/password too - the API key would tell who the user is and be the password), it would be great if each user could create their own API keys and control the distribution and lifetime of those keys. No one ever likes putting a username/password in batch files for automation and I'm not sharing one API key with others. This is similar to features in Bitbucket and Jira.

Product: ProGet
Version: 4.1.3

1
replies

We are considering using Proget as our private repository for our company components to share with our clients. Most of our clients will have no idea what Proget is and aren't interested that there is a new version of Proget, BuildMaster or whatever articles are currently posted to the Proget newsfeed. They would be very interested in updates that we post to the newsfeed and we would like the ability to replace the newsfeed with another source following whatever protocol you are currently supporting for your own newsfeed. Is this something that is possible or at least planned?

Product: ProGet
Version: 4.1.3

2
replies

I can see the packages in the /packages url on the server, however clicking on the delete icon and confirming, I get redirected to the /feeds/<feed> page, but packages are never deleted.

Is this known issue on this version ?
Thanks,
Francisco

Product: ProGet
Version: 4.1.3

5
replies

Hi,
I'm having problems uploading packages from Jenkins.

We have a paremeterized master build for packages that is called from different builds.

The build takes care of modifying the assemblyinfo.cs with the versions passed as parameterers to the build, and After the msbuild succeeds, we are calling nuget pack
The line is:
nuget pack ${env:Project}${env:PropertiesSubDirectory}$env:{ProjectName}.csproj -Build -Symbols -Prop Configuration=Release

which generates a package like this:
XXX.YYY.1.2.19-dev.nupkg

The problem is that when I use those variables into the "Files to package" parameter of the upload task it always complain it can't find that file.

I used the powershell and jenkins variable format ($env: and $) with no success.

If I replaced the Files to package with a hardcoded name that already exists it works; however this is not possible since version tag changes for each build.

Is there any way to pass a variable to Files to package ?
Thanks,
Francisco

Product: ProGet
Version: 4.1.3

3
replies

Hello,

With version 5.1.4 I can't communicate with Windows agents.
I tried with the AES encryption at first, but then turned that off.
I'm trying on port 6468, which was the default port with the older version of the agent.
The server is listening on port 6468 when I do a netstat.
Tried on two servers, same error.
Windows firewall turned off to test.

Would also be nice to have a "test server connection" button as the only way I can find to force a connection test is to restart the BuildMaster service.

Log below.

Thanks,

David

 Category:
Agent Updates
Message:
Unhandled exception while attempting agent update check.
Details:
System.InvalidOperationException: The connection was closed unexpectedly.
at Inedo.BuildMaster.Extensibility.Agents.LegacyTcp.TcpAgentClient.SendHandshake(String securityToken)
at Inedo.BuildMaster.Extensibility.Agents.LegacyTcp.TcpAgentClientPool.CreateClient(Endpoint endpoint)
at Inedo.BuildMaster.Extensibility.Agents.LegacyTcp.ClientConnectionPool`2.AcquireConnection(TEndpoint endpoint)
at Inedo.BuildMaster.Extensibility.Agents.LegacyTcp.TcpAgentClientPool.GetClient(String hostName, Int32 port, String securityToken, Boolean ssl, Boolean ignoreCertificateErrors)
at Inedo.BuildMaster.Extensibility.Agents.LegacyTcp.LegacyTcpAgent.GetClient()
at Inedo.BuildMaster.Extensibility.Agents.LegacyTcp.LegacyTcpAgent.Inedo.BuildMaster.Extensibility.Agents.IHostedLegacyAgent.GetHostedAgentInfo(IHostedAgentContext context)
at Inedo.BuildMaster.Windows.ServiceApplication.AgentUpdater.Legacy.GetAgentStatus(IHostedLegacyAgent agent, IHostedAgentContext context)
at Inedo.BuildMaster.Windows.ServiceApplication.AgentUpdater.Legacy.CheckLegacyAgent(BackgroundTaskContext`1 context, IHostedLegacyAgent agent, Servers server)
at Inedo.BuildMaster.Windows.ServiceApplication.AgentUpdater.<CheckServerAsync>d__9.MoveNext()

Product: BuildMaster
Version: 5.1.4

3
replies

Hello,

I'd like to know how to proceed in order to publish a simple powershell module to my Proget server that has a Powershell feed named "BpPoshGallery" configured. I'm using version 4.11 of Proget.

The server is setup to use the integrated user directory, so I have an user "foo" that has permissions to publish packages. Feed scoping is not being used.

When I run the following command inside my local module folder (containing the psm1 and psd1 files):

Publish-Module -Repository BpPoshGallery -Path . -NuGetApiKey "foo:bar"

And I get the following error:

Publish-PSArtifactUtility : Failed to publish module 'BraspagDev': 'Cannot prompt for input in non-interactive mode.
'.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:853 char:17

  •             Publish-PSArtifactUtility -PSModuleInfo $moduleInfo `
    
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (:) [Write-Error], WriteErrorException
    • FullyQualifiedErrorId : FailedToPublishTheModule,Publish-PSArtifactUtility

Product: ProGet
Version: 4.1.3

3
replies

Hi,

After you sorted out my zipping issue, now when I transfer the file to a Linux server, it doesn't work correctly.

In version 5.1.0 the transfer crashes with this error:

Source directory: C:\BuildMaster\deploy\NPELGetting source file list...Target directory: /root/uploadGetting target file list...Unhandled exception: System.ArgumentOutOfRangeException: startIndex cannot be larger than length of string.
Parameter name: startIndex
   at System.String.Substring(Int32 startIndex, Int32 length)
   at Inedo.BuildMaster.Extensibility.Agents.Ssh.SshFileOperationsExecuter.<GetFileSystemInfosAsync>d__24.MoveNext()
--- End of stack trace from previous location where exception was thrown ---

In 5.1.3, the transfer states that it works OK, but only 26MB is upload of a 77MB file.
You can see from the log file, source and destination size are different.

Source timestamp: 29/06/2016 07:47:57, Target timestamp: 29/06/2016 08:21:11
Source size: 79426743, Target size: 26520160
Transferring archive.zip to /root/upload...
Copied 1 files, deleted 0 files and 0 directories over 0 directories.

Here's my script, but I don't think it's a script issue this time:

##AH:UseTextMode
# This is a sample deployment plan; you can create a different deployment plan for each environment,
# or attempt to generalize the plan in combination with templates and variables (e.g. $EnvironmentName).
for server BUILDMASTER3
{
    Log-Information "This plan was auto-generated on 27/06/2016 14:50:07; you may visit the Plans page to modify it.";

    Transfer-Files
    (
        Include: archive.zip,
        FromDirectory: C:\BuildMaster\deploy\NPEL,
        ToDirectory: /root/upload,
        FromServer: BUILDMASTER3,
        ToServer: NPEL UAT,
        DeleteTarget: True
    );

}

Thanks,

David

Product: BuildMaster
Version: 5.1.3

1
replies

Hi,

i updated Proget 4.0.5 to 4.1.2. In the feed setting for a nuget feed i can not find the setting option to enable or disable the symbol server ?

Product: ProGet
Version: 4.1.2

2
replies

I've have succesfully setup a feed for npm on a server, not my machine.
I can install npm pacakges, but I get errors on some packages, because their dependencies insist on going to the https://registry.npmjs.org/ website. This url is only accessible from the the server where Proget is running, not from my machine.

I've read that some packages include the source from where they want to look for their dependencies and is not overruled apparently by the registry settings set on my machine which point to the proget server installation.

Is there a way to solve this within Proget?

My Example case: npm i angular-cli -g stops on package netw. ( I can install it manually, but not in the flow of depencies of angular-cli.)

I'm currently evaluating the free version with a Nuget feed, npm feed and a bower feed...

Product: ProGet
Version: 4.1.1

2
replies

NPM logs its warnings to stderr, and it appears that any time this occurs during an Execute Process task, the plan aborts and reports failure.

Short version: is there a way to have BuildMaster not treat stderr output as a failure and instead only look at the exit code?

I can suppress the warning messages when executing NPM and Bower, though I have a third process to execute (ember-cli) where I can't disable the warnings. My temporary "fix" at the moment is to wrap the task in a Try/Catch block, but now I've lost the ability to detect when real errors occur. That's bad, naturally.

Thanks, and let me know if any more detail is needed.

Product: BuildMaster
Version: 5.0.11

3
replies

Hi,
I wanna buy an Enterprise Edition. I wonder $1,995 ==> It equals one thousand nine hundred ninety five USD or just equals one point nine USD?
This is because of differences of region unit
Thank you

Product: BuildMaster
Version: 5.1.2

0
replies

Related Post: Question 4571

+++++++++++++++++++++++++++++

App: Proget 4.1.1

OS: Windows Server 2012 R2

WebServer: IIS, using SSL with Trusted CA signed Certificate.

Port 443.

SQL: SQL Server 2014 Standard

+++++++++++++++++++++++++++++

Proget is utilizing built-in accounts only and is not using LDAP/AD for authentication.

Added Ninject 3.2.2.0 to repository

Request https://{domain}/nuget/{feed}/Packages(Id='ninject',Version='3.2.2') Generates 500 error

Request https://{domain}/nuget/{feed}/Packages(Id='ninject',Version='3.2.2.0') Generates 200 with xml response

ProGet does not log the error.

**** ISSUE CAUSE ****

Investigation of the issue found that the 500 error is caused by ProGet's app.config file using absolute paths for custom errors. IIS, by default, does not allow the use of absolute paths for custom errors.

*** ISSUE RESOLUTION ****

Edit the applicationHost.config file within IIS to allow the use of absolute paths for custom errors.

edit: %systemdrive%\Windows\System32\inetsrv\config\applicationHost.config
under system.webServer, add the attribute allowAbsolutePathsWhenDelegated="true" to httpErrors.

Restart IIS service

Product: ProGet
Version: 4.1.1

11
replies

Hello,

I've just upgraded to 5.1.1 and my plans will not work.

I've tried 2. The one fails at zipping files. Of two main folders, it adds one folder and then fails. the folders zip fine on the windows server.
Here's the error log:

Creating zip file...Deleting C:\BuildMaster\deploy\NPEL\archive.zip if it already exists...Unhandled exception: System.IO.IOException: The process cannot access the file 'C:\BuildMaster\deploy\NPEL\archive.zip' because it is being used by another process.

   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)

Also deleting files from a server:

This is the script and error:

# Delete file from Upload
for server Router
{
    Delete-Files *
    (
        Directory: /root/upload
    );
}

Deleting files from /root/upload...
Unhandled exception: System.ArgumentOutOfRangeException: startIndex cannot be larger than length of string.

Parameter name: startIndex

   at System.String.Substring(Int32 startIndex, Int32 length)

   at Inedo.BuildMaster.Extensibility.Agents.Ssh.SshFileOperationsExecuter.<GetFileSystemInfosAsync>d__24.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

Thanks,

David

Product: BuildMaster
Version: 5.1.1

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 34 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 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103