Why aren't my charts in SSRS 2012 displaying? - sql-server

I recently moved several reports over to a new server. Everything works fine displaying tables and data, but charts are not displaying properly. It looks like the image is not rendering properly. My initial thought was that this was a permissions issue, specifically that the service account used to run SSRS needed permissions to a certain folder on the server that is used to generated chart images, but I can not find anything about this in searching for a solution.
This happens with old reports that display fine on the original server and new reports I try making on the new server.
EDIT: SSRS logs are showing a generic error in GDI+. Looks like this may be the issue, especially since this is running on a virtual server:
http://social.technet.microsoft.com/Forums/en-US/37ed20b2-99bc-4e36-a14b-c9f8cc297be3/ssrs-2012-reports-with-charts-generic-error-in-gdi-?forum=sqlreportingservices
I am curious about a point made in this question:
2) Ensure write permissions on the "folder to which SSRS caches the charts"
Well, firstly, I have not found a single article on the net as to
where this folder is; however, I tested this locally on the server
while logged in as Administrator with full privileges. This doesn't
seem to apply to my situation either.
Does anyone know about this folder? I would imagine that running while logged in as an admin would not mean anything since the service account running SSRS would need the correct privileges.

Someone had a similar problem and the solution was to repair the SQL Server installation. I know it is quite long to run but it might be worth a try.
Equivalent topic in SO

You can try restarting the report server. That worked in my case with Sharepoint and SQL Server 2012. Or repair the SQL server installation on the server as some posts suggest.
SSRS 2012 Charts Not Rendering

I had the same issue when deploying a new report locally.
I restarted my Report Server service and the reports rendered fine.

Related

VS2019 MVC Database solution won't work on a second machine

I had created a webpage with DB access which works perfectly well on the machine I develop it. However, when I copy everything across to another machine, it fails with an error message - cannot open database xxx requested by the login. I did copy everything including the database created in the development environment and put it in the same place as the development did. What other thing I had done wrong ? Please help. In addition, when I open the solution on another machine, I cannot see the database from the SQL Server Object Explorer like what I saw on the development machine.
Problem solved ! Need to copy the database and the log file across and the used the SQL Server Manager to attach the database to the right server. After that, everything just work !!

SSRS report: Preview OK, Deployment OK, but looks in wrong server after release

I've a set of reports in a Visual Studio/SSRS project. We've recently moved the store procedures for the reports to a different server.
The shared data source has been pointed to the new server & db.
A particular report previews ok within Visual Studio, deploys with no errors but when running in Live environment it gives an error "Invalid object name 'CARE.dbo.contact_suppressions'. This is from some embedded sql in report which is fine when previewed & deployed though beforehand so when run in correct environment it works.
It seems to be looking at old server & db still after deployment. If I replace with old server db name in the embedded sql it works but shouldn't be going anywhere near there as the data source points to new server.
Any help would be appreciated. Thanks in advance.

SSRS report external image

This is SSRS 2012 SQL Server 11.00.2218
When I have external image in report using http://i.imgur.com/g3D5jNz.jpg it works.
but when I use file:///\\ImageServer\April.jpg
I got this error on the html
<IMG onerror=this.errored=true; src="" errored="true">
I have had this working for about 1 year. Then suddenly stop working.
Steps I have done to troubleshoot and still not fixing the issue:
Check execution account has access to \ImageServer\April.jpg confirmed execution account has access to the imageServer and the file - DONE
Unload antivirus on the report server then test - DONE
Reboot report server - DONE but I will try this again
I looked in C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\LogFiles, and found no error for image related or any error related to the specific report I run
Clues I notice that I don't know how to troubleshoot
when using imgur jpg, the html img src is using some web service AXD file ReportViewerWebControl.axd. I am guessing it uses this to resize or convert the image some how. is it possible that an error happen during conversion/resize?
Could you please suggest how to troubleshoot this further?
other stackoverflow user have the same problem. (not the original post. but one of the answer post.) by John Fouhy
https://stackoverflow.com/a/8782471/2635566
The same symptomps, but I don't see the same error message on John Fouhy's post (yet)
Have you tried the Answer in the example you linked about? :
Moved the img folder that has all the gifs from the static content server to the local SSRS machine, which also has a web server
running on it.
Setup a virtual directory on the default web site in the local SSRS machine SIIS Manager.
Then I changed the report query to refer to the image in the local SSRS machine, by machine name, like this
http://mylocalssrsmachine/fotwimg/us.gif Voila, it works… or at
least it worked for me.
Seems like you may just need to point the file to your server.
SSRS 2012 Charts Not Rendering
The solution seems to be the same as question above. Something is corrupted in the installation and
I was able to resolve the problem by running a repair operation from the SQL Server Installer.

