Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Error mscorlib

Posted on by Microsoft Employee

HI everyone, when trying to register a new invoice I'm getting the error below

qm4yatv17bro.png

In the folder C:\Windows\Microsoft .NET\Framework\v4.030319 I have files like mscorlib.dll

Anyone can help me pls?

*This post is locked for comments

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Error mscorlib

    Open the object (I don't know where you have the problem), you should have a variable with type = DotNet. From here you can reference the mscorlib assemblly

    mscorlib.jpg

     and then you can select the class to reference.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error mscorlib

    I didn't understand very well this,

    ry to open the C/AL object and add the reference to the DLL (check the DotNet variable type).. which object? and try to point to the dll ?

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Error mscorlib

    Do you have .NET Framework installed on this machine? Try to open the C/AL object and add the reference to the DLL (check the DotNet variable type).

    It's quite difficult helping on this without seeing the code.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error mscorlib

    I heard that the saving method problem is related to the vat transmission reporting.

    support.microsoft.com/.../the-call-to-member-save-failed-error-when-displaying-transmission-log

    this occurs when I'm making the vat reporting of a invoice.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error mscorlib

    the error in english:

    this message is for c/al programmers:
    An problem occur calling the member GenerateCredentials mscorlib and return the message System can't locate the specified file

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Error mscorlib

    I think this is a custom code. It seems that you have a DotNet variable that calls a GenerateCredential method.

    I suggest you to debug.

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