Solved

Windoiws 8 and Report viewer 2008

Posted on 2015-01-12
5
255 Views
Last Modified: 2015-01-17
Hi Experts

We have a Report Viewer 2008 in VB.net and Visual Studio it runs correctly in Windows 7 but prints #Error when the PC was replaced with Windows 8 Machine

The Code is

=IIF (Parameters!PaymentDate.value <> "",
"Paid With Thanks on " & Parameters!PaymentDate.value,
IIF (Parameters!OutStandingAmount.value <> 0,
"Outstanding Amount "  & Parameters!OutStandingAmount.value, ""))

This shows as #Error

Thanks
0
Comment
Question by:Kevinfeening
  • 3
  • 2
5 Comments
 
LVL 53

Expert Comment

by:McKnife
ID: 40546400
Most probably, it's not the OS's fault. Please compare the installed versions of involved softwares and try to keep them in sync.
0
 

Author Comment

by:Kevinfeening
ID: 40547522
Thanks

But I forgot to mention in the same report the following code works correctly ?

=IIF (Parameters!PaymentDate.value <> "",
 "Payment Due" & date.value(Parameters!PaymentDate.value), "")

Would the added date.value missing from the first IIF statement be the problem
0
 
LVL 53

Expert Comment

by:McKnife
ID: 40547554
Sorry, my programming abilities don't include VB.
You should still see if the program versions are the same, since win8 itself will most probably not interpret the code differently compared to 7.
0
 

Author Comment

by:Kevinfeening
ID: 40547574
I don't do the installs and I checked with the person who installed it and he said the install and versions are correct
he also installed the same access database and programs on a windows 7 and it worked fine
0
 
LVL 53

Accepted Solution

by:
McKnife earned 500 total points
ID: 40547607
Ok, so make sure your system is patched (optional updates as well, since those fix many bugs) and if the problem persists, you might have found a bug. But I cannot really judge it since I don't code this.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This Micro Tutorial will show you how to maximize your wireless card to its maximum capability. This will be demonstrated using Intel(R) Centrino(R) Wireless-N 2230 wireless card on Windows 8 operating system.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now