SqlException (0x80131904):

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.
9/13/2012 6:15:47 PM
Gravatar
Total Posts 3

SqlException (0x80131904):

Hi, im getting this error during the installation. Any clues? Thanks

 

Probing system...
File system permissions ok.
MSSQL database connection ok.
database permissions are sufficient to alter schema.
database initial schema already exists.
database core schema needs upgrade.
0 site(s) found.
Running script mojoportal-core - 2.2.1.9 - 00:00:00.0400001
System.Data.SqlClient.SqlException (0x80131904): Either the parameter @objname is ambiguous or the claimed @objtype (COLUMN) is wrong.   en System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)   en System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()   en System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)   en System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)   en System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)   en System.Data.SqlClient.SqlCommand.ExecuteNonQuery()   en mojoPortal.Data.SqlHelper.ExecuteNonQuery(SqlTransaction transaction, CommandType commandType, String commandText, Int32 commandTimeout, SqlParameter[] commandParameters)   en mojoPortal.Data.DBPortal.DatabaseHelperRunScript(String script, String overrideConnectionInfo)   en mojoPortal.Business.DatabaseHelper.RunScript(Guid applicationId, FileInfo scriptFile, String overrideConnectionInfo) - 00:00:00.0700001

9/13/2012 8:35:15 PM
Gravatar
Total Posts 355

Re: SqlException (0x80131904):

What version are you upgrading from?

9/13/2012 8:58:10 PM
Gravatar
Total Posts 3

Re: SqlException (0x80131904):

Hi indigoTea, i tried mojoportal a few months ago but i cant remember what version i used. Now that i want to install it again im getting this error. Any Ideas?

9/13/2012 9:12:31 PM
Gravatar
Total Posts 355

Re: SqlException (0x80131904):

If the previous installation isn't something you're currently relying on, I'd say delete the database and previous version of mojoPortal, and install from scratch - that should resolve the issue.

9/13/2012 10:51:53 PM
Gravatar
Total Posts 3

Re: SqlException (0x80131904):

yes, the only solution is to delete everything and install from scratch. .

Now is working. Thank a lot indigoTea ;)

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