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

  • 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

  • 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

  • Can someone help me to reply to the problem that I posted above? Thank you!

    LL

  • 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.

  • 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

  • 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

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply