I've had real troubles updating a version which sits on a mysql db in shared hosting.
I had a previous version of the site with the medium trust patch working, but wanted a few of the other fixs related to the 4.5 release. ... anyway, after updating, and a lot of fiddling the only issue i seem to have is based around the "media". This was only possible due to others having the same issue in the forum and others being so helpful.
So, has anyone got a script which will update the old media xml schema to the new on for the mysql db.
If this is fixed, I think the site will run and hopefully all the media that was uploaded in the previous version will reappear in the "Media" section of the admin interface.
I see lots of improvements with 4.5, but at the moment, can't justify other upgrades if this can't be scripted. :(
Process information: Process ID: 9832 Process name: w3wp.exe Account name: NT AUTHORITY\NETWORK SERVICE
Exception information: Exception type: NullReferenceException Exception message: Object reference not set to an instance of an object. at umbraco.cms.presentation.Trees.MediaRecycleBin.CreateRootNode(XmlTreeNode& rootNode) at umbraco.cms.presentation.Trees.BaseTree.CreateRootNode() at umbraco.cms.presentation.Trees.BaseTree.Initialize() at umbraco.cms.presentation.Trees.BaseTree.get_RootNode() at umbraco.loadMedia.CreateRecycleBin() at umbraco.loadMedia.Render(XmlTree& tree) at umbraco.presentation.webservices.TreeDataService.LoadTree(TreeRequestParams treeParams) at umbraco.presentation.webservices.TreeDataService.GetXmlTree() at umbraco.presentation.webservices.TreeDataService.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Process information:
Process ID: 7036
Process name: w3wp.exe
Account name: IIS APPPOOL\Umbraco4.5.1
Exception information:
Exception type: NullReferenceException
Exception message: Object reference not set to an instance of an object.
Request information:
Request URL: http://localhost/umbraco/webservices/TreeDataService.ashx?rnd=471c2079e0b64835990c0673fac7aa28&id=-1&treeType=media&contextMenu=true&isDialog=false&rnd2=56.3
Request path: /umbraco/webservices/TreeDataService.ashx
User host address: ::1
User:
Is authenticated: False
Authentication Type:
Thread account name: IIS APPPOOL\Umbraco4.5.1
Thread information:
Thread ID: 21
Thread account name: IIS APPPOOL\Umbraco4.5.1
Is impersonating: False
Stack trace: at umbraco.cms.presentation.Trees.MediaRecycleBin.CreateRootNode(XmlTreeNode& rootNode)
at umbraco.cms.presentation.Trees.BaseTree.CreateRootNode()
at umbraco.cms.presentation.Trees.BaseTree.Initialize()
at umbraco.cms.presentation.Trees.BaseTree.get_RootNode()
at umbraco.loadMedia.CreateRecycleBin()
at umbraco.loadMedia.Render(XmlTree& tree)
at umbraco.presentation.webservices.TreeDataService.LoadTree(TreeRequestParams treeParams)
at umbraco.presentation.webservices.TreeDataService.GetXmlTree()
at umbraco.presentation.webservices.TreeDataService.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
4.5 Media Xml in Mysql
I've had real troubles updating a version which sits on a mysql db in shared hosting.
I had a previous version of the site with the medium trust patch working, but wanted a few of the other fixs related to the 4.5 release. ... anyway, after updating, and a lot of fiddling the only issue i seem to have is based around the "media". This was only possible due to others having the same issue in the forum and others being so helpful.
So, has anyone got a script which will update the old media xml schema to the new on for the mysql db.
If this is fixed, I think the site will run and hopefully all the media that was uploaded in the previous version will reappear in the "Media" section of the admin interface.
I see lots of improvements with 4.5, but at the moment, can't justify other upgrades if this can't be scripted. :(
I have manually updated content data from the database so it would be the same as the new schema.
This means my pages work, but the Media Section is still blank and a different issue.
:(
I'm not sure if you have access to event viewer on a hosted site, however on our machine there is a null reference exception:
I see your exception and match it!
is working on a reply...