Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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

    Scheduled Pinned Locked Moved Support
    2 Posts 2 Posters 5 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      anthony.clark_2901
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer
        last edited by

        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 :)

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post
        Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation