GenericContent.Model.Content is described as compiled and artificial
Everything had been going great in SF 4.0 build 992 until this afternoon. Another developer and I (we have our own .cs files etc but use the same MS SQL database) were working on two different tasks and all of a sudden we got the following error:
Field 'Title_' of class 'Telerik.Sitefinity.GenericContent.Model.Content' is described as compiled and artificial at the same time. --> Telerik.Sitefinity.Model, Version=4.0.992.0, Culture=neutral, PublicKeyToken=b28c218413bdf563/namespace[Telerik.Sitefinity.GenericContent.Model]/class[Telerik.Sitefinity.GenericContent.Model.Content]/field[Title_]
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Telerik.OpenAccess.Exceptions.MetadataException: Field 'Title_' of class 'Telerik.Sitefinity.GenericContent.Model.Content' is described as compiled and artificial at the same time. --> Telerik.Sitefinity.Model, Version=4.0.992.0, Culture=neutral, PublicKeyToken=b28c218413bdf563/namespace[Telerik.Sitefinity.GenericContent.Model]/class[Telerik.Sitefinity.GenericContent.Model.Content]/field[Title_]
<
sitefinity:ResourceFile
AssemblyInfo
=
"LessonBuilder.Widgets.GenericContent, LessonBuilder.Widgets"
Name
=
"LessonBuilder.Widgets.GenericContent.GenericContent.js"
/>
<
sitefinity:ResourceFile
AssemblyInfo
=
"LessonBuilder.Widgets.GenericContent, Widgets"
Name
=
"LessonBuilder.Widgets.GenericContent.GenericContent.js"
/>
Next, I attempted to run the update tool from the Sitefinity Project manager. This introduced numerous build errors in our custom code…. So I stopped, rolled everything back again, and decided to run the update in an isolated branch of source. Little did I know that the SDF Project Manager Upgrade seems to run schema or other database updates.
I suspect that our code is out of sync with the database. "
Hello Phil,
The Upgrade button in Sitefinity Project Manager replaces updated Sitefinity files (assemblies, svc files, etc) in your site. If you have custom code you should fix code references to assemblies to make sure that they point to the the latest ones and rebuild your custom code.
It seems that with the upgrade your database did not upgrade properly. You can try to force a database upgrade manually. To do so fist make sure that the account with which you connect to the SQL server has sufficient permissions to change the database schema. Then open up the database and open sf_bootstrap_info table in the database and set the value of bootstrap_version column to 1. Then restart the application.
Regards,
Radoslav Georgiev
the Telerik team
Thanks for the info. We are noting that.
We started over from scratch and have 1030 up and running.