Happens when I add a new node or try to open any previously created node I get this red alert notification.
Factory returned model of type
Umbraco.Cms.Web.Common.PublishedModels.Home which does not implement
IPublishedContent. A fatal server error occurred. If this continues,
please reach out to your administrator.
To troubleshoot the "invalid item type" error when clicking on any node in the Content tree in Umbraco, follow these steps:
Check Content Types:
Go to Settings > Document Types.
Ensure all document types are correctly defined.
Clear Cache:
Delete contents of /App_Data/TEMP.
Restart the application or IIS.
Examine Logs:
Check logs in /App_Data/Logs for more details on the error.
Rebuild Models:
Go to Settings > ModelsBuilder.
Click Generate Models.
Recycle the application pool in IIS.
Database Check:
Run SQL queries to check for orphaned nodes or document types.
```sql
-- Check for orphaned content nodes
SELECT * FROM umbracoNode WHERE nodeObjectType = 'c66ba18e-eaf3-4cff-8a22-41b16d66a972' AND id NOT IN (SELECT nodeId FROM cmsContent);
-- Check for orphaned document types
SELECT * FROM cmsContentType WHERE nodeId NOT IN (SELECT id FROM umbracoNode);
```
These steps mabe can help to identify and resolve the issue.
Thanks @girish. I followed those steps and that didn't solve it for me. But, you got me pointed in the right direction. I believe my "Home" docType somehow got corrupted. So I:
Created a new "HomeToo" docType, and moved all my content under
that.
Deleted my original/corrupt "Home" docType
Cleared all the caches in the backoffice.
Regenerated the models.
Restarted IIS
Recreated my "Home" DocType and moved all the content under the new "Home" docType.
Fatal Server Error v14.1.1
Happens when I add a new node or try to open any previously created node I get this red alert notification.
Today same site...different error when clicking on any node in the Content tree...
To troubleshoot the "invalid item type" error when clicking on any node in the Content tree in Umbraco, follow these steps:
Check Content Types:
Clear Cache:
/App_Data/TEMP
.Examine Logs:
/App_Data/Logs
for more details on the error.Rebuild Models:
Database Check:
```sql -- Check for orphaned content nodes SELECT * FROM umbracoNode WHERE nodeObjectType = 'c66ba18e-eaf3-4cff-8a22-41b16d66a972' AND id NOT IN (SELECT nodeId FROM cmsContent);
-- Check for orphaned document types SELECT * FROM cmsContentType WHERE nodeId NOT IN (SELECT id FROM umbracoNode); ```
These steps mabe can help to identify and resolve the issue.
Thanks @girish. I followed those steps and that didn't solve it for me. But, you got me pointed in the right direction. I believe my "Home" docType somehow got corrupted. So I:
That seems to have solved it.
Hi,
My solution was only to delete the old doc type and create again changing the alias.
is working on a reply...