Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# wsirota 2/17/2009 9:19 PM
I downloaded the latest binaries, tried to follow directions, kept getting an error. So i downloaded source, compiled in VS2008, and run up to the following error - I had already created the database, and at this point no tables have yet been put into it. Any suggestions? Thanks.


(i was going to paste the whole exception and stack trace here, but the forum thought it was dangerous, so here's what looks like the significant part:

NHibernate.ADOException was unhandled by user code
Message="could not execute query\r\n[ select site0_.siteid as siteid3_, site0_.updatetimestamp as updateti2_3_, site0_.name as name3_, site0_.homeurl as
blah blah blah...

Source="NHibernate"
StackTrace:
at NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters)
at NHibernate.Loader.Loader.ListUsingQueryCache(ISessionImplementor session, QueryParameters queryParameters, ISet`1 querySpaces, IType[] resultTypes)
..
at Cuyahoga.Core.DataAccess.SiteStructureDao.GetSiteBySiteUrl(String siteUrl) in C:\Documents and Settings\wsirota\My Documents\Visual Studio 2008\Projects\Cuyahoga1\Cuyahoga.Core\DataAccess\SiteStructureDao.cs:line 42
...
2008\Projects\Cuyahoga1\Cuyahoga.Core\Service\SiteStructure\SiteService.cs:line 47
etc...
# wsirota 2/17/2009 9:35 PM
well, somehow i skipped over the bad code, got the install page, and surprisingly managed to get the data tables created. Not sure how that happened, but there it is. and now the error doesn't appear anymore. so it must have to do with not having the first site created when you start.
# wsirota 2/17/2009 9:55 PM
more strange news - when i run my site by hitting run within VS2008 (i.e., with the Cassini web server included with VS), then it comes right up. but when i run it from IIS, which has a virt. dir mapped to the Cuyahoga.Web folder within the site, i get an error at Cuyahoga.Web.UI.PageEngine.OnInit(EventArgs e) in C:\Documents and Settings\wsirota\My Documents\Visual Studio 2008\Projects\Cuyahoga1\Cuyahoga.Web\UI\PageEngine.cs:171. The error is "No site found at http://localhost/cuyahoga1". this is all strange and disconcerting. please build up my confidence that it's just me doing something wrong!