Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics RMS (Archived)

Complier error when printing off an x report

(0) ShareShare
ReportReport
Posted on by 260

Hello 

When i try to print off an x report i get the following error message:

 

Compiler error: unexpected element 'store logo' contains a text node. 

 

could somebody help me with this issue. 

 

thanks 

 

*This post is locked for comments

  • Ryan Sakry Profile Picture
    Ryan Sakry 3,425 on at
    Re: Complier error when printing off an x report

    Cheryl,

    The RMS Receipt template is actually stored into the database once loaded.  You may wish to try re-loading the receipt template just to make sure you have a stock, out of the box copy without any possible FP1 data.  Cannot say if it will help or not, but it is something to try!

  • cheryl corbett Profile Picture
    cheryl corbett 260 on at
    Re: Complier error when printing off an x report

    Hello

    It makes sense, but unfortunately not possible as we only have the one workstation, so I couldn't copy over a template from any other machine even if I wanted to.

    thanks

  • Ryan Sakry Profile Picture
    Ryan Sakry 3,425 on at
    Re: Complier error when printing off an x report

    Cheryl,

    This one is a bit harder to diagnose without digging in, but just trying to take a crack at it, it sounds like you may be using a Receipt Template from after RMS 2.0 Feature Pack 1, but are using a version of the software from before Feature Pack 1.  Is this possible?  I cannot find Report.Vouchers in the list of valid receipt variables from the RMS Customization guide, which tells me it was added sometime after RMS 2.0 came out.  Most of said changes came with FP1.

    Let me know if any of this makes sense!

  • cheryl corbett Profile Picture
    cheryl corbett 260 on at
    Re: Complier error when printing off an x report

    Hello

    Thank you for your help, it was because the path name was incorrect in the register properties. However i now get a further error message when trying to print off the same report, "Compiler error: Token 'report.vouchers' was not found". Not sure where this is coming from, could you please advise me again. thank you

  • Ryan Sakry Profile Picture
    Ryan Sakry 3,425 on at
    Re: Complier error when printing off an x report

    Sounds like there is an invalid character in the path to your store logo.  If you are only experincing this on X/Z reports, then I would check the receipt template you have defined for those actions and ensure the path is proper.  Failing that go into Administrator, File -> Configuration, click on the Register tab and ensure the path the Store logo is set properly there as well.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,575 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans