Page 1 of 1

Assertion Failed

Posted: 12 Mar 2020
by ksertkaya
Hi folk,

In the spform on the related item, when I clicked "Edit" button, I receive a popup with the message saying “Assertion Failed: Break into debugger?”

Any of you have any idea how to solve this issue?
Screenshot_38.png
Screenshot_38.png (17.59 KiB) Viewed 5277 times

Re: Assertion Failed

Posted: 16 Mar 2020
by mnikitina
Hello ksertkaya,

I'm sorry for the delay in reply.

Is that New or Edit form?
Do you have any code in the form?

Re: Assertion Failed

Posted: 17 Mar 2020
by ksertkaya
This is Edit Form and no code in the form.

Re: Assertion Failed

Posted: 18 Mar 2020
by mnikitina
Hello ksertkaya,

Do you get the same error in other lists?

Please try to re-add the control to the form. If you still getting the error, please share the screenshot of the settings of the related items control.
Capture.PNG
Capture.PNG (23.48 KiB) Viewed 5256 times

Re: Assertion Failed

Posted: 27 Mar 2020
by ksertkaya
Re-added but not resolved. We face with this problem on the forms that has related-item screen with at least one item

Re: Assertion Failed

Posted: 30 Mar 2020
by mnikitina
Hello ksertkaya,

Most likely, SharePoint is running in the Debugging mode. If you turn it off, it should not give you an error. There is nothing wrong with the control, but it will keep giving you the error if Debugging mode is enabled.

You'll need to modify web.config, read more about it here - https://docs.microsoft.com/en-us/previo ... office.14)

Find: <compilation batch=”true” debug=”true”>
Change To: <compilation batch=”false” debug=”false”>

This should help. If not - let me know!