ssrs page number error in report

In my page footer I have this common expression: ="Page " + Globals!OverallPageNumber.ToString + " of " + Globals!OverallTotalPages.ToString

When I preview the report in VS, the page numbers are displayed correctly.  I then build & deploy the report to my reportserver.  When I go to the reportserver and run the report, the page number expression displays #Error.  Grrrrr....ppplease help.
Who is Participating?
Nico BontenbalConnect With a Mentor Commented:

You can also change the expression to:
="Page " & Globals!PageNumber & " of " & Globals!TotalPages.ToString
If that solves your problem the server probably has 2008, because OverallPageNumber and OverallTotalPages are new to 2008 R2.
Nico BontenbalCommented:
Are you building the report in a 2008 R2 environment and deploying it to a 2008 environment maybe?
MariaHaltAuthor Commented: can I tell???
MariaHaltAuthor Commented:
Yep, that works.  Thank you.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.