XML Load Failed

Posted by: jimdalrymp on 4 August 2017, 2:44 pm EST

  • Posted 4 August 2017, 2:44 pm EST

    When using the LoadLayout method to load an rpx file, if the rpx file has a UNC path, the call fails.  However, if a drive letter path is used, it works fine.  My app is a client-server design, so the layout file is on the same machine as the activereports dlls.  The folder is a public folder. 

    My OS is XP Pro SP2.

    UNC paths work fine on my Win 98 development machine.

    Any suggestions?

    Thanks for the help.

  • Replied 4 August 2017, 2:44 pm EST

    ******** UPDATE TO ORIGINAL MESSAGE ******

    I found a workaround.

    It seems that if I assign the file path and name value to a string variable first and then call the LoadLayout method referencing the string, it works, both UNC and letter drive paths.

    Any ideas about why that is?
  • Replied 4 August 2017, 2:44 pm EST

    Sorry, I do not.  I have not experienced difficulty in the past with UNC paths.  What is the line of code you used that resulted in this error?
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels