Is XMLTextReader.LoadXmlFromLongText() not supported?

havhav Member Posts: 299
edited 2012-01-03 in NAV Three Tier
Hi,
I am using NAV 2009 R2 GB demo database.
When i compile codeunit 5301 - Outlook synchronization NAV mgmt. i get below error:
"You have specified an unknown variable LoadXmlFromLongText....."

The error comes from the function GetXmlFromJQEntry() at line
Success := XMLTextReaderIn.LoadXmlFromLongText(LongText);

Is LoadXmlFromLangText() not supported in XMLTextReader automation?

If yes then how should i fix this.
Is this a bug?

Regards,
Hemant
Regards,
Hemant
MCTS (MB7-841 : NAV 2009 C/SIDE Solution Development)

Answers

  • ara3nara3n Member Posts: 9,256
    You probably have the wrong dll registered. It compiles fine on my vpc.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • havhav Member Posts: 299
    I think so.
    I did a repair for the NAV installation, rebooted the system and compiled the CU 5301 without any error. The XMLTextReader now has the function LoadXmlFromLongText().

    Thanks,
    Hemant
    Regards,
    Hemant
    MCTS (MB7-841 : NAV 2009 C/SIDE Solution Development)
Sign In or Register to comment.