web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Error mscorlib

(0) ShareShare
ReportReport
Posted on by

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

I have the same question (0)
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    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.

  • Community Member Profile Picture
    on at

    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

  • Community Member Profile Picture
    on at

    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.

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    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
    on at

    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
    37,166 Most Valuable Professional on at

    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.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans