RunTime error when trying setup

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
10/6/2008 8:08:19 AM
Gravatar
Total Posts 18439

Re: RunTime error when trying setup

mojoPortal knows which database to use because there is always only 1 version of the data access dll files. In other words we have different versions of mojoPortal.Data.dll and mojoPortal.Features.Data.dll and WebStore.Data.dll for each supported platform. Rleases packages are created for each db platform and include the correct dlls for that platform.

Your error message refers to "MySql.Data.MySqlClient" which clearly means you have the MySql versions of the data dlls. In medium trust, if you have a choice between MS  SQL and MySql, I recomend you go with MS SQL because you will have less trouble that way.

So my recommendation is download the mojoportal package for MS SQL (mojoportal-2-2-7-3-mssqlreleasefiles.zip) and install that and do not use the MySql data layer.

Hope it helps,

Joe

10/6/2008 10:21:19 AM
Gravatar
Total Posts 32

Re: RunTime error when trying setup

OK I deleted everything and reinstalled mojo using the mediumtrust web.config and user.config and now seems that mojo is not able to create the databse content. Any suggest?

Welcome to mojoPortal Setup
Probing system...
File system permissions ok.
MSSQL database connection ok.
database permissions are sufficient to alter schema.
database initial schema needs to be created.
This site appears to be running in a secured environment using Medium Trust policy or at least lower than Full Trust.


In order for the Search Engine to work in Medium trust, you need to add this in Web.config in the AppSettings section:

<add key="Lucene.Net.lockdir" value="\\WAGNER\wwwroot$\artealtro.net\Data\Sites\1\index" />

 

Running script mojoportal-core - 2.2.6.7 - 00:00:00.7812250
System.Data.SqlClient.SqlException: The log file for database 'artealtro_net_db' is full. Back up the transaction log for the database to free up some log space. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at mojoPortal.Data.SqlHelper.ExecuteNonQuery(SqlTransaction transaction, CommandType commandType, String commandText, SqlParameter[] commandParameters) at mojoPortal.Data.DBPortal.DatabaseHelperRunScript(String script, String overrideConnectionInfo) at mojoPortal.Data.DBPortal.DatabaseHelperRunScript(FileInfo scriptFile, String overrideConnectionInfo) at mojoPortal.Business.DatabaseHelper.RunScript(Guid applicationId, FileInfo scriptFile, String overrideConnectionInfo) - 00:00:02.4530465
Note: This page shows some information that is helpful during setup and upgrades but for security it would be best not to show any information when the system is up to date. You can disable setup and suppress all information on this page by setting DisableSetup=true in Web.config. When you need to upgrade, you can set this back to false. If you are logged in as Administrator setup will run and you will be able to see this page even if it is disabled in Web.config so you can easily leave it disabled and just login before upgrading. But if you are not logged in you will need to enable setup in Web.config.
 

 

10/6/2008 10:30:09 AM
Gravatar
Total Posts 18439

Re: RunTime error when trying setup

System.Data.SqlClient.SqlException: The log file for database 'artealtro_net_db' is full. Back up the transaction log for the database to free up some log space.

This is a problem with your database that you will have to get your hosting company to help you with. Apparently its out of disk space or exceeded some space quota.

Hope it helps,

Joe

10/8/2008 2:33:35 AM
Gravatar
Total Posts 32

Re: RunTime error when trying setup

Hi Joe, about the log file full I asked to my provider to delete e recreate the MSSQL db. They did it but stil I receive this error:

Welcome to mojoPortal Setup
Probing system...
File system permissions ok.
MSSQL database connection ok.
database permissions are sufficient to alter schema.
database initial schema needs to be created.
This site appears to be running in a secured environment using Medium Trust policy or at least lower than Full Trust.


In order for the Search Engine to work in Medium trust, you need to add this in Web.config in the AppSettings section:

<add key="Lucene.Net.lockdir" value="\\WAGNER\wwwroot$\artealtro.net\Data\Sites\1\index" />

 

Running script mojoportal-core - 2.2.6.7 - 00:00:00.6093516
System.Data.SqlClient.SqlException: The log file for database 'artealtro_net_db' is full. Back up the transaction log for the database to free up some log space. Could not create constraint. See previous errors. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at mojoPortal.Data.SqlHelper.ExecuteNonQuery(SqlTransaction transaction, CommandType commandType, String commandText, SqlParameter[] commandParameters) at mojoPortal.Data.DBPortal.DatabaseHelperRunScript(String script, String overrideConnectionInfo) at mojoPortal.Data.DBPortal.DatabaseHelperRunScript(FileInfo scriptFile, String overrideConnectionInfo) at mojoPortal.Business.DatabaseHelper.RunScript(Guid applicationId, FileInfo scriptFile, String overrideConnectionInfo) - 00:00:02.3124112
Note: This page shows some information that is helpful during setup and upgrades but for security it would be best not to show any information when the system is up to date. You can disable setup and suppress all information on this page by setting DisableSetup=true in Web.config. When you need to upgrade, you can set this back to false. If you are logged in as Administrator setup will run and you will be able to see this page even if it is disabled in Web.config so you can easily leave it disabled and just login before upgrading. But if you are not logged in you will need to enable setup in Web.config.
 

???

10/8/2008 7:42:00 AM
Gravatar
Total Posts 18439

Re: RunTime error when trying setup

The error has not changed, my answer is the same. Only your host can solve this.

10/11/2008 10:34:58 AM
Gravatar
Total Posts 32

Re: RunTime error when trying setup

Ok I asked my provider they gave me more autorizathion and now everything seems to work.
Mojo looks great you did a really good job.

Thank You very much for your precious help.

You must sign in to post in the forums. This thread is closed to new posts.