SSDT/SSRS - Report Previewer Won't Run - reporting-services

I'm having a very peculiar issue with SQL Server Data Tools 2012. Whenever I attempt to launch the report previewer, I get the following exception:
There was no endpoint listening at net.pipe://localhost/PreviewProcessingServce7324/ReportProcessing that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more deatils.
As far as I can tell, nothing I did triggered the issue. It just started happening one day when I fired up SSDT. I tried the suggestion on
Report Designer Preview in SSDT throws up a 'end point' not found error.
However, my service is up and running just fine (restarting it didn't help), and using Setspn didn't do anything for it, either.
Anyone have any ideas?

That is a current bug in SSDT-BI. The current workaround for now is to right click on the report you want to preview in your Solution Explorer and click RUN.
You will also notice that if you try to preview the report for the first time a command prompt window opens up that runs the preview process, If you don't close this window and just minimize it then you can preview the report but I think the RUN method is much easier for now. Please mark as answer if this helped.

This can happen when you have some SQL Services installed and running on your machine that interfere with the Report Preview. You can check your current services by going opening Sql Server Configuration Manager:
To fix this you can do the following:
Type WinKey + R, input services.msc in the Run box, and press Enter.
Find the "Net.Pipe Listener Adapter" and either Restart or Disable it.
The workaround, as SQLnbe mentioned, is to:
Right Click the RDLC file from solution explorer
Click "Run" from there which will open up a new window.

The Preview issue was resolved for me when I deleted the .DATA files associated with the solution.

In my case I tried all the above solutions, and:
"Run" from context menu does not really work for me, as it's much, much longer than preview in VS2017, as rendering was a deciding factor in my work (lots of grouping by column etc). and render is much faster in VS compared to SSRS,
Could not find listed .Net services on my laptop,
Deleting DATA files did not fixed the issue either,
VS restart and reloading the solution.
I'm not sure if it was points 3 and 4 together that actually did the trick, but I'm putting it out there - just in case it actually is the procedure that will work for others, which is to try option 4.
I need to also note that this issue started after there was a momentary connection dropout. I need to work with WIFI instead LAN due to necessity to be roam-able, and every time I undock the laptop all my connections in SSMS are lost (and with them all the temp tables etc).

I faced the same issue and solved it.
Steps:
Right click on the report.
Click view code.
Check the parameters names in both query parameters and report parameters and make sure it's written correctly.
Close the report and open it again
Thanks

This is what I did:
Restart the .Net.Pipe service in the service console. This didn't resolve the issues.
Closed Visual Studio completely and relaunch the Visual Studio 2017 (in my case).
It seem that the preview is back. It could be the combination of (1) and (2).

None of the solution above worked for me. What did I found and it worked is to run Visual Studio as administrator.

Just closing the visual Studio by ending task with task manager and re-opening the solution worked for me to get through the error.

Related

How can I can deploy just one SSRS report at a time?

I just installed the latest version of SQL Server Design Tools for Visual Studio 2017 (in order to get SSIS templates etc.)
Prior to this I could right-click a report in Solution Explorer and choose run, and this would deploy and run just that one report, but not the others in the project.
Now it seems that when I do the same, all reports (and data sources) in the project are being re-deployed every time I try this. It's not a huge problem, but I liked the old way, in case somebody knows of a little setting tweak in there - I've not found it yet in search.
We had a similar problem when we recently upgraded our setup.
The first thing to note is that Run isn't typically used as a deployment model. It's supposed to be something used for testing, so the behavior you're seeing is likely related (in part) to that. To actually deploy a report, you should be using Deploy, which is right above the Run option.
Additionally, we often saw this behavior when VS could not completely build the entire solution. If you have any reports in your solution that don't build, or are missing (as in they're in the solution but not on disk), the overall build "failed".
That means that VS will continue to try and rebuild the whole project each time you build, run, or deploy anything. If you remove everything from your solution that doesn't pass, and then do this once, you should notice that behavior goes away.
Thankfully this bug was fixed in Reporting Services Projects 1.18.

Preview Report Crashes Access

I have a report in Microsoft Access 97 (yes, I know) that works properly on my client's copy of Server 2003. However, when I try to run it on my own copy of Server 2003, the report crashes Access immediately. It does the same in Server 2008 R2 and Server 2012 R2. Now, the interesting thing is that the query underneath that report runs perfectly, which I would think rules out things like MDAC. There's nothing unusual about the report -- no strange fonts or graphics -- at least nothing obvious. If I can get it working in an environment identical to the client's, then I can move it forward to other operating systems. Where should I start looking for the cause?
Usually this kind of crash is related to missing references..You need to go to the VBA Editor (ALT + F11) -> Tools -> References and check if you have any MISSING
Import everything from your current project into a new blank project, seems like that is the only resolution I have been able to find online.
The information that I found can be viewed here: http://www.pcreview.co.uk/threads/access-97-crashes-opening-a-report.3901588/
What worked for me, don't ask me why:
I found the printing worked and so did Layout View
Open the report in Layout View
Save the report
It works!

Why the settings of my SSIS container changes back automatically?

I am taking over a SSIS package which was developed and running on another server, say Server-01. I am working on this package with MS Visual Studio 2008.
Now, I am trying to run it on my server Server-02.
So I changed the settings of some SQL Task boxes and their related data sources from Server-01 to Server-02, then pressed the OK. After this, I closed the setting panel and reopened it, it looks fine, all my changes have been recorded.
Then I run the boxes in Development mode. As it stopped, I open the boxes which I've changed, then find everything was changed back to its initial status.
May I know what is wrong with my operation, and how can I over come it?
Thanks.
After wrestling with the problem for a while, here are two methods I found. They may not formal, but it suits my case.
Method 1: I went to SSIS->Variables, then change the value of the variable there.
Method 2: I had one variable which cannot be changed via above method, so I opened its property panel, and changed the expression and assigned a new value to it.
Please correct me if my understanding is wrong, or if there are better ways to settle this.
Thanks a lot.

Generate Scripts Wizard hangs without scripting all objects

I am trying to generate the database scripts(tables,triggers,views,procedures) in sql server 2008, all of sudden the scriptting wizards hang up at the end state saying that scripting is completed but the close button never enable, if i stop this some of the tablels are missing, please advise
Install earlier SSMS version.
For me bug was at 15.0.18358.0, changed to 15.0.18338.0 and the wizard started working.
If the wizard says "0 Remaining", this means it has determined all the objects that it needs to script, and is writing them out to your destination. If you are writing to a file, go to that file location in Windows Explorer, and keep refreshing the view. If the file keeps growing in size, this means everything is fine and the data is still being written. Be patient, and eventually the process will finish and the Close button will become enabled.

Having issues with the SSRS Reports site

So I'm working with SSRS (SQL Server 2005), which some of our applications use to generate downloads. The problem with it, though, is that the Reports website that is used to manage it seems to crash randomly. I haven't yet figured out a rhyme or reason to it - only that it will suddenly bust out with a 'Specified cast is not valid' exception and any further attempts to do anything will fail with
The item '/' cannot be found (RsItemNotFound)
Is there a place I can start looking to help me debug this issue? Are there logs that might have more in-depth information than the useless error messages I'm getting?
Is there anything in the standard event logs? You'll probably find lots of logs to go through in (C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\LogFiles)...that's the default path at least.
we have a web app at where i work that occasinally, after it's been left alone for a while, has to "recompile" and will take a few seconds before it'll show a page. i've noticed that ssrs does this at times, and it might or might not be causing your problem.
you could test this by setting up an instance of ssrs on your local machine (that you know no one will get on) and running your downloads against that.
also, check and make sure no one is turning anything off or doing any backups when you are doing the downloads.