# Support Q & A Home

Anyone can ask or answer a question here, but our support engineers actively monitor your questions; we typically answer within a day or two.

Viewing Page 30 of 97 (20 questions out of 1931)

#### NullReferenceException on Plan Edit

replies

When trying to edit a plan, either role or server I get the following error in the interface:

(500) Error: InternalServerError
Object reference not set to an instance of an object.


The following exception is logged in the EventLog as well:

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 09-06-2016 11:14:05
Event time (UTC): 09-06-2016 09:14:05
Event ID: 207af82b356c416d8302059ff3c9b527
Event sequence: 13
Event occurrence: 12
Event detail code: 0

Application information:
Application domain: 6717b527-1-131099362020911266
Trust level: Full
Application Virtual Path: /
Application Path: C:\Program Files\Otter\Web\
Machine name: NLABOTTER

Process information:
Process ID: 2768
Process name: Otter.Service.exe
Account name: NT AUTHORITY\SYSTEM

Exception information:
Exception type: NullReferenceException
Exception message: Object reference not set to an instance of an object.
at Inedo.Otter.WebApplication.Pages.Plans.Editor.PlanEditorPage.CreateInitialData()
at Inedo.Web.DP.DpPageBase2.GetDpContextInvocation()
at Inedo.Otter.WebApplication.Pages.Plans.Editor.PlanEditorPage.GetDpContextInvocation()
at Inedo.Web.DP.DpPageBase2.<>c__DisplayClass26_0.<RenderPage>b__1(SlimHtmlTextWriter w)
at Inedo.Web.Controls.FauxMasterPage.RenderDirectWriter(Action1 method, SlimHtmlTextWriter writer)
at Inedo.Web.Controls.FauxMasterPage.DynamicPageFragment.WriteHtml(SlimHtmlTextWriter writer, Object[] replacements)
at Inedo.Web.Controls.FauxMasterPage.Render(SlimHtmlTextWriter writer, Object[] replacements)
at Inedo.Web.DP.DpPageBase2.RenderPage(SlimHtmlTextWriter writer)
at Inedo.Web.DP.DpPageBase2.ProcessRequest(HttpContext context)
at Inedo.Web.Handlers.SimpleHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context)

Request information:
Request URL: http://localhost:82/plans/edit?raftId=1&planType=ServerConfigurationPlan&planName=NLABOtter
Request path: /plans/edit
User: Express User
Is authenticated: True
Authentication Type:

Is impersonating: False
Stack trace:    at Inedo.Otter.WebApplication.Pages.Plans.Editor.PlanEditorPage.CreateInitialData()
at Inedo.Web.DP.DpPageBase2.GetDpContextInvocation()
at Inedo.Otter.WebApplication.Pages.Plans.Editor.PlanEditorPage.GetDpContextInvocation()
at Inedo.Web.DP.DpPageBase2.<>c__DisplayClass26_0.<RenderPage>b__1(SlimHtmlTextWriter w)
at Inedo.Web.Controls.FauxMasterPage.RenderDirectWriter(Action1 method, SlimHtmlTextWriter writer)
at Inedo.Web.Controls.FauxMasterPage.DynamicPageFragment.WriteHtml(SlimHtmlTextWriter writer, Object[] replacements)
at Inedo.Web.Controls.FauxMasterPage.Render(SlimHtmlTextWriter writer, Object[] replacements)
at Inedo.Web.DP.DpPageBase2.RenderPage(SlimHtmlTextWriter writer)
at Inedo.Web.DP.DpPageBase2.ProcessRequest(HttpContext context)
at Inedo.Web.Handlers.SimpleHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context)

Custom event details:


I am using a git raft (The one from yesterday), that raft actually contains plans for two of my roles, however they are not showing in the interface.

The interface is always showing "Create plan" and it always dies.

(PS: Version is now 1.1.4 (Build 1))

