Copied to clipboard

Flag this post as spam?

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


  • Lee 95 posts 115 karma points
    Aug 18, 2014 @ 18:15
    Lee
    0

    Moved servers, now getting errors

    Hi

    I have just swapped ISP and some of my pages on the website, are throwing up errors, like the one below. Could anybody help me?

     

    Thankyou

     

    Server Error in '/' Application.

    Invalid object name 'cmsContentType2ContentType'.

    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.Data.SqlClient.SqlException: Invalid object name 'cmsContentType2ContentType'.

    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: 

    [SqlException (0x80131904): Invalid object name 'cmsContentType2ContentType'.]
       System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +1753346
       System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +5295154
       System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +242
       System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) +1682
       System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() +59
       System.Data.SqlClient.SqlDataReader.get_MetaData() +90
       System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +365
       System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite) +1325
       System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite) +175
       System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +53
       System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +134
       System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) +41
       System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior) +10
       StackExchange.Profiling.Data.ProfiledDbCommand.ExecuteDbDataReader(CommandBehavior behavior) +68
       System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader() +12
       Umbraco.Core.Persistence.<Query>d__7`1.MoveNext() +265
       System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +381
       System.Linq.Enumerable.ToList(IEnumerable`1 source) +58
       Umbraco.Core.Persistence.Repositories.ContentTypeRepository.PerformGet(Int32 id) +1122
       Umbraco.Core.Persistence.Repositories.RepositoryBase`2.Get(TId id) +259
       Umbraco.Core.Persistence.Repositories.<PerformGetByQuery>d__f.MoveNext() +511
       System.Linq.Enumerable.FirstOrDefault(IEnumerable`1 source) +164
       Umbraco.Core.Services.ContentTypeService.GetContentType(String alias) +382
       Umbraco.Core.<>c__DisplayClass3.<GetDataType>b__0(Tuple`2 tuple) +41
       System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) +113
       Umbraco.Core.PublishedContentHelper.GetDataType(ApplicationContext applicationContext, String docTypeAlias, String propertyAlias) +182
       Umbraco.Web.PublishedContentExtensions.GetPropertyValue(IPublishedContent prop, String alias, Boolean recursive, T ifCannotConvert) +81
       Umbraco.Web.Routing.PublishedContentRequestEngine.FollowExternalRedirect() +40
       Umbraco.Web.Routing.PublishedContentRequestEngine.FindPublishedContentAndTemplate() +242
       Umbraco.Web.Routing.PublishedContentRequestEngine.PrepareRequest() +87
       Umbraco.Web.UmbracoModule.ProcessRequest(HttpContextBase httpContext) +309
       Umbraco.Web.UmbracoModule.<Init>b__7(Object sender, EventArgs e) +80
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +136
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69
  • Dan Lister 416 posts 1974 karma points c-trib
    Aug 19, 2014 @ 10:49
    Dan Lister
    0

    Hi Lee,

    Looks like either your connection string is incorrect or your database hasn't been migrated correctly. Can you connect to your database and confirm that the 'cmsContentType2ContentType' table exists?

    Thanks, Dan.

Please Sign in or register to post replies

Write your reply to:

Draft