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.
MariaHaltAsked:
Who is Participating?
 
Nico BontenbalConnect With a Mentor Commented:
http://msdn.microsoft.com/en-us/library/bb630446.aspx

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.
0
 
Nico BontenbalCommented:
Are you building the report in a 2008 R2 environment and deploying it to a 2008 environment maybe?
0
 
MariaHaltAuthor Commented:
Possibly...how can I tell???
0
 
MariaHaltAuthor Commented:
Yep, that works.  Thank you.
0
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.