#### Otter ProGe::ensure- package throws error

replies

when I use proget::ensure-package I get jsonreaderexception error.? The type of feed didn't matter. if I use nuget.exe, it's installed successfully.
am I missing something? here is the error.

Unhandled exception: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
at Inedo.Otter.Extensions.Operations.ProGet.ProGetClient.<GetPackageInfoAsync>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() at Inedo.Otter.Extensions.Operations.ProGet.EnsurePackageOperation.<CollectAsync>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 System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
at Inedo.Otter.PlanExecuter.OtterPlanExecuterBase.<PerformCollection>d__45.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Inedo.Otter.PlanExecuter.OtterPlanExecuterBase.<Inedo-ExecutionEngine-Executer-IExecutionHostEnvironment-ExecuteActionAsync>d__44.MoveNext()

#### Active Directory Authentication

replies

I have installed ProGet using the integrated SQL database and its hosted on a Windows Server 2012 R2 machine on IIS. I am trying to get Active Directory with multiple domains working for authentication but I keep getting the error below.

Logged: 6/8/2016 11:01:24 AM
Level: Error
Category: HTTP
Message: An error occurred in the web application: The server is not operational.
Details:
URL: http://am-uslhi-ap-v12:81/0x44/ProGet.WebApplication/Inedo.ProGet.WebApplication.Controls.PrincipalPicker/FindPrincipals?directoryId=3&filter=jake.fellows%40hexagon&principalTypes=3&_=1465405168922

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36

Stack trace: at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.PropertyValueCollection.PopulateList()
at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
at Inedo.ProGet.WebApplication.Security.UserDirectory.MultiDomainActiveDirectory.GetNetbiosDomainName(String dnsDomainName)
at Inedo.ProGet.WebApplication.Security.UserDirectory.MultiDomainActiveDirectory.CreateSearcher(String domain)
at Inedo.ProGet.WebApplication.Security.UserDirectory.MultiDomainActiveDirectory.<FindPrincipalsInternal>d__24.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext()
at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeList(JsonWriter writer, IEnumerable values, JsonArrayContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)
at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)
at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter jsonWriter, Object value, Type objectType)
at Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter jsonWriter, Object value, Type objectType)
at Inedo.Web.Handlers.JsonDataHttpHandler.SyncHandler.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)

Is there a specific setting I need to adjust to get this working correctly?

Product: ProGet
Version: 4.0.15

#### NuGet packages not being indexed when published during feedCleanup

replies

Very occasionally (it seems to coincide with while the feedCleanup script is running), NuGet packages can be successfully published to Proget, and end up on the file system, but do not show up in the UI and cannot be downloaded by a client.

I have tried restarting the ProGet service, this does not trigger the package to be reindexed, and I have also checked that the package file name is in the correct syntax.

Firing off a feedCleanup task does seem to get the package to be indexed, but this task takes far too long to be run any more than daily.

Excerpt from feedCleanup log run during package push

Checking for orphaned package index entries...
Found 111 orphaned package entries.
...
Removing Id='soap',Version='1.2.3-S108' from index...


Excerpt from feedCleanup run manually during the day to attempt to resolve the issue (package did show up after this)

Beginning cleanup for octopus (NuGet) feed.
Starting feed consistency check...
Beginning feed package consistency check on 13190 packages...
...
Package validated as soap 1.2.3-S108.


The feed cleanup task ran for 2h 30mins, and during that time, only a single package had this issue, many more were published successfully

Product: ProGet
Version: 4.0.10

#### Git Raft crashing Otter Service

replies

Hello

I have tried to change my "Default" raft to a Git based raft using this guide: http://inedo.com/support/tutorials/storing-otter-plans-and-configurations-in-git

However, my Otter Service is crashing everytime I start now.

Application: Otter.Service.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: LibGit2Sharp.LibGit2SharpException
at LibGit2Sharp.Core.Ensure.HandleError(Int32)
at LibGit2Sharp.Core.Proxy.git_remote_fetch(LibGit2Sharp.Core.Handles.RemoteSafeHandle, System.Collections.Generic.IEnumerable1<System.String>, LibGit2Sharp.Core.GitFetchOptions, System.String)
at LibGit2Sharp.Network.DoFetch(LibGit2Sharp.FetchOptions, LibGit2Sharp.Core.Handles.RemoteSafeHandle, System.String, System.Collections.Generic.IEnumerable1<System.String>)
at LibGit2Sharp.Network.DoFetch(LibGit2Sharp.Core.Handles.RepositorySafeHandle, LibGit2Sharp.Remote, LibGit2Sharp.FetchOptions, System.String, System.Collections.Generic.IEnumerable1<System.String>)
at LibGit2Sharp.Network.Fetch(LibGit2Sharp.Remote, LibGit2Sharp.FetchOptions, System.String)
at Inedo.Otter.Extensions.RaftRepositories.ExternalGitRaftRepository.OpenRepository()
at System.Lazy1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].CreateValue()
at System.Lazy1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].LazyInitValue()
at Inedo.Otter.Extensions.RaftRepositories.GitRaftRepositoryBase.OpenRaftItem(Inedo.Otter.Extensibility.RaftRepositories.RaftItemType, System.String, System.IO.FileMode, System.IO.FileAccess)
at Inedo.Otter.Service.PlanExecuter.PlanTimedExecuterBase.BuildConfigurationPlan(Servers_Extended, System.Collections.Generic.IList1<ServerRoles_Extended>)
at Inedo.Otter.Service.PlanExecuter.RoutineConfigurationTimedExecuter+<BeginRun>d__7.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__6_1(System.Object)


The Git raft is on GitHub, originally I tried using a Personal Access Token, but have actually changed it to a dedicated user now.

Picture of my raft configuration

Picture of the raft content

Otter is now version 1.1.3 (Build 7)

#### remove my build

replies

Now that i have built this software , and installed it, how do i remove it?

Product: BuildMaster
Version: 5.0.5

#### Not able to push packages

replies

Until last week I was able to push packages using
NuGet.exe push <nugetpackage>.nupkg -Source http://<progetServer>/nuget/ContractsAndLibraries -ApiKey b3dac2eb-33fe-4a1f-9370-258d27bae723

command. I am not able to do so anymore. See below for the error. Nuget Version : 3.4.4.1321. Any ideas on what may have changed? Any work arounds? I already have the Anonymous user with “Feeds_AddPackage” task.

C:\Projects\xxxx\xxxx>nuget push xxxx.
1.0.0.0.nupkg -source http://<progetserver>/nuget/ContractsAndLibraries -Api
Key b3dac2eb-33fe-4a1f-9370-258d27bae723
Pushing xxxx.1.0.0.0.nupkg to 'http://<progetserver>/nuget/Con
tractsAndLibraries'...
PUT http://<progetserver>/nuget/ContractsAndLibraries/
Forbidden http://<progetserver>/nuget/ContractsAndLibraries/ 53ms
aries
UserName: Cannot prompt for input in non-interactive mode.

Product: ProGet
Version: 4.1.0

#### Cannot restore package using ProGet feed with FindPackagesById()

replies

I've recently installed ProGet. Using the latest version of the NuGet command line client (3.4.4.1321) and ProGet (4.1.0 beta), we have a package 'foo' with a version '1.10' that ProGet is not exposing to the NuGet client during a package restore of a solution. The NuGet client tries a bunch of different ways to download it, but they all return 404:

