client choose another hosting company, so I try move files over ftp and move db. But after succefull login, when I click some (not all) node error occured:
Object reference not set to an instance of an object
[NullReferenceException: Object reference not set to an instance of an object.] umbraco.controls.ContentControl.addControlNew(Property p, TabPage tp, String Caption) +54 umbraco.controls.ContentControl..ctor(Content c, publishModes CanPublish, String Id) +715 umbraco.cms.presentation.editContent.OnInit(EventArgs e) +354 System.Web.UI.Control.InitRecursive(Control namingContainer) +333 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Bool
And rigth click on node also don't work.
When I try site localy and on original hosting it works fine and I can't find out what's wrong...
Probably already heard this one before, but check your permissions, ftp'ing causes all kinds of nasty side effects, and has probably ruined those settings. Re-applying your permission settings should do the trick
I would guess this is a file permission issue on the new host.
But, also, delete the /data/umbraco.config file. This will force umbraco to recreate it (which it will do automatically unless there's a file permission problem). Also, right-click on each of the top-most content nodes and select the 'publish' menu (be sure to also select the 'include children' box) and force umbraco to publish all the nodes. This may take a moment depending on the site's size.
I'm gooing into sources and after adding some more defensive exceptions I found out it's caused because in umbraco.cms.businesslogic.datatype.controls factory in Initialize method isn't filled using reflection, but I have no idea why. First I think it's because there is parent path statement ("/../bin") which maybe can be disabled on hosting. I try change it to point to right folder without using it, add check to folder exists and this check passed. But TypeResolver.GetAssignablesFromType<IDataType> still don't return nothing :-(
YOSD in v 3.0.5 after changing hosting
Hello,
client choose another hosting company, so I try move files over ftp and move db. But after succefull login, when I click some (not all) node error occured:
Object reference not set to an instance of an object
[NullReferenceException: Object reference not set to an instance of an object.]
umbraco.controls.ContentControl.addControlNew(Property p, TabPage tp, String Caption) +54
umbraco.controls.ContentControl..ctor(Content c, publishModes CanPublish, String Id) +715
umbraco.cms.presentation.editContent.OnInit(EventArgs e) +354
System.Web.UI.Control.InitRecursive(Control namingContainer) +333
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Bool
And rigth click on node also don't work.
When I try site localy and on original hosting it works fine and I can't find out what's wrong...
Petr,
Probably already heard this one before, but check your permissions, ftp'ing causes all kinds of nasty side effects, and has probably ruined those settings. Re-applying your permission settings should do the trick
Cheers,
/Dirk
I would guess this is a file permission issue on the new host.
But, also, delete the /data/umbraco.config file. This will force umbraco to recreate it (which it will do automatically unless there's a file permission problem). Also, right-click on each of the top-most content nodes and select the 'publish' menu (be sure to also select the 'include children' box) and force umbraco to publish all the nodes. This may take a moment depending on the site's size.
Let us know what you find out.
cheers,
doug.
Permissions - new hosting has not any settings for this, but administrators wrote that write permissions are set for everything.
I already delete umbraco.config and new was created successfully.
I want try republish, but as I wrote, contextmenu dosn't work (similar to http://our.umbraco.org/forum/using/ui-questions/2066-missing-right-click-context-menu-in-content-tree- )
I check permissions, app pool setings, trust level and try delete umbraco.config and files in systemUmbracoIndexDontDelete.
Have anyone ANY idea?
Oh I also looking into log table, but it doesn't helps me.
I'm gooing into sources and after adding some more defensive exceptions I found out it's caused because in umbraco.cms.businesslogic.datatype.controls factory in Initialize method isn't filled using reflection, but I have no idea why. First I think it's because there is parent path statement ("/../bin") which maybe can be disabled on hosting. I try change it to point to right folder without using it, add check to folder exists and this check passed. But TypeResolver.GetAssignablesFromType<IDataType> still don't return nothing :-(
Any idea which can cause it?
is working on a reply...