Azure SQL Data Warehouse ''NoCount' Error

I just got approved for the Azure SQL Data Warehouse Preview, and just finished "provisioning" my new server and database. I followed a link to a 'Getting Started' page from Microsoft (Get started: Connect ...), and read that the two best (only?) ways of querying the database were through sqlcmd and Visual Studio 2013.
I ignored this advice first, and fired up SSMS, connected to the database, and then tried to open a new query window. I immediately received the following error: 'Unable to apply connection settings. The detailed error message is: 'NoCount' is not a recognized option.' After clicking OK, the query window did open up, but many T-SQL statements did not work such as a simple:
CREATE TABLE dbo.tblTest (acct_id nvarchar(255) NOT NULL)
I would receive a 'Command(s) completed successfully.' message, however no table was created.
Ok, I fired up Visual Studio 2013, connect to my Azure SQL Data Warehouse, and open it up in SQL Server Object Explorer. I right-clicked the specific database, and selected 'New Query', enter the same T-SQL CREATE TABLE statement as above, then hit execute. Once I hit execute, I get the exact same error message as above. This time around I was able to open a new query window at least, but after attempting to execute the query I still get the 'NoCount' is not a recognized option error.
I'm completely new to data warehouses, and still very much a beginner with T-SQL and SQL Server as well. But, I haven't been able to find anything that would explain why I'm receiving these errors, and right now I'm basically at a standstill until I can understand what's going on. Any help is appreciated, thanks.
I've experienced this. Your connection isn't actually recognised as a SQL DW connection. I bet your query window is a .sql file, not a .dsql as it needs to be.
Go back into the Azure portal and use the link to connect using SSDT from there. You should get a connection in the SQL Server Explorer pane which looks different, and when you start a New Query based on it, you should get a .dsql window, not a .sql one.
Have you checked the version of SSDT that you are using? It sounds like you may be on a version prior to 12.0.50623, which doesn't take into account that SET NO COUNT is not supported by SQL Data Warehouse at the moment. Newer versions of SSDT have adjusted for this. We recommend updating SSDT here and then connecting using the SQL Server Object Explorer with the directions in our documentation.
I am running Visual Studio 2015 Enterprise, and what I had to do to get this error resolved was install SSDT October 2015 Preview in Visual Studio. The link I used is: https://msdn.microsoft.com/en-us/library/mt204009.aspx
Prior to installing this, I had the latest released version for VS2015...had to install the Preview to get it to work. Also, it solved the issue where I was not able to see ANY of the tables in the Azure Data Warehouse database - just a couple of views, which made querying difficult (could still get a list of available tables from sys.tables)
I hope this helps somebody!

SSIS deployment yields Error 27123

An attempted deployment from (localhost) to (remote server) yielded the Error 27123 which, appears to be a credentials-related issue. After spending several hours the resolution appears to be one of assigning local-to-the-remote server Windows credentials that are used to launch DTEexec.exe. I am using VS2012 Ultimate locally with SQL Server 2014 Developer version and remote SQL version 2012 SP1. However, my attempts have failed so far.
I would VERY much like to be able to deploy to the remote server inside of VS2012, including creating folders, etc but am still at a loss as to the missing piece needed.
We do not have Active Directory set up as the remote is on the Amazon S3 cloud bit other than that is pretty much a plain vanilla setup. I also noted some folks suggested a Kerberos-based response but before I ask our network guru to proceed I'd like at least to get confirmation.
I AM able to manually FTP, install and run packages when remoted in but that stinks for my contractor who I would also like to be able to have me out of his way. s
All found online materials have not yet yielded the one last piece. I suspect my ignorance rather than the lack of a real solution and would appreciate any guidance.
Thanks in advance.

Resources