Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL (Archived)

Dynamic SL 2015 Screen crash when choosing PV.

Posted on by Microsoft Employee

Hi everyone,

I have some issue for certain screen keep crashing when I wanted to choose a PV which the table is empty. For this issue, my dynamic sl screen does not have any customization and the PV are all standard.

I have attached a video link to show when I choosing Inspection ID's PV where this table is empty and no record inside this table.

https://drive.google.com/folderview?id=0B8C84TyRzpahfkdLNEh2ZUltY0ZXRDg3SGJPa3ItWDdKbWhlTTdtNmRtQ3FlXzVfZlVqSms&usp=sharing

Here is my Dynamic SL 2015 version. 

- Microsoft Dynamic SL 2015 - Advanced Management Version 9.00.21106.00 (9.0.0.0)

*This post is locked for comments

  • afali Profile Picture
    afali 445 on at
    RE: Dynamic SL 2015 Screen crash when choosing PV.

    Did any one manage to get a fix for this ?

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamic SL 2015 Screen crash when choosing PV.

    Hi there,

     For us, the issue appeared to be isolated to screens with custom vba. Specifically, the Update1_onUpdate function now has more explicit declarations, and these need to be edited.   We proceeded as follows, but I guess it would work to edit the cst file and change the Update1_onupdate directly before importing to SL2015.

    1. In the working SL2011 version, export the customization and check the box to include vba as text.

    2. Edit the cst file and copy the custom code - save it in a text file and then remove it from the cst.  Leave all the screen positional information, just remove your custom VBA at the end of the file.

    3. In your SL2015 database, delete all customizations for this screen.

    4. Import the cst into SL2015 (without the custom code).

    5. Once the import is complete, open the screen in SL2015 and go into customize mode and open the  VBA editor (should be blank).  Paste in the code from step 2.  

    6. Edit the code and change the declarations for Update1_onUpdate from:

    Private Sub Update1_OnUpdate(Level As Integer, InsertFlg As Integer, retval As Integer)

    to:

    Private Sub Update1_OnUpdate(ByVal Level As Integer, ByVal InsertFlg As Integer, retval As Integer)  

    (Note the ByVal keywords on the first two but not the third parameter).

    7. Save and recompile.

    8. Retest the screen in SL2015.

    This worked for us and the F3 now brings up a (slow!) PV list.  Now if only we could figure out why it is so slow...

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamic SL 2015 Screen crash when choosing PV.

    Was there a resolution found for this? I am having exact same issue. Running SL 2015 CU1 on Server 2012 R2 Standard. All screen crash when you F3 on any field. 

    Thank you!

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamic SL 2015 Screen crash when choosing PV.

    JRC - did you ever get your issue resolved - how - I am SL 2015 CU1 and when I hit F3 on any screen the screen crashes.

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamic SL 2015 Screen crash when choosing PV.

    Hi everyone,

    For my case, I have discovered the source of this issue when I applying my hotfix (HSL2015_34564SY). There is one InstallUpdate.bat file when I open this bat file in notepad, I found out that there is one part of the code that something is missing.

    installupadate-1.png

    After adding the missing .dll into bat file, I have ran the bat file without any error and this also fix my screen crash issue. Hope this will help. 

    Cheers.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamic SL 2015 Screen crash when choosing PV.

    Hi there,

    We have the same issue - any screen we try crashes immediately upon using the F3 key to bring up a PV list. We have installed SL2015 CU1 on the application server and clients, have run the db update, have re-imported PV list, but these steps have not resolved the issue. The client is on Windows 7  Enterprise 64 bit with .net version 4.5.2.  The server is Windows Server 2012R2 and the SQL Server version is 2014.  Would really appreciate any advice as we are unsure what to try next.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamic SL 2015 Screen crash when choosing PV.

    Hi Peter,

    Thanks for the information and fast reply.

    Cheers.

  • Suggested answer
    Peter Pino Profile Picture
    Peter Pino 190 on at
    RE: Dynamic SL 2015 Screen crash when choosing PV.

    Dynamics SL2015 CU1 correct this issue and other problems that you could find with the RTM version.

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans