I have installed proget on a new server. This is because we must retire the old one because it has an older version of windows on it. I installed the latest version of proget and this worked ok until I restored the old database. It gives the error below.
[IndexOutOfRangeException: Version_Count]
System.Data.ProviderBase.FieldNameLookup.GetOrdinal(String fieldName) +204
System.Data.SqlClient.SqlDataReader.GetOrdinal(String name) +138
System.Linq.Enumerable.ToDictionary(IEnumerable1 source, Func
2 keySelector, Func2 elementSelector, IEqualityComparer
1 comparer) +274
Inedo.Data.<>c__DisplayClass9_01.<ReadAllAsync>b__0(Type t) +359 System.Collections.Concurrent.ConcurrentDictionary
2.GetOrAdd(TKey key, Func2 valueFactory) +83 Inedo.Data.<ReadAllAsync>d__9
1.MoveNext() +1545
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +68
Inedo.ProGet.Data.<Dashboards_GetDashboardInfoAsync>d__93.MoveNext() +1821
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +68
Inedo.ProGet.WebApplication.Pages.<CreateChildControlsAsync>d__2.MoveNext() +408
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +68
Inedo.ProGet.WebApplication.Pages.<InitializeAsync>d__1.MoveNext() +344
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +68
Inedo.Web.PageFree.<ProcessRequestAsync>d__47.MoveNext() +278
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +68
System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar) +59
Inedo.Web.Handlers.AsyncHandlerWrapper.EndProcessRequest(IAsyncResult result) +33
System.Web.CallHandlerExecutionStep.InvokeEndHandler(IAsyncResult ar) +234
System.Web.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar) +169