Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL (Archived)

Assertion failure

Posted on by Microsoft Employee

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

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Assertion failure

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

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Assertion failure

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

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Assertion failure

    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

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans