Copied to clipboard

Flag this post as spam?

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


  • Johnny Wang 2 posts 22 karma points
    Jun 29, 2015 @ 18:19
    Johnny Wang
    0

    Moving a site to dev server

    I'm in the process of upgrading a site from version 4 to 6. I copied all the files over from the deployed server to a dev server and copied the database as well. Now when I load the dev server it shows me the "Looks like there's still work to do" page and tells me there is no content.

    I've checked folder permissions and server settings and they seem to be fine. I tried logging into the backend at /umbraco. The login page shows up, but my login doesn't work. Is there something I am missing? Thanks.

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Jun 29, 2015 @ 18:46
    Dennis Aaen
    0

    Hi Johnny,

    First thing, did you see any JavaScript errors in the console when you are trying to login to the backoffice of Umbraco?

    Another thing to check iIf you have access to the database on your server, is the umbracoUser table in there you will find the backoffice users. Try to find the user that you are trying to login into Umbraco with.

    Make then sure that the value in the column named userNoConsole is set to False for your user. Also make sure that the value in the column named userDisabled is set to False for your user.

    Perhaps you can so get some information about this by looking in the logs files, you will find these in the /App_Data/Logs folder in you Umbraco file structure.

    Hope this helps,

    /Dennis

  • Johnny Wang 2 posts 22 karma points
    Jun 29, 2015 @ 20:02
    Johnny Wang
    0

    I don't see any javascript errors. Users are in my database and those columns you mentioned are correctly set.

    Only thing in my log file is this:

    2015-06-29 12:00:32,950 [212] WARN  Umbraco.Web.UmbracoModule - [Thread 161] Umbraco has no content
    

    Edit: Addendum. Forced a refresh of my web.config file and got this:

    2015-06-29 12:24:56,122 [148] ERROR Umbraco.Core.PluginManager - [Thread 111] Error creating type umbraco.BusinessLogic.ApplicationRegistrar
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
       at umbraco.BusinessLogic.ApplicationRegistrar.<>c__DisplayClass9.<.ctor>b__4(XDocument doc)
       at umbraco.BusinessLogic.Application.LoadXml(Action1 callback, Boolean saveAfterCallback)
       at umbraco.BusinessLogic.ApplicationRegistrar..ctor()
       --- End of inner exception stack trace ---
       at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
       at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
       at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
       at System.Activator.CreateInstance(Type type, Boolean nonPublic)
       at System.Activator.CreateInstance(Type type)
       at Umbraco.Core.PluginManager.CreateInstances[T](IEnumerable1 types, Boolean throwException)
    2015-06-29 12:24:56,137 [148] INFO  Umbraco.Core.PluginManager - [Thread 111] Completed resolution of types of umbraco.interfaces.ITree, found 27 (took 5ms)
    2015-06-29 12:24:56,137 [148] ERROR Umbraco.Core.PluginManager - [Thread 111] Error creating type umbraco.BusinessLogic.ApplicationTreeRegistrar
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
       at umbraco.BusinessLogic.ApplicationTreeRegistrar.<>c__DisplayClass9.<.ctor>b__4(XDocument doc)
       at umbraco.BusinessLogic.ApplicationTree.LoadXml(Action1 callback, Boolean saveAfterCallback)
       at umbraco.BusinessLogic.ApplicationTreeRegistrar..ctor()
       --- End of inner exception stack trace ---
       at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
       at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
       at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
       at System.Activator.CreateInstance(Type type, Boolean nonPublic)
       at System.Activator.CreateInstance(Type type)
       at Umbraco.Core.PluginManager.CreateInstances[T](IEnumerable1 types, Boolean throwException)
    2015-06-29 12:24:56,200 [148] ERROR Umbraco.Core.PluginManager - [Thread 111] Error creating type UmbracoExamine.UmbracoEventManager
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Examine.ExamineManager' threw an exception. ---> System.Configuration.ConfigurationErrorsException: Object reference not set to an instance of an object. (E:\HostingSpaces\allebach\hqm-dev.com\wwwroot\config\ExamineSettings.config line 12) ---> System.NullReferenceException: Object reference not set to an instance of an object.
       at UmbracoExamine.DataServices.UmbracoContentService.GetAllUserPropertyNames()
       at UmbracoExamine.Config.IndexSetExtensions.ToIndexCriteria(IndexSet set, IDataService svc)
       at UmbracoExamine.UmbracoContentIndexer.GetIndexerData(IndexSet indexSet)
       at Examine.LuceneEngine.Providers.LuceneIndexer.Initialize(String name, NameValueCollection config)
       at UmbracoExamine.BaseUmbracoIndexer.Initialize(String name, NameValueCollection config)
       at UmbracoExamine.UmbracoContentIndexer.Initialize(String name, NameValueCollection config)
       at System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType)
       --- End of inner exception stack trace ---
       at System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType)
       at System.Web.Configuration.ProvidersHelper.InstantiateProviders(ProviderSettingsCollection configProviders, ProviderCollection providers, Type providerType)
       at Examine.ExamineManager.LoadProviders()
       at Examine.ExamineManager..ctor()
       at Examine.ExamineManager..cctor()
       --- End of inner exception stack trace ---
       at Examine.ExamineManager.get_Instance()
       at umbraco.presentation.umbraco.Search.ExamineEvents..ctor()
       --- End of inner exception stack trace ---
       at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
       at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
       at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
       at System.Activator.CreateInstance(Type type, Boolean nonPublic)
       at System.Activator.CreateInstance(Type type)
       at Umbraco.Core.PluginManager.CreateInstances[T](IEnumerable1 types, Boolean throwException)
    2015-06-29 12:24:56,200 [148] ERROR Umbraco.Core.PluginManager - [Thread 111] Error creating type umbraco.presentation.umbraco.Search.ExamineEvents
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Examine.ExamineManager' threw an exception. ---> System.Configuration.ConfigurationErrorsException: Object reference not set to an instance of an object. (E:\HostingSpaces\allebach\hqm-dev.com\wwwroot\config\ExamineSettings.config line 12) ---> System.NullReferenceException: Object reference not set to an instance of an object.
       at UmbracoExamine.DataServices.UmbracoContentService.GetAllUserPropertyNames()
       at UmbracoExamine.Config.IndexSetExtensions.ToIndexCriteria(IndexSet set, IDataService svc)
       at UmbracoExamine.UmbracoContentIndexer.GetIndexerData(IndexSet indexSet)
       at Examine.LuceneEngine.Providers.LuceneIndexer.Initialize(String name, NameValueCollection config)
       at UmbracoExamine.BaseUmbracoIndexer.Initialize(String name, NameValueCollection config)
       at UmbracoExamine.UmbracoContentIndexer.Initialize(String name, NameValueCollection config)
       at System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType)
       --- End of inner exception stack trace ---
       at System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType)
       at System.Web.Configuration.ProvidersHelper.InstantiateProviders(ProviderSettingsCollection configProviders, ProviderCollection providers, Type providerType)
       at Examine.ExamineManager.LoadProviders()
       at Examine.ExamineManager..ctor()
       at Examine.ExamineManager..cctor()
       --- End of inner exception stack trace ---
       at Examine.ExamineManager.get_Instance()
       at umbraco.presentation.umbraco.Search.ExamineEvents..ctor()
       --- End of inner exception stack trace ---
       at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
       at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
       at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
       at System.Activator.CreateInstance(Type type, Boolean nonPublic)
       at System.Activator.CreateInstance(Type type)
       at Umbraco.Core.PluginManager.CreateInstances[T](IEnumerable1 types, Boolean throwException)
    2015-06-29 12:24:56,419 [148] WARN  Umbraco.Web.UmbracoModule - [Thread 138] Umbraco has no content
    
Please Sign in or register to post replies

Write your reply to:

Draft