> nuget restore path\to\solution.sln
MSBuild auto-detection: using msbuild version '12.0' from 'C:\Program Files (x86)\MSBuild\12.0\bin'.
Restoring NuGet package foo.1.10.0.
GET http://nuget.ourserver.com/Packages(Id='foo',Version='1.10.0')
NotFound http://nuget.ourserver.com/Packages(Id='foo',Version='1.10.0') 13ms
GET http://nuget.ourserver.com/FindPackagesById()?id='foo'
NotFound http://nuget.ourserver.com/FindPackagesById()?id='foo' 12ms
GET https://api.nuget.org/v3-flatcontainer/foo/1.10.0/foo.1.10.0.nupkg
NotFound https://api.nuget.org/v3-flatcontainer/foo/1.10.0/foo.1.10.0.nupkg 137ms
WARNING: Unable to find version '1.10.0' of package 'foo'.
http://nuget.ourserver.com/: The V2 feed at 'http://nuget.ourserver.com/FindPackagesById()?id='foo'' returned an unexpected status code '404 Not Found'.
`

It was my understanding that ProGet implements the NuGet v2 feed protocol -- but it seems like FindPackagesById() and the Packages(Id=) syntax is not supported. Is this normal?

Product: ProGet
Version: 4.1.0

#### Link universal package dependencies within feed

replies

When viewing the universal package details in the browser, dependencies are listed however I would expect them to hot link to the dependent package already available within the feed. The workaround is to hunt for the dependent package in the Packages view, paging through ALL the packages in the feed.

Also, the package details does not have the package:name listed directly - you have to try and figure it out. This causes confusion when trying to relate the packages.

Product: ProGet
Version: 4.1.0

#### Translating v4.8.3 Deployment Plan to v5.0.4

replies

Hi,

I'm trying to install a fresh BuildMaster and replicate our deployment plans in to it, Is there a way to import a deployment plan from v4.8.3 into v5.0.4 so it can be upgraded automatically?

Root cause, I'm trying to create an 'Action Plan' set to iterate over all of my deployables and I have found the 'Loop' in 5.0.4 but I cant see how to manipulate the variables to get it to iterate my deployables.

Any help will be greatly appreciated.

Thanks,
Chris.

Product: BuildMaster
Version: 5.0.4

#### Universal package dependencies not showing

replies

I'm evaluating ProGet for our group, currently using the free version on a local development environment with IIS.

I'm trying to understand why my universal package is not showing it's dependencies to other universal packages.

I've followed the instructions posted at
http://inedo.com/support/documentation/proget/reference/universal-feed-api-and-package-format
however I've had no success even after trying all the variations I can think of.

In this very simplified example, if package B is dependent on package A where the upack.json definitions are:

Package A

{
"name" : "A",
"version" : "1.0.0",
"group" : "initech"
}

Package B

{
"group" : "initech",
"name" : "B",
"version" : "1.0.0",
"dependencies" : [ "initech:A" ]
}

I would expect package B to show a dependency to Package A in the browser or API however I always get:

Dependencies

There are no dependencies for this package.

Product: ProGet
Version: 4.0.15

#### Problems with minor upgrade from v3.6.1 to v3.8.6

replies

I have been having a battle with upgrading our 3.6.1 instance to 4.0.15.

The problem from previous questions is the major change from 3 to 4 using "Tasks" which means every account we create appears to fall out of the Admin group.

So I thought I'd do a minor upgrade, from 3.6.1 up to 3.8.6, I actually perform an upgrade to the database to 3.7.6 before going to 3.8.6.

I copied the web config to connect to the database the same way and we are using Windows Authentication so changed that in the authentication.

• I stop the app pool,
• update on the database steps,
• then I completely delete the full content in the web application and then copy the web app for 3.8.6, with my altered web config.
• I then start the app pool again.

The problem I am seeing is that I get taken to the log-in page, I did create a no LDAP login, but the admin account I created does not let me in.

If I try to putting in any url (luckily I did one that was invalid) I get the error at the top of the page saying:
Severe Error: There is a problem with the license key.

I need to get this working in a test environment before I can get signoff that the upgrade will not affect anything.

Product: ProGet
Version: 3.8.6

#### *.symbols.nupkg

replies

Hello,

Since yesterday, all package uploaded with symbols, are not visible in last VS2015 nuget manager for install them but we can update them from the manager, We can install from nuget manager console too.
Any idea?

We are currently using the free licence.

Thanks,

Benjamin Hugot

Product: ProGet
Version: 4.0.15

replies

After upgrading to v4.0.9 I have lost admin rights on my account.

I can view the feeds with another account that does not have admin rights.

is there something I can run?

Product: ProGet
Version: 4.0.9

#### Manual upgrade of Proget Databases using an account with no interative login

replies

Hi,

I have had a version of the database for our live instance of proget moved to a development server, but I am trying to use the bmdbupdate to update the database, as the account I need to use to update the database does not allow interactive logins.

I was hoping for example of the simple script I can run with bmdbupdate.exe UPDATE /conn which would include the markup of a valid submission of the /conn option.

The attempts I have made so far came back saying:
"Only one command can be specified"

an example of what I have tried:

Product: ProGet
Version: 3.6.1

#### npm Feed not working in 4.0.15

replies

I have just installed ProGet 4.0.15 and while NuGet is working perfectly I cannot get anything from npm! I created the connector and feed but when I try to search from the ProGet feed page I get nothing in return no matter what I search. I also tried from the npm command line and saw that I am getting back a '404 - File or Directory not found' . I have deleted and recreated the feed and connector with no difference in behaviour. How to fix this?

Product: ProGet
Version: 4.0.15

#### Unable to change Visual Plan back to Code because its invalid

replies

I have a rather annoying issue.

One of my plans are stuck in limbo, I am unable to edit the plan because its invalid. (Think its because I changed one of the Call Templates)

Trying to change it from Visual to code is impossible, modifying it in Visual mode is impossible. And the Recent Errors displays the following error message:

An error occurred in the web application: Value cannot be null. Parameter name: literal
URL: http://localhost:82/plans/edit?raftId=1&planType=RoleConfigurationPlan&planName=SQL Server
Referrer: http://localhost:82/plans/edit?raftId=1&planType=RoleConfigurationPlan&planName=SQL Server
User: Express User
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36
Stack trace: at Inedo.Web.DP.DpPageBase.ProcessError(HttpContext context, Exception ex)
at Inedo.Web.Handlers.SimpleHandler.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)

How do I get the plan unlocked, so that I can fix it?

replies

Hello,

With the ProGet version 3.0.2 we have the possibility to create a new package, easily.
We use option "Create new package" (Assembles a package on the server by defining metadata and uploading files).

But with ProGet version 3.5.8, this option not exist.
Why ? possible otherwise ?

Best regards,
Frédéric

Product: ProGet
Version: 3.5.8

#### Uploading packages over SSL binding that uses self-signed cert throws an error

replies

We have a non-prod environment that is not exposed over internet. We wanted to configure it over SSL and were trying to use self-signed cert. When we do this, when we are trying to upload packages from Jenkins it throws an invalid certificate warning. What is the proposed solution here?

Regards

Product: ProGet
Version: 3.8.6

#### Bower artifact management (Archive-package instead of GitURL-package)

replies

Good morning,

We are currently using Proget for Bower repositories (and also Nuget and NPM).
We realize that the current standard for Bower repositories is close to simply link a package name to the corresponding git repositories URL, but for various reasons (ease of automation for CI and CD, tracability, separation of source management and artifact management, etc) we are wondering if and when you would change the way you manage Bower artifact to an Archive-package manner. i.e. .zip .tar.gz packages.

Inspiring ourselves from the way Artifactory is managing Bower packages (creating a custom bower resolver, publishing a .tar.gz file) we were able to create a working proof of concept in around a week, so I'm pretty sure you guys would not have any problems implementing it.

Thank you and have a nice day

Product: ProGet
Version: 4.0.15