Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SSRS 2008R@_Reporting Services: Got an error message "Timeout expired" when doing "Request Fields"...


SSRS 2008R@_Reporting Services: Got an error message "Timeout expired" when doing "Request Fields" for a stored procedure.

Author
Message
BICoolGal
BICoolGal
Forum Newbie
Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)

Group: General Forum Members
Points: 8 Visits: 56
Hello BI experts,

I have successfully ran the sp on SSMS and got the results(about 30 thousands records) and it's fine.
However, when I created a SSRS report and added a dataset to run this sp, after I "Refresh Fields" and I got this error message below:
"Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding."

I have Timeout(in senconds) set to 0.

What do I do to fix this? so that I can execute the sp in RDL and getting my fields populate in my dataset?

Thank you so much for your help!

LL
BICoolGal
BICoolGal
Forum Newbie
Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)

Group: General Forum Members
Points: 8 Visits: 56
I also got an error message from 'Microsoft SQL Server Report Designer" below:
"Could not update a list of fields or the query. Verify that you can connect to the data source and that your query syntax is correct".
-----
I also check the data source and the test connection succeeded. So not sure if I need to change any setting on the web.config ?

Thank you for all your advice.

LL
BICoolGal
BICoolGal
Forum Newbie
Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)

Group: General Forum Members
Points: 8 Visits: 56
Can someone help me to reply to the problem that I posted above? Thank you!

LL
TheComedian
TheComedian
Valued Member
Valued Member (71 reputation)Valued Member (71 reputation)Valued Member (71 reputation)Valued Member (71 reputation)Valued Member (71 reputation)Valued Member (71 reputation)Valued Member (71 reputation)Valued Member (71 reputation)

Group: General Forum Members
Points: 71 Visits: 510
Hi BiCoolGal,

That seems like an unusual error message you're getting. Did you trying running the query under "Query Type = Text" instead of stored procedure. You may be able to connect to your database (just the Test Connection did) but for some reason the SP is not being found.
Bex
Bex
Ten Centuries
Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)

Group: General Forum Members
Points: 1237 Visits: 1704
Did you make sure that the account that is used to run the report (ie the one defined in your connection) has rights to run the sp? I know that I have separate account that I use for running reports and I have to explicitly grant it exec on the sp before it can run in a report.

Just a thought..

Bex
BICoolGal
BICoolGal
Forum Newbie
Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)

Group: General Forum Members
Points: 8 Visits: 56
Hello,

Thank you for taking the time reading my problem and replying.

@TheComedian: yes, it's a strange error. I have tried to convert a sp to a query since I didn't have a parameter in my SP, it still didn't work with SSRS and got the same error message.

@Bex: I am able to run all other sps but just that one sp I got the timeout expried error message.

However, my coworker just suggested me to back up the original sp, then throw all the records into a table then create another sp with one statement of select all from that table. Run the SSRS and make sure the fields got populated in the data set, then I just modify the existing sp and delete the back up one and it works perfect...Just wanted to share the solution.

Thanks again!

Lucy
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