Checking the Compatibility Level in SQL Server - PAS ICS Integrity - 7.3 - Installation & Upgrade - Intergraph

ICS Integrity Installation Guide

Language
English
Product
PAS ICS Integrity
Subproduct
ICS
Search by Category
Installation & Upgrade
PAS Version
7.3

In Integrity, if the SQL Server database compatibility is set to SQL Server 2000 and below, the following error occurs:

Application Error:

System.Data.SqlClient.SqlException: Procedure or function 'IMOC_InsertMods' expects parameter '@Suppressed', which was not supplied.

The statement has been terminated.

at PAS.DAL.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters)

at PAS.DAL.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters)

at PAS.DAL.DataAccessLayer.mCmSaveImage(Guid ObjectID, String PropertyName, Byte[] Image, Int64 Checksum, Boolean IsFile, String UserName, enUpdateMethod UpdateMethod, String ApproversName, String Reason, String StartTime, String DocType, Int32 PropertyAttribute)

at PAS.AssetModeler.Propertee.Save(enUpdateMethod UpdateMethod)

End Application Error

To check database compatibility and prevent this problem:

  1. Start SQL Server Management Studio.

  2. Connect to the Database Engine using the credentials supplied.

  3. Expand Databases, right-click the database, and then click Properties.

  4. Select Options on the left.

  5. Change the Compatibility level to the highest level available.

    install-SQL-compat-options