Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# luciferleo 4/17/2009 7:32 AM
After I set up IIS server and MS SQL database for Cuyahoga according to the guide of Install-binary.txt, I got a screen said:
Create DatabaseThe installer will first install the database. After that you have to set the password for the default administrator. 

The database for the following components wil be installed: 
Cuyahoga Core 1.6.0
Cuyahoga Core Modules 1.6.0

and a button said "Install database", which linked to "Install.aspx".
But after I pressed the button, the screen just refreshed and nothing amazing happened.

What's wrong?
# luciferleo 4/17/2009 7:42 AM
Got this in log.txt:

ERROR Cuyahoga.Core.Util.DatabaseUtil [(null)] <(null)> - An error occured while retrieving the version for Cuyahoga.Modules.
System.Data.SqlClient.SqlException
# martijnb 4/17/2009 9:30 AM
Very strange. Do you have more information about the exception?

All I can say is that something went wrong when the installer checked the cuyahoga_version table to see if Cuyahoga.Modules was installed.
# luciferleo 4/17/2009 10:56 AM
I thought too much information would be frightening (h) , like this:
2009-04-17 16:46:23,515 [5] ERROR Cuyahoga.Core.Util.DatabaseUtil [(null)] <(null)> - An error occured while retrieving the version for Cuyahoga.Core.
System.Data.SqlClient.SqlException: Invalid object name 'cuyahoga_version'.
   在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   在 System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   在 System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
   在 System.Data.SqlClient.SqlDataReader.get_MetaData()
   在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
   在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
   在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
   在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   在 System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader()
   在 Cuyahoga.Core.Util.DatabaseUtil.GetAssemblyVersion(String assembly)
2009-04-17 16:46:24,156 [5] DEBUG Cuyahoga.Web.Global [(null)] <(null)> - Component created: Castle.Facilities.NHibernateIntegration.Internal.WebSessionStore
2009-04-17 16:46:24,156 [5] DEBUG Cuyahoga.Web.Global [(null)] <(null)> - Component created: Castle.Facilities.NHibernateIntegration.Internal.DefaultSessionManager
2009-04-17 16:46:24,156 [5] DEBUG Cuyahoga.Web.Global [(null)] <(null)> - Component created: Castle.Facilities.AutomaticTransactionManagement.TransactionInterceptor
2009-04-17 16:46:24,468 [5] DEBUG Cuyahoga.Web.Global [(null)] <(null)> - Component created: ICommonDaoProxyde54eea880114d0693d228dfc3df5120
2009-04-17 16:46:24,468 [5] DEBUG Cuyahoga.Web.Global [(null)] <(null)> - Component created: Castle.Facilities.AutomaticTransactionManagement.TransactionInterceptor
2009-04-17 16:46:25,140 [5] DEBUG Cuyahoga.Web.Global [(null)] <(null)> - Component created: ISiteStructureDaoProxy46c7ea2b634747d5aa0bbc133336edc0
2009-04-17 16:46:25,140 [5] DEBUG Cuyahoga.Web.Global [(null)] <(null)> - Component created: Castle.Facilities.AutomaticTransactionManagement.TransactionInterceptor
2009-04-17 16:46:25,421 [5] DEBUG Cuyahoga.Web.Global [(null)] <(null)> - Component created: IUserDaoProxye992849891b04e02af9671bda16883cd
2009-04-17 16:46:25,437 [5] DEBUG Cuyahoga.Web.Global [(null)] <(null)> - Component created: Castle.Facilities.AutomaticTransactionManagement.TransactionInterceptor
2009-04-17 16:46:25,500 [5] DEBUG Cuyahoga.Web.Global [(null)] <(null)> - Component created: INodeServiceProxy58af64c860af43cf8b5d5b1e78ea02c8
2009-04-17 16:46:25,500 [5] DEBUG Cuyahoga.Web.Global [(null)] <(null)> - Component created: Cuyahoga.Core.Service.CoreRepositoryAdapter
2009-04-17 16:46:25,500 [5] DEBUG Cuyahoga.Web.Global [(null)] <(null)> - Component created: Castle.Services.Transaction.DefaultTransactionManager
2009-04-17 16:46:25,937 [5] INFO  Cuyahoga.Web.HttpHandlers.PageHandler [(null)] <(null)> - Starting request for /Cuyahoga/Install/Install.aspx
2009-04-17 16:46:26,171 [5] ERROR Cuyahoga.Core.Util.DatabaseUtil [(null)] <(null)> - An error occured while retrieving the version for Cuyahoga.Core.
System.Data.SqlClient.SqlException: Invalid object name 'cuyahoga_version'.
   在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   在 System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   在 System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
   在 System.Data.SqlClient.SqlDataReader.get_MetaData()
   在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
   在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
   在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
   在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   在 System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader()
   在 Cuyahoga.Core.Util.DatabaseUtil.GetAssemblyVersion(String assembly)
2009-04-17 16:46:27,015 [5] ERROR Cuyahoga.Core.Util.DatabaseUtil [(null)] <(null)> - An error occured while retrieving the version for Cuyahoga.Modules.
System.Data.SqlClient.SqlException: Invalid object name 'cuyahoga_version'.
   在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   在 System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   在 System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
   在 System.Data.SqlClient.SqlDataReader.get_MetaData()
   在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
   在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
   在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
   在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   在 System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader()
   在 Cuyahoga.Core.Util.DatabaseUtil.GetAssemblyVersion(String assembly)
2009-04-17 16:46:27,046 [5] INFO  Cuyahoga.Web.HttpHandlers.PageHandler [(null)] <(null)> - Request finshed. Total duration: 109 ms.
# martijnb 4/18/2009 10:10 AM
Ah, the installer can't find the cuyahoga_version table, but is is successfully installed (the table, otherwise, we wouldn't come this far).

Is the database account that installs the tables the dbo? When you check the database tables after this error appears, do you see the cuyahoga_version table?