Solved

The paramter cannot be blank.

Posted on 2011-02-25
2
1,122 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

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

Written by Valentino Vranken. Introduction: The first step of creating a SQL Server Reporting Services (SSRS) report involves setting up a connection to the data source and programming a dataset to retrieve data from that data source.  The data…
Hi All, I am here to write a simple article to move SSRS (SQL Server Reporting Services) reports from one server to another. When I have faced the same issue to move reports those were developed by developer on development server and now need to …
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

914 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

12 Experts available now in Live!

Get 1:1 Help Now