System.Data.SqlClient.SqlException (.Net SqlClient Data Provider): Could not find stored procedure
search cancel

System.Data.SqlClient.SqlException (.Net SqlClient Data Provider): Could not find stored procedure

book

Article ID: 158581

calendar_today

Updated On:

Products

Patch Management Solution for Windows IT Management Suite IT Analytics Inventory Solution Asset Management Solution Deployment Solution CMDB Solution Task Server Altiris Network Discovery Software Management Solution

Issue/Introduction

After installing or upgrading IT Management Suite (ITMS), administrators may encounter SQL errors similar to:

System.Data.SqlClient.SqlException (.Net SqlClient Data Provider):
Could not find stored procedure 'StoredProcedureName'
 

Depending on the missing database object, symptoms may include:

  • Console pages failing to load

  • Reports failing to execute

  • Solutions not functioning as expected

  • Scheduled tasks not running

  • Policy updates failing

Environment

ITMS 8.6.x, 8.7.x, 8.8.x

Cause

This error indicates that the SQL Server database for the Symantec Management Platform (SMP) is missing one or more stored procedures required by the platform or an installed solution.

This condition most commonly occurs due to:

  • Incomplete upgrade execution

  • Interrupted solution installation

  • Failed database migration

  • Manual database restore without reapplying platform schema updates

  • Permissions issues preventing schema creation

  • Database restored from backup without re-running configuration.

The issue is not typically caused by SQL Server corruption but rather by a schema mismatch between the installed binaries and the database.

 

Resolution

Perform the following steps: