web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

Assertion failure

(0) ShareShare
ReportReport
Posted on by

The error comes up randomly. Tried c:\Windows\SysWOW64\regsvr32.exe C:\Windows\SysWOW64\msigrid.ocx that doesn't help.

 

also tried removed customization as well. (delete   FROM [Sys].[dbo].[CustomVBA]   where ScreenId ='xd10000')

Any input is helpful, thanks.

 

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    In the past we have seen this assertion failure being called if there is a custom trigger that has the following line:

    Set Nocount Off

    If you run the following script it will show you all of the  triggers on the database. You will need to review the triggers and make sure none of them contain the Set NoCount Off line.

    Select * from sysobjects where xtype ='tr'

    Then to review each trigger whose name begins with X (by convention a customized trigger should have a name starting with x) using this command:

    sp_helptext xtriggername

    Here is an example of how you would modify the trigger to Set NoCount On.

    Example of how to set this to ON:

    alter TRIGGER TrnsfrDocStatusUpdate ON TrnsfrDoc

    FOR INSERT, UPDATE

    AS

    Set NOCOUNT ON

  • Community Member Profile Picture
    on at

    Thanks! It works like magic (I guess it is a SDK requirement.)

  • Community Member Profile Picture
    on at

    Apparently we changed how we interact with SQL in SL 2011 that causes this needing setting change.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics SL (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans