I have an SSRS report that I have updated the sql for one of the datasets. I have ran clean on the project and then rebuild. I deleted the original report from the server. I deployed the new report and then ran it. When I use SQL Profiler I can see that it executes the original SQL for the dataset. When I open the .rdl file in a text editor the SQL for the dataset has been saved correctly. What can be going wrong?
Solved the issue. It was an 'I'm a beepin muppet' problem ;-) There were two very similar reports and I was changing the wrong one! Lesson to learn is remember to dig through the code to determine exactly which report is being invoked via your application before trying to update it!
Related
First of all, I am new to SQL Server, I always use PostgreSQL as a database, but now I am doing some maintenance of an application that persists on SQL Server, so here I am. I am trying to debug a very large stored procedured. First I tried on SSMS v18, but according to this I have to use Visual Studio, in which I am also new. I follow the instructions and try to connect to the database, but after I hit a new query I get this modal window:
I find it weird that I can see the database tables, views and stored procedures, but am unabled to create queries. So I am thinking it is a silly configuration thing I am missing.
I would appreciate the help, I have spent the whole day reading tutorials, but nothing works.
When navigating to https://servername/reports/browse an entire folders worth of reports is missing. I have restored a backup of the ReportServer and ReportServerTempDB databases that contain these reports. The application that executes the report is able to sucessfully run the report confirming that it is there however when I go to https://servername/reports/browse or https://servername/reportserver the folder isn't listed there. I need to get into that to fix some permissions errors. What can I do to restore the report server so that it properly displays the folder structure? I have tried restarting the services as well as the entire server.
After a bunch of digging I found the reports. They were moved to another folder. Still trying to figure out who did it but at least I've got the information and was able to fix the problem.
I am using SQL Server Management Studio 2014; I am trying to restore a number of databases and encountered some strange behavior.
As expected, the "Add" button allows me to add several .bak files.
Everything proceeds normally. However, when it finishes importing, it shows me a dialog saying "Database '[name]' imported successfully", where [name] is the name of the first .bak file I added.
Indeed, I can confirm looking at the Databases in Object Explorer that it added only the first .bak file on the list; none of the other items were restored.
I've seen posts that suggest how to write scripts to do this kind of an import, but I'd prefer to do it from the UI.
Does anyone know what could be causing this behavior and how to fix it?
Yeah, suppose I could just do them one at a time as a workaround, but that's really time-consuming and error-prone - I'd rather just be able to restore all of them at once.
That is the defined behaviour. The Add button allows you select a backup that uses more than one file. The full process involves selecting a database first and then restoring that. As you mention in your question there is the option of using scripts and you can use the interface to give you the script. All you need to do then is to run the scripts as a batch.
If you open a New Instance of SQL Management studio you could do more than one at once. This would be the way to work around the built in GUI limitation if you are doing the restore/backup manually.
I'm using SSRS 2012 with VS 2012 as the editing environment, against an MS SQL Server database. I have a text query dataset that when I execute in the Query dialog for the dataset returns proper results. In the preview tab, it returns nothing. If I replace the query text with a static list, it returns fine in both Query and preview. With the real query, there are no errors returned from preview, just an empty result set. The report also operates properly when deployed to the server. This is repeatable with a very simple query, at first I thought it might be because the original query was fairly complicated.
The report was recently converted from 2005, and worked fine in that environment (SSRS 2005, using VS 2008 against the same database). This is the first report I'm digging into since the conversion, but a cursory look at other reports demonstrates similar symptoms, so I suspect that testing report changes is going to be very difficult until I can find out how to get around this.
This is NOT a caching issue, I have removed the .rdl.data several times with the same results.
Any ideas why preview is eating the data or what I can do to make it behave?
I want to print a certain data for my program, but every time I run the program it shows all the DATA instead of showing the specific DATA that I want to print. how can I do it? can anyone tell me a way to ease my problem?
Is there a way to choose one DATA in my DATABASE? So that I can print it alone.
I'm using Visual Studio 2010, Visual Basic Window Form Application, and my DB is in SQL SERVER 2005.
and to show the DATA I used REPORT WIZARD.
I've encountered the same problem before and I took some research. I think you should use 'Filtering and Parameterizing'
What This
This should help you.