Theme Page Error

Nov 19, 2009 at 11:00 PM

Sequence contains no elements

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: System.InvalidOperationException: Sequence contains no elements

Source Error:

Line 33:     public static style Get(dbDataContext db, int theme)
Line 34:     {
Line 35:         return db.styles.First(t => t.id == theme);
Line 36:     }
Line 37: 


Source File: c:\Users\rliao\Desktop\SlickTicket\App_Code\Themes.cs    Line: 35

Coordinator
Nov 20, 2009 at 5:47 AM

I don't think you ran the setup wizard, this is showing that the styles were not loaded which happens in the setup wizard.

I would uninstall, clear the DB, and start over.

Dec 4, 2011 at 1:19 AM
Edited Dec 5, 2011 at 9:09 PM

 

Recreate the database and change the line ( in \~root\setup\setup_Data\setup.xml)

<db_creation>True</db_creation> to  <db_creation>False</db_creation>

 Then start setup again

 Good luck