Could not find stored procedure 'netSoftLinksGetBrokenCount'.

  • Updated

After upgrading to CMS12 we have seen some customer's report that they could not find the stored procedure 'netSoftLinksGetBrokenCount' using the following instructions.

  1. Navigate to the Admin area.
  2. Select Reports.
  3. Choose "Link Status".
  4. The Link Status report fails with the error message "The page cannot be displayed because an internal server error has occurred."
  5. Check the application log, the exception below shows up. 

System.Data.SqlClient.SqlException (0x80131904): Could not find stored procedure 'netSoftLinksGetBrokenCount'



The Store Procedure 'netSoftLinksGetBrokenCount' is not present in versions of CMS 12 before CMS version 12.13.1. Upgrading to this version at the minimum should show the stored procedure.

As a temporary workaround, you can execute the following SQL script to fix the issue if you cannot upgrade to version 12.13.1:

CREATE PROCEDURE [dbo].[netSoftLinksGetBrokenCount]
@OwnerContentID int

basically you create a dummy SP to allow the upgrade script to proceed