SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SSRS Parameter issue (SQL Server 2008 R2)


SSRS Parameter issue (SQL Server 2008 R2)

Author
Message
Anthony Caravia
Anthony Caravia
Valued Member
Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)

Group: General Forum Members
Points: 62 Visits: 86
Having an issue where I have created a report with a shared data source and several shared data sets. The report has 2 parameters one dependent on the other. This was working fine until just recently. Now any report I create with a parameter does not work (see error below). I've tried creating a simple empty report that has an embedded DataSet which returns a int (ClientId) and varchar (Name):

SELECT ClientId, Name From Client

Then have the parameter use this query to populate available values (Value = ClientId and Label = Name).

When I preview in BIDS (VS-2008) it works just fine.

When I deploy and run the report locally I get the following error:

An error occurred within the report server database. This may be due to a connection failure, timeout or low disk condition within the database. (rsReportServerDatabaseError) Arithmetic overflow error converting expression to data type int. The statement has been terminated.

There are no expressions and I've deleted all old datasets that used to have an expression. Seems like SSRS has something cached though I have deleted Internet Cache and deleted the datasets from SSRS and went into the DB and deleted everything I could. I have turned on SQL profilier and don't see anything other than the query mentioned previously being executed. Anyone else out there experience this issue?

Thanks
SagarS04
SagarS04
Forum Newbie
Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: General Forum Members
Points: 3 Visits: 15
No I did not got such issue.
You are saying convesion error message.Can you Cast ID column to Int

E.g.
Select Cast(ID) ,Name From Client

This may solve your problem.

Regards
Sagar
Anthony Caravia
Anthony Caravia
Valued Member
Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)

Group: General Forum Members
Points: 62 Visits: 86
Sagar,
I tried that as well and that does not resolve the issue. As I mentioned before it works in preview mode from BIDS just not once deployed locally.

Thanks,
Anthony
jun.z.dou
jun.z.dou
Forum Newbie
Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)

Group: General Forum Members
Points: 9 Visits: 86
can you use query designer to see if these shared dataset can produce any data you expect?
Anthony Caravia
Anthony Caravia
Valued Member
Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)

Group: General Forum Members
Points: 62 Visits: 86
So the test report I'm using is blank so there is no data to return. The query that populates the Text parameter works fine as the dropdown gets populated just fine. It is just when I click on the "view report" button does the error occur. If I load the dataset in the SSRS query builder returns everything as well. Lastly, as I've stated in my original post it works in BIDS but not when deployed.

Thanks,
Anthony
Abs-225476
Abs-225476
Old Hand
Old Hand (389 reputation)Old Hand (389 reputation)Old Hand (389 reputation)Old Hand (389 reputation)Old Hand (389 reputation)Old Hand (389 reputation)Old Hand (389 reputation)Old Hand (389 reputation)

Group: General Forum Members
Points: 389 Visits: 831
Hi,

I would restart the services for reporting services and then try again.

It would be worth checking the reporting services logs as well to see if any more information is provided for the report failing.

HTH
Anthony Caravia
Anthony Caravia
Valued Member
Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)

Group: General Forum Members
Points: 62 Visits: 86
Abs-225476,

I've tried restarting services, rebooting and I've looked through the logs and nothing helpful at all. I'm going to be opening up a ticket with MS to see what further information I can get.

thanks!!
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search