Solved

The paramter cannot be blank.

Posted on 2011-02-25
2
1,208 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

In this short article I will be talking about two functions in the SQL Server Reporting Services (SSRS) function stack.  Those functions are IIF() and Switch().  And I'll be showing you how easy it is to add an Else part to the Switch function. T…
Have you ever had to extract data from a Microsoft SQL Server database and export it to an Excel file, but did not want to use a DTS package? The concept in this article is not new, but it is the answer and will also work on 64-bit SQL boxes.   …
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

729 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