No row with the given identifier exists[N2.ContentItem#2]

Topics: Developer Forum
Jun 30, 2008 at 2:22 PM
I have created the database and created a template (just a Default.aspx file without code behind code, inheriting from 

N2.Templates.UI.Default

I have also created a DefaultPage template (but this is not important at the moment I believe).

However, I got this error. In the installation wizard, I choose the option to use just tje Start Page (the option where you can select only one value in the combobox).

No row with the given identifier exists[N2.ContentItem#2]

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: NHibernate.ObjectNotFoundException: No row with the given identifier exists[N2.ContentItem#2]
Jun 30, 2008 at 2:56 PM
I was able to fix this by manually adding another item in the database.