Problem using Temporary Table in Sql Server Reporting Service

Posted on 2008-11-20
Medium Priority
Last Modified: 2012-08-13
I am trying to create report in Sql Server Reporting Service using RepExamTypeComparison_Test stored procedure,In this stored procedure I am using temporary table.It is working fine in SQL Server but when I am using this stored procedure in creating Report(Using Sql Reporting Service),then it give me error "There is an error in the query. Invalid object name '#tres'." where #tres is temporary table.So please tell me how I'll solve this problem?I am attaching screen shot.

Question by:vikasbapat
LVL 14

Expert Comment

ID: 23004452
A first test would be is to log on to SQL server as the report user. Then run the report and debug from there.  That user may need some more rights granted to them to run the report.


Accepted Solution

digital_thoughts earned 500 total points
ID: 23004484
Have you tried to just click the Next button and move forward? I'm not sure, but maybe its running some sort of validation on the stored procedure and its not recognizing that the table is being created in the procedure.... just a guess though.

Author Closing Comment

ID: 31518659

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article will describe one method to parse a delimited string into a table of data.   Why would I do that you ask?  Let's say that you need to pass multiple parameters into a stored procedure to search for.  For our sake, we'll say that we wa…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?

839 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