Solved

The paramter cannot be blank.

Posted on 2011-02-25
2
1,109 Views
Last Modified: 2012-05-11
I have a report with 5 paramters, 2 are required (dates), 3 are not.  For the 3 that are not, all are set to Allow NULL value and the dataset behind each one has a UNION Select NULL, '<Select a Value>'.  When I preview the report, I select my dates and click View Report.  Works perfectly.  When I access the report from the webpage, I do the same exact thing...select my dates and click View Report.  I then get an error message stating that 'The parameter cannot be blank.'  It's referring to the last of the 5 parameters (one that is not required).  I then have to actually select the <Select a Value> item and then click View Report to get the report to generate.  1.  This does not happen when I preview in Visual Studio!  and 2.  It only does it for the 5th parameter --> parameters 3 & 4 are setup the same but it doesn't bark about them.  So far, I've deleted the parameter and added it back, rebuilt & redeployed, but with no luck.  Anyone have a clue as to why I'm getting this message at all since it is setup to Allow NULL and why does it only happen on the webpage and not in Preview mode?  Thanks.
0
Comment
Question by:MariaHalt
  • 2
2 Comments
 

Accepted Solution

by:
MariaHalt earned 0 total points
ID: 34981021
Fixed it...not sure exactly which step corrected it (probably 2), but this is what I did (in case anyone else encounters the same problem).  1.  Deleted & recreated the parameter again, but this time, I renamed it slightly.  2.  Because I renamed it, I went to the dataset where the parameters are used and saw that the old one which I deleted was still there, huh, so I replaced it by selecting the new one from the dropdown.  3.  Rebuilt, redeployed, opened a different browser and it worked there!  So I went back to the other browser where the problem was occurring, and tried it again and it worked finally!  Yippee!
0
 

Author Closing Comment

by:MariaHalt
ID: 34981035
Didn't find much out there about this error, so I wanted to post my resolution.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Written by Valentino Vranken. A while ago I wrote an article called Chart Optimization Tips (http://www.experts-exchange.com/articles/Microsoft/Development/MS-SQL-Server/MS-SQL_Reporting/Chart-Optimization-Tips.html).  This article explained how …
A recent question popped up and the discussion heated up regarding updating a COMMENTS (TXT) field in a table using SSRS. http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/MS-SQL_Reporting/Q_27475269.html?cid=1572#a37227028 (htt…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

747 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

11 Experts available now in Live!

Get 1:1 Help Now