Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

System Message 10050

(0) ShareShare
ReportReport
Posted on by 438

Hi All,

I am currently upgrade fom SL 7 FP1 to SL 2018 CU1, but when i try to open some screen appears this message

in other post https://community.dynamics.com/sl/f/35/t/133935

says that we have to import DH files but i do not know how to do it.

Can some one help me please.

thanks

*This post is locked for comments

  • CFROTON Profile Picture
    CFROTON 4,710 on at
    RE: System Message 10050

    Manuel,

    So the error you are getting is System Message 10050 the application specified size of record intran (1110) does not match the database declared size (1038). (per the prior community link you included in your initial post).

    If you are seeing this issue in standard, please make sure you are selecting the Exclude Event Code when testing in standard mode. After the upgrade the standard screen should launch without an issue or need for the INTRAN DH file to be re-imported.

    It is not clear what the customization are on the screen you are seeing this issue in. Are other customized screen loading without error? Is there a custom app, object or table trying to load with this screen?

    Thank you,

    Carolyn

    MSDSL Technical Support

  • manuel vela Profile Picture
    manuel vela 438 on at
    RE: System Message 10050

    Hi Carolyn,

    Thanks for your suggest, i did what you mention, delete customization - import customization, but the error continue even in standard mode

    then i tried to open the screen in Visual Basic 2012 but still the message error. :(

    any other option?

    thanks

  • Suggested answer
    CFROTON Profile Picture
    CFROTON 4,710 on at
    RE: System Message 10050

    Good day Manuel -

    Thank you for posting to the community forum for this issue.

    In support when upgrading from an older version of SL to a current one, with customization, we suggest to run the Export Customization process from your older version of SL (in your case 7 FP1), then before running the upgrade to 2018 CU1, delete the customization from the database. Once the database is upgraded, import the customization that were exported earlier.   In most cases the import process will update the VBA changes from the old screen structure/code to the new version.

    For steps on importing the DH files, you can reference the Customization Manager User Guide. Here is an excerpt from mine:

    To include an SQL table not already accessed by a screen:

    Regardless of whether an SQL table is new (one created by you) or an existing Microsoft Dynamics SL SQL table, if it is an additional table not accessed by the screen to be customized, you must access the table manually and update it by entering Visual Basic for Applications statements within the Customization Manager module’s Visual Basic Editor(VBA IDE) Window.

    You must define the SQL table using the Visual Basic for Applications code Type command. This definition is usually in a separate file that is then copied to the Microsoft Dynamics SL Programs directory. For Visual Basic for Applications, the file will need to be added to the project in the VBA IDE. Select File | Import File from the VBA IDE menu with the modules selected to add a DH file.

        1. In the Form1 Load event (under Event), there must be a Setaddr call and a Sqlcursor call for each new record to be accessed. For example:

            Call Setaddr(“bfilename”, bfilename, nfilename,

            Len(nfilename))

            Call Sqlcursor(c1, NOLEVEL)

        2. Once these calls have been made, the Customization Manager module recognizes these records as being part of the current screen and allows you to add data objects associated with these objects.

    I hope this is what you are looking for.

    Thank you,

    Carolyn

    MSDSL Technical Support

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,309 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans