SqlException accessing mojoPortal 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.
8/28/2007 1:41:08 AM
Gravatar
Total Posts 2

SqlException accessing mojoPortal Setup

Running script mojoportal-core - 2.2.3.6 - 00:00:00.2968693
System.Data.SqlClient.SqlException: Line 6: Incorrect syntax near '('. 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.DatabaseHelper_RunScript(String script, String overrideConnectionString) at mojoPortal.Data.dbPortal.DatabaseHelper_RunScript(FileInfo scriptFile, String overrideConnectionString) at mojoPortal.Business.DatabaseHelper.RunScript(Guid applicationID, FileInfo scriptFile, String overrideConnectionString) - 00:00:00.3437434
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.

8/28/2007 8:32:27 AM
Gravatar
Total Posts 18439

Re: SqlException accessing mojoPortal Setup

Hi Jade,

What version of MS SQL are you using? What service pak?

Thanks,

Joe

8/28/2007 9:41:01 AM
Gravatar
Total Posts 18439

Re: SqlException accessing mojoPortal Setup

Hi Jade,

I think the script had a few spots that were not compatible with SQL 2000 and only worked in SQL 2005. I've corrected those issues and replaced the download file. The only file that changed in the new download is webroot/Setup/applications/mojoportal-core/SchemaUpgradeScripts/mssql/2.2.3.6.config

I've sent you this file as an attachment. Please let me know if it resolves the problem.

Thanks,

Joe

8/28/2007 6:45:27 PM
Gravatar
Total Posts 2

Re: SqlException accessing mojoPortal Setup

Hi Joe,

That fixed the error.
Thanks,
J

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