I’m getting the following error what I try to run the Umbraco project.
I’m using the following package we purchased:
https://codecanyon.net/item/constro-construction-business-umbraco-
theme/20562801
I simply unzipped the packaged, restored the database, and changed the the config to find the restored local db, then rebuild and ran the project.
I know it’s not a clean solution, but it seems to be an Umbraco related issue because I seen it has happened before. I do have a ticket out to them also, but they are in a different time-zone so thing are slow.
Any help would be appreciated.
Found this in the log file:
System.InvalidOperationException: The model class for content type with alias “SmartBlogComment” is named “SmartBlogComment”. CSharp does not support using the same name for the property with alias “smartBlogComment”. Consider using an attribute to assign a different name to the property.
at Umbraco.ModelsBuilder.Building.Builder.Prepare() in X:\Projects\Umbraco\ModelsBuilder\Zbu.ModelsBuilder\Umbraco.ModelsBuilder\Building\Builder.cs:line 171
at Umbraco.ModelsBuilder.Umbraco.PureLiveModelFactory.GenerateModelsCode(IDictionary2 ourFiles, IList1 typeModels) in X:\Projects\Umbraco\ModelsBuilder\Zbu.ModelsBuilder\Umbraco.ModelsBuilder\Umbraco\PureLiveModelFactory.cs:line 315
at Umbraco.ModelsBuilder.Umbraco.PureLiveModelFactory.GetModelsAssembly(Boolean forceRebuild) in X:\Projects\Umbraco\ModelsBuilder\Zbu.ModelsBuilder\Umbraco.ModelsBuilder\Umbraco\PureLiveModelFactory.cs:line 256
at Umbraco.ModelsBuilder.Umbraco.PureLiveModelFactory.EnsureModels() in X:\Projects\Umbraco\ModelsBuilder\Zbu.ModelsBuilder\Umbraco.ModelsBuilder\Umbraco\PureLiveModelFactory.cs:line 151
2017-08-03 06:28:15,463 [P1072/D2/T11] WARN Umbraco.ModelsBuilder.Umbraco.PureLiveModelFactory - Running without models.
2017-08-03 06:28:15,822 [P1072/D2/T11] ERROR Umbraco.ModelsBuilder.Umbraco.PureLiveModelFactory - Failed to build models.
System.InvalidOperationException: The model class for content type with alias “SmartBlogComment” is named “SmartBlogComment”. CSharp does not support using the same name for the property with alias “smartBlogComment”. Consider using an attribute to assign a different name to the property.
at Umbraco.ModelsBuilder.Building.Builder.Prepare() in X:\Projects\Umbraco\ModelsBuilder\Zbu.ModelsBuilder\Umbraco.ModelsBuilder\Building\Builder.cs:line 171
at Umbraco.ModelsBuilder.Umbraco.PureLiveModelFactory.GenerateModelsCode(IDictionary2 ourFiles, IList1 typeModels) in X:\Projects\Umbraco\ModelsBuilder\Zbu.ModelsBuilder\Umbraco.ModelsBuilder\Umbraco\PureLiveModelFactory.cs:line 315
at Umbraco.ModelsBuilder.Umbraco.PureLiveModelFactory.GetModelsAssembly(Boolean forceRebuild) in X:\Projects\Umbraco\ModelsBuilder\Zbu.ModelsBuilder\Umbraco.ModelsBuilder\Umbraco\PureLiveModelFactory.cs:line 256
at Umbraco.ModelsBuilder.Umbraco.PureLiveModelFactory.EnsureModels() in X:\Projects\Umbraco\ModelsBuilder\Zbu.ModelsBuilder\Umbraco.ModelsBuilder\Umbraco\PureLiveModelFactory.cs:line 151
2017-08-03 06:28:15,822 [P1072/D2/T11] WARN Umbraco.ModelsBuilder.Umbraco.PureLiveModelFactory - Running without models.
Thanks,
Eric
This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/92023-no-template-exists-to-render-the-document-at-url