Step 1 – Identify the Missing Stored Procedure
-
Navigate to:
C:\ProgramData\Symantec\SMP\Logs -
Open the most recent
aXX.logfile. -
Search for:
Could not find stored procedure
Example log entry:
System.Data.SqlClient.SqlException: Could not find stored procedure 'spXYZ_ReportExecution'Step 2 – Verify Procedure in SQL Server
-
Open SQL Server Management Studio (SSMS).
-
Connect to the SQL instance hosting the Symantec_CMDB database.
-
Execute:
USE Symantec_CMDBGOSELECT nameFROM sys.objectsWHERE type = 'P'AND name = 'spXYZ_ReportExecution'Expected Result
Procedure is listed.
Actual Result (Issue)
No rows returned.
| Check | Expected | Problem Indicator |
|---|---|---|
| Procedure exists | Listed in results | No rows returned |
| Schema | dbo | Missing or incorrect schema |
Step 3 – Determine Owning Solution
Many stored procedures are solution-specific.
Examples:
-
Reporting-related procedures → IT Analytics or Reporting components
-
Inventory procedures → Inventory Solution
-
Patch procedures → Patch Management Solution
How to Verify Installed Products
Using Symantec Installation Manager (SIM)
-
Log on to the SMP Server.
-
Launch:
Symantec Installation Manager -
Go to :
-
Installed Products
-
-
Review:
-
Symantec Management Platform version
-
Installed Solutions
-
Installed versions
-
Step 4 – Run Solution Repair (Preferred Resolution)
If the stored procedure belongs to a specific solution:
-
The proper repair path in ITMS 8.7/8.8 is:
-
Launch Symantec Installation Manager (SIM)
-
Select:
-
Repair Installed Products
-
-
Choose:
-
Affected solution
-
-
Complete repair wizard
-
Allow repair to complete fully. Monitor:
Look for:
- Executing SQL Script
- Schema update completed
Step 5 – Run Platform Repair (If Solution Unknown)
If ownership cannot be determined:
-
Launch Symantec Installation Manager (SIM).
-
Select:
-
Repair Installed Products
-
-
Choose:
-
Symantec Management Platform
-
-
Complete repair wizard.
This revalidates database schema.
Step 6 – Verify SQL Permissions
Ensure the SMP service account:
-
Has db_owner on Symantec_CMDB
-
Is not denied CREATE PROCEDURE permission
Run in SQL:
USE Symantec_CMDBEXEC sp_helprolemember 'db_owner'Confirm SMP service account is listed.
Step 7 – Validation
After repair:
-
Re-run SQL query from Step 2.
-
Confirm stored procedure now exists.
-
Restart IIS:
iisreset -
Test:
-
Console page
-
Report execution
-
Solution functionality
-
Issue should no longer reproduce.
Troubleshooting Summary Table
| Symptom | Likely Cause | Resolution |
|---|---|---|
| One procedure missing | Solution install failed | Repair specific solution |
| Many procedures missing | Platform upgrade incomplete | Platform repair |
| Procedure exists but error persists | Schema mismatch or permissions | Validate schema & permissions |
| Reoccurs after reboot | Database version mismatch | Validate DatabaseVersion table |