Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Business Central forum

Could not Load the type

(0) ShareShare
ReportReport
Posted on by 779

When compiling the codeunit 491 Memory Mapped File in BC CU05 I'am getting the following error.

System.IO.MemoryMappedFiles.MemoryMappedFile. Sytem.IO.MemoryMappedFiles,Version=4.0.0.0 PublicKeyToken=B03f................

I've tried in differente machines with clean installations and up to date .net framework. Anything I am missing?

Categories:
  • Community Member Profile Picture
    on at
    RE: Could not Load the type

    Hi Alexey!

    Thanks for the info.

    Yes that looks significant - and it looks different from what I have.

    It seems we mixed up something with versions of BC. (that version 14 on my side doesn't look right)

    In any case - the techies resolved the problem by installing .Net framework 7.2

    It doesn't work completely (for example it doesn't show the different classes when you assign the dotnet variable, but at least the codeunit 491 is compiling and BC doesn't throw an error when trying to import the package.

  • Alexey Finogenov Profile Picture
    1,659 on at
    RE: Could not Load the type

    I see such diff (COD491_13x_CU05_W1; COD491_13x_CU06_W1)

    CU05

    8484.4.png

    CU06

    2476.2.png

    Diff:

    2476.3.png

    8484.4.png

  • Community Member Profile Picture
    on at
    RE: Could not Load the type

    Hi Alexey!

    Thanks for the tip but unfortunately no solution there.
    They changed the version from 114.00 to 113.06, isn't that strange a bit?
    Also the Spring 2019 DB build 29537 has a version of SQL server demo database marked as version 14 while builds 29777 (CU6) and 31809 (CU7) are marked as version 13.
    Did I miss a memo?
    image.png
  • Alexey Finogenov Profile Picture
    1,659 on at
    RE: Could not Load the type

    I see that some changes has been done in CU06, COD 491; try to use it...

  • Community Member Profile Picture
    on at
    RE: Could not Load the type

    I am experiencing the same issue on multiple installations of BC CU05.

    Particularly problematic is that this prevents loading packages in RapidStart.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central forum

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans