I moved my Umbraco from one server to another. The front end works fine.. i can see all my pages (i get an Google API key error though, because I dont use the same domain anymore, but that is just an alert box)
But when i go to loginpage and type in my user and pass, i get this error:
Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
Source Error:
An unhandled exception was generated during the execution of the current
web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
Stack Trace:
[ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index] System.Collections.Generic.List`1.get_Item(Int32 index) +12729036 umbraco.cms.presentation._umbraco.Page_Load(Object sender, EventArgs e) +1493 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25 System.EventHandler.Invoke(Object sender, EventArgs e) +0 umbraco.BasePages.BasePage.OnLoad(EventArgs e) +19 System.Web.UI.Control.LoadRecursive() +71 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3048
Does anyone know whats the problem? Its the latest Juno version, and it has been moved from Win server 2003 to 2008 :-)
I can see it has something to do when i Dumb my SQL file in Navicat and import it again via Navicat on the new server... it changes the start ID number from 0 to 1... Somebody who know how to prevent that problem? :-)
The problem was that my new database changed the id in the umrbacouser table from 0 to 1, and then i didnt have access to any of the sections in the umbracouser2app table. So a quick change from 1 to 0 and it all worked out :-)
Actually I think it's great that you have posted the answer even though you found it yourself. It's not everyone that would have shared their solution if they just found it themself. So thanks for sharing Peter.
Moved my Umbraco installation and get an error on login
Hi,
I moved my Umbraco from one server to another. The front end works fine.. i can see all my pages (i get an Google API key error though, because I dont use the same domain anymore, but that is just an alert box)
But when i go to loginpage and type in my user and pass, i get this error:
Does anyone know whats the problem? Its the latest Juno version, and it has been moved from Win server 2003 to 2008 :-)
Thanks and regards
Peter
I can see it has something to do when i Dumb my SQL file in Navicat and import it again via Navicat on the new server... it changes the start ID number from 0 to 1... Somebody who know how to prevent that problem? :-)
The problem was that my new database changed the id in the umrbacouser table from 0 to 1, and then i didnt have access to any of the sections in the umbracouser2app table. So a quick change from 1 to 0 and it all worked out :-)
If somebody else would make a comment on this one so I can mark as solved, that would be great :-)
Like this? ;)
Actually I think it's great that you have posted the answer even though you found it yourself. It's not everyone that would have shared their solution if they just found it themself. So thanks for sharing Peter.
/Kim A
Off course.. Hate when I come to an unsolved thread myself :)
I just had this problem after moving my install from one database to another as well.
The root cause was actually because when i moved my database, i didn't run this SQL command along with the rest
So the fix was to start again only with this option set.
Worked for me anyway - might help someone sometime in the future....
Paul
Thanks so much guys. Saved me a lot of time. Much appreciated.
Thanks for posting this. It saved my butt.
Had the same problem here, who would've thought it was so simple to fix.
is working on a reply...