Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

moving to new server



  • 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, Func2 keySelector, Func2 elementSelector, IEqualityComparer1 comparer) +274
    Inedo.Data.<>c__DisplayClass9_01.<ReadAllAsync>b__0(Type t) +359 System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd(TKey key, Func2 valueFactory) +83 Inedo.Data.<ReadAllAsync>d__91.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


  • inedo-engineer

    This is the sort of error you can expect when the application code and database are not the same version.

    Had you installed the the same version you had on the old server, it wouldn't be a problem. But fortunately it's an easy fix I think.

    Just follow the Database Manual Installation Instructions and run inedosql against your database. Then it'll get updated to the right version.

    FYI please review the Backing Up & Restoring as well :)


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation