When trying to print a report from within a customized screen in SL2015 CU2 on Windows 10 Pro that references a Template an assertion failure system message 10232 occurs. Running the same exact screen on window 7, windows 8.1, windows server 2012 R2 does not exhibit this behavior (report runs without issue as expected).
System Message 10232:
Assertion failure!
File: ctlbgrid.cpp
Line: 2030
Expression: m_colMap.GetCount() > 0
Environment: Windows 10 Pro - fully updated through 2018-03 Cumulative update for window 10 version 1709 x64 bit.
Dynamics - SL 2015 CU2 with no hot fixes applied.
Running Dynamics - SL 2015 CU2 as the SYSADMIN on the supplied demo databases using windows authentication. The underlying user is an administrator of the client computer as well as the administrator of the domain.
A button was placed on the Bill of material maintenance Screen 11.250.00 that when pressed did the following:
Private Sub btnPrintBOM_Click()
Dim WhereStr as String
Dim ParmStr as String
WhereStr = "({kit.kitid} = " & SParm(Trim(sivMyApp.Controls("ckitidh"))) & ")"
ParmStr = "ROI.EXE " & PRMSEP
ParmStr = ParmStr & "11600/RUN" & PRMSEP
ParmStr = ParmStr & "SINGLE/TEMPLATE" & PRMSEP
ParmStr = ParmStr & WhereStr & "/WHERE" & PRMSEP
ParmStr = ParmStr & "/PSCRN"
serr = Launch(ParmStr, True, True, 0)
End Sub
Printer information is not saved with the template "SINGLE".
Further, if I modify the above code to not reference a Template it will run fine. However, that is not an acceptable solution in our environment.
*This post is locked for comments