Here is my problem, create an app using umbraco 7.0.4, ran locally and deploy locally all working nice, when deployed to server the backoffice does not work.
I found the solution, Just posting here if someone has the same problem.
What was causing the problem is that the database was missing data, just dont ask me what data was missing, I have had deployed the application and was using the server database. However when I did my changes (install packages/plugins) the local DB changed, so it became different then the server one.
Obs: I have no idea the packages (UBlogsy/Ucommentsy) would affect the umbraco back office login. Because this I was trying to run the application first, so changing to install the packages first and run after worked for me.
So I did this steps:
Restored application to point before the deployment
Run application locally, navigate to Umbraco back office, create a package with the changes.
Browser to server application, navigate to back office, install the package.
Deployed the new version to server, and done
The error was gone.
Also I cleaned cookie and cache of the browser and published the whole umbraco application, however I did this before change the DB and it didn't seen to work or help.
Umbraco 7.0.4 problems loading umbraco backoffice
Hi all
Here is my problem, create an app using umbraco 7.0.4, ran locally and deploy locally all working nice, when deployed to server the backoffice does not work.
in the browser when I type http://mysite.com/umbraco it redirect me to http://mysite.com/umbraco#/umbraco and displays a error:
Server error: Contact administrator, see log for full details.
Server call failed for checking authentication
On browser I can see:
GET http://mysite.com/umbraco/backoffice/UmbracoApi/Authentication/IsAuthenticated 500 (Internal Server Error)
Also it points to angular.min.js:106
On my log file:
2014-06-10 13:10:27,579 [9] ERROR Umbraco.Core.PluginManager - [Thread 6] Error creating type Umbraco.Core.Models.PublishedContent.PublishedPropertyType+CompatConverter
System.MissingMethodException: No parameterless constructor defined for this object.
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](IEnumerable`1 types, Boolean throwException)
I check my connection string and its working, it displays the data from database in the website home page.
I have an user saved in database to log into umbraco, however it never gave me the chance to login.
Anyone has any idea how I can fix it or a work around?
I found the solution, Just posting here if someone has the same problem.
What was causing the problem is that the database was missing data, just dont ask me what data was missing, I have had deployed the application and was using the server database. However when I did my changes (install packages/plugins) the local DB changed, so it became different then the server one.
Obs: I have no idea the packages (UBlogsy/Ucommentsy) would affect the umbraco back office login. Because this I was trying to run the application first, so changing to install the packages first and run after worked for me.
So I did this steps:
The error was gone.
Also I cleaned cookie and cache of the browser and published the whole umbraco application, however I did this before change the DB and it didn't seen to work or help.
Cool stuff.
is working on a reply...