Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Farhad 13 posts 56 karma points
    Jan 06, 2014 @ 14:16
    Farhad
    0

    Upgrading from 6.1.6 to 7.0.1 Error: Invalid object name 'cmsDataType'

    Hi

     

    I am having an issue upgrading from 6.1.6 to 7.0.1 and getting the error above. Can anyone help?

     

    Regards

    Farhad

  • Martin Griffiths 826 posts 1269 karma points c-trib
    Jan 06, 2014 @ 14:46
    Martin Griffiths
    0

    Hi Farhad

    Did your site start on v6 or did it originate from v4?

    Martin

  • Farhad 13 posts 56 karma points
    Jan 06, 2014 @ 14:50
    Farhad
    0

    Hi Martin

     

    Thanks for the reply. We started on V6.1.1 then upgraded to 6.1.6

     

    Regards

    Farhad

  • Martin Griffiths 826 posts 1269 karma points c-trib
    Jan 06, 2014 @ 14:52
    Martin Griffiths
    0

    Can you paste the error log?

  • Farhad 13 posts 56 karma points
    Jan 06, 2014 @ 15:36
    Farhad
    0

    Hi Martin

    I re-did the upgrade steps and it seems to be fine and now but I hit another error : Unable to cast object of type 'System.Int32' to type 'System.String'.

     

    Below is the error log.

     

    2014-01-06 16:34:43,817 [11] INFO  Umbraco.Core.DatabaseContext - [Thread 20] Database configuration status:

    Upgrade completed!

    2014-01-06 16:34:45,400 [11] INFO  Umbraco.Core.Persistence.UmbracoDatabase - [Thread 7]    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)

       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)

       at System.Delegate.DynamicInvokeImpl(Object[] args)

       at Umbraco.Core.Persistence.Database.MultiPocoFactory.CallCallback[TRet](Delegate callback, IDataReader dr, Int32 count)

       at Umbraco.Core.Persistence.Database.<>c__DisplayClass1a`1.b__19(IDataReader reader, Delegate arg3)

       at Umbraco.Core.Persistence.Database.d__1c`1.MoveNext()

    2014-01-06 16:34:45,543 [11] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 7] An unhandled exception occurred

    System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidCastException: Unable to cast object of type 'System.Int32' to type 'System.String'.

       at System.Data.SqlClient.SqlBuffer.get_String()

       at petapoco_factory_1(IDataReader )

       --- End of inner exception stack trace ---

       at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)

       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)

       at System.Delegate.DynamicInvokeImpl(Object[] args)

       at Umbraco.Core.Persistence.Database.MultiPocoFactory.CallCallback[TRet](Delegate callback, IDataReader dr, Int32 count)

       at Umbraco.Core.Persistence.Database.<>c__DisplayClass1a`1.b__19(IDataReader reader, Delegate arg3)

       at Umbraco.Core.Persistence.Database.d__1c`1.MoveNext()

       at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)

       at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

       at Umbraco.Core.Persistence.Repositories.UserRepository.PerformGet(Int32 id)

       at Umbraco.Core.Persistence.Repositories.RepositoryBase`2.Get(TId id)

       at Umbraco.Core.Services.UserService.GetUserById(Int32 id)

       at Umbraco.Web.Security.WebSecurity.get_CurrentUser()

       at Umbraco.Web.Security.WebSecurity.ValidateCurrentUser(Boolean throwExceptions)

       at Umbraco.Web.UI.Install.Default.OnInit(EventArgs e)

       at System.Web.UI.Control.InitRecursive(Control namingContainer)

       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

       at System.Web.UI.Page.HandleError(Exception e)

       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

       at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

       at System.Web.UI.Page.ProcessRequest()

       at System.Web.UI.Page.ProcessRequest(HttpContext context)

       at ASP.install_default_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\432086c4\34bf2b2e\App_Web_default.aspx.c29b009d.sigh4uqa.0.cs:line 0

       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

     

     

    Regards

    Farhad

  • Martin Griffiths 826 posts 1269 karma points c-trib
    Jan 06, 2014 @ 15:48
  • Farhad 13 posts 56 karma points
    Jan 06, 2014 @ 16:29
    Farhad
    1

    Hi

    That seems to have worked. Brilliant....

    Will have to do some thorough tetsing though. Thanks again for all your help. Really appreciate,

     

    Regards

    Farhad

  • Martin Griffiths 826 posts 1269 karma points c-trib
    Jan 06, 2014 @ 17:32
    Martin Griffiths
    0

    Well done Farhad!

    Glad to be of assistance. :-)

    Regards

    Martin

Please Sign in or register to post replies

Write your reply to:

Draft