Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# DannyT 3/19/2009 11:43 AM
When launching my site in VS2008 I see the appropriate installation screen, however when deployed i get the following error:
500 An error occured:

could not execute query [ select sitealias0_.sitealiasid as sitealia1_2_, sitealias0_.updatetimestamp as updateti2_2_, sitealias0_.url as url2_, sitealias0_.siteid as siteid2_, sitealias0_.nodeid as nodeid2_ from cuyahoga_sitealias sitealias0_ where (lower(sitealias0_.url)=? )or(lower(sitealias0_.url)=? ) ] Name: url2 - Value: http://mysite.com/ Name: url1 - Value: http://mysite.com [SQL: select sitealias0_.sitealiasid as sitealia1_2_, sitealias0_.updatetimestamp as updateti2_2_, sitealias0_.url as url2_, sitealias0_.siteid as siteid2_, sitealias0_.nodeid as nodeid2_ from cuyahoga_sitealias sitealias0_ where (lower(sitealias0_.url)=? )or(lower(sitealias0_.url)=? )]

Is this likely to be some configuration issue with IIS or have i not uploaded a necessary library or something?

Thanks
# Constructor 3/19/2009 12:31 PM
Have a look here this may help.
# DannyT 3/19/2009 12:46 PM
Sorry i should have specified this is for version 1.6.0
# DannyT 3/19/2009 1:35 PM
For a bit more info:

When debugging from VS it works fine (I haven't tried following the installer yet but it shows up)
When running locally on IIS (vista) I get the error:
Invalid object name 'cuyahoga_sitealias'.
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.Data.SqlClient.SqlException: Invalid object name 'cuyahoga_sitealias'.

Source Error:

Line 54: 			q.SetCacheable(true);
Line 55: 			q.SetCacheRegion("Sites");
Line 56: 			return q.UniqueResult() as SiteAlias;
Line 57: 		}
Line 58: 


Source File: C:\Users\dthomas\Documents\Visual Studio 2008\Projects\BRFC\Core\DataAccess\SiteStructureDao.cs    Line: 56 

When running remotely in IIS (win2k3) I get the following:
500 An error occured:

could not execute query [ select sitealias0_.sitealiasid as sitealia1_2_, sitealias0_.updatetimestamp as updateti2_2_, sitealias0_.url as url2_, sitealias0_.siteid as siteid2_, sitealias0_.nodeid as nodeid2_ from cuyahoga_sitealias sitealias0_ where (lower(sitealias0_.url)=? )or(lower(sitealias0_.url)=? ) ] Name: url2 - Value: http://mysite.com/ Name: url1 - Value: http://mysite.com [SQL: select sitealias0_.sitealiasid as sitealia1_2_, sitealias0_.updatetimestamp as updateti2_2_, sitealias0_.url as url2_, sitealias0_.siteid as siteid2_, sitealias0_.nodeid as nodeid2_ from cuyahoga_sitealias sitealias0_ where (lower(sitealias0_.url)=? )or(lower(sitealias0_.url)=? )]

The IIS(vista) and IIS(win2k3) contain a published version of the Cuyahoga.Web project with what I believe to be all the necessary dlls and modules copied over, obviously the VS version runs from the solution source.
# martijnb 3/20/2009 11:38 AM
The installer didn't appear after deploying to IIS? Try recycling the application pool and see if the installer kicks in after that. Otherwise, a minor change to web.config will also recycle the appdomain and should cause the installer to start.
# DannyT 3/20/2009 11:54 AM
Hmm, doing that did make a difference however it just gives the following error after recycling:
500 An error occured:

Invalid object name 'cuyahoga_moduletype'.

And then after that the same as before?
# DannyT 3/20/2009 11:56 AM
For deployment I'm using the 'Publish' option within VS on Cuyahoga.Web (so precompiled assemblies and no code behind files get uploaded to IIS) I then copy over the modules and anything else that isn't in the VS project manually to make sure everything is there. Am I missing anything perhaps?