Bug reports
Version 3.x > Bug reports > document type error View modes: 
User avatar
Member
Member
Geert - 9/23/2008 2:15:36 AM
   
document type error
I receive an error when I try to recreate a document type that was deleted before:
[DataClassInfoProvider.SetDataClass]: The Class 'xx.y' already exists.

Is there a way to fix this problem?

I use kentico v3.1a

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 9/23/2008 3:47:44 AM
   
RE:document type error
Hi,

Could you please take a look to the DB table named CMS_Class and remove manually any record related to this document type? It seems that it was not deleted properly. There might be also other dependencies which may be removed at first.

Best Regards,
Juraj Ondrus

User avatar
Member
Member
Geert - 9/23/2008 8:14:20 AM
   
RE:document type error
There is no record related to my document type in the CMS_Class table.
What other places should I look at?

User avatar
Kentico Developer
Kentico Developer
kentico_zbysekn - 9/23/2008 12:09:23 PM
   
RE:document type error
Hello,
When new document is created, it's only tested if there isn't row with same CLassName in table CMS_Class, so please try to look to this table in database again. In case there isn't document with same ClassName, send us email to our support address and we will try to find solution of this issue.

Best Regards,
Zbysek Nemec

User avatar
Member
Member
dhanuxz-gmail - 8/25/2009 12:48:13 AM
   
RE:document type error
i'm having the same problem and i have deleted the row in the table CMS_Class but i still got the same error message.. Is there's other places that i should look at?

User avatar
Kentico Developer
Kentico Developer
kentico_martind - 8/25/2009 3:43:27 AM
   
RE:document type error
Hello,

Could you please try to restart application in 'SiteManager -> Administration -> System' section in order for changes in DB to take effect in application?

Best Regards,

Martin Dobsicek