Creating a SSRS report using a mySQL data source - mysql

I need to setup a report server using SQL Server Reporting Services with MySQL datasource. I am using a ODBC connection to connect MySQL. Using this connection I am able to add a dataset in my reporting project in Visual Studio 2015.
Using this dataset I can create a reports in Visual Studio and it show me preview as well using my table from MySQL, So far so good only problem arise when I try to deploy my reports to my local machine it show following error :
An attempt has been made to use a data extension 'ODBC' that is either not registered for this report server or is not supported in this edition of Reporting Services.
I am using SQL Server 2012 Express Edition and I follow this tutorial to connect report with MySql.
https://www.mssqltips.com/sqlservertip/2615/creating-a-ssrs-report-using-a-mysql-data-source/
Can you please help me to know what I am doing wrong here? Any help will be highly appreciated. Please let me know if any other information needed.
Thank you

I do not think this is supported in express dev version.
http://www.c-sharpcorner.com/UploadFile/ff2f08/feature-supported-and-unsupported-by-ssrs-with-express-advan/
If you have the full version, it can be easily done, via the instructions you linked above.

Related

SSRS (SQL2014) - "Subscriptions cannot be created because the credentials used to run the report are not stored

After deploying my reports to the reporting server, I tried to add a subscription on one of my reports. It was not possible, and I got the error as described in this link.
http://www.kodyaz.com/reporting-services/subscriptions-cannot-be-created.aspx
All my reports use the same shared data source.
I applied the solution proposed in this link and it worked.
BUT Each time I deploy my reports (from SQL Server Data tools for Visual Studio 2013); the error comes back.
I tried to modify the properties of the shared datasource with SQL Server Data tools for Visual Studio 2013 before deploying;similarly to what is shown in the hyperlink, but in this case I am not able to access my reports anymore.
So, it seems that I could only modify the credentials "online" with my web browser; and not "offline" with SQL Server Data tools for Visual Studio 2013.
I remarked one difference between the "offline" and "online" properties of the shared data source : online, it is possible to check the box "Use as Windows credentials when connecting to the data source". This checkbox does not exist in SQL Server Data tools for Visual Studio 2013.
This means : each time I redeploy the reports from SQL Server Data tools for Visual Studio 2013, I have to do the online manipulation on my web browser to get the subscriptions working; which is of course really annoying...
Does someone know how to fix it?
Thanks in advance and sorry for my poor English.
I had a similar problem. I solved it by simply deploying the whole project and not only the shared data source.

SSRS Datasource connection to SQL Azure Data don't work from web based reports

I'm unable to generate a report from the web based interface (Report Manager). The same report in my Visual Studio project works perfectly.
The error which appear when trying to generate the report from the web is
"Cannot create a connection to data source"
The log file error is the fallowing
Cannot get edition information from catalog server.
The report data is retreived from an SQL Azure database.
How come the report can work inside my Visual Studio project but no more once deployed?
I've tried both SQL Server 2012 and SQL Server 2008 on fresh machines and both gives the same result.
Thanks,
After a half day of troubleshooting this issue, I discovered it was because the edition of SSRS I am using does not support Azure SQL Databases as a data source.
I am using 2008 Express Advanced Edition. It appears Standard or above is required for this.
See this article for more information:
http://www.sqlservercentral.com/blogs/sqltact/2016/09/25/sql-ssrs-express-edition-cannot-connect-to-azure-sql-databases/

visual c# express reports

I am using visual c# 2010 express edition and sql server 2008 R2 Express to develop a software. Now I need to create reports in c# based on the data that is stored in the sql database.
Based on this link : SQL 2008 R2 Express install option
I have the version "Database with Management Tools" installed. That is, the one which is 235 MB.
Now my requirements are that the software, which is written in c#, must be able to generate reports based on the data that is found in the sql database.
My questions are:
Must I install the Database with Advanced Services version (727 MB) to be able to use the MS SQL Reporting services?
Considering that I am using express editions for both c# and sql server, will I be able to make my software use the reporting services of MS SQL SERVER 2008 R2 Express? I have no experience in this but I have read somewhere that report viewer is not available in the express edition. Will that prevent me from using the reporting services?
If not, do you guys have any recommendations to other reporting tools that I might use? I need to generate reports containing graphs (free tools as long as possible, this is my dissertation project).
Thank you.
I wouldn't bother with full Reporting Services: I'd consider using the ReportViewer control in local mode in my app instead
This means you don't need SSRS installed at all: it's embedded in your app.

Sql server version error...655 version needed but you computer has 612 or earlier version ? error

Hi i have a error like " dbFileName cannot be opened because it is version 655. This server supports version 612 and earlier. "
what should i do ? some friend of mine done a project but i guess he done it with sql 2008 and i have sql 2005 is that the reason why i got this error? can i fix it ? if i setup a newer version of sql does it will solve the problem?
www.microsoft.com/express/Database/default.aspx#Installation_Options here sql server 2008 R2 express is available can it be the solution?
thank you...
by the way i found a link of an update http://www.microsoft.com/downloads/details.aspx?FamilyID=E1109AEF-1AA2-408D-AA0F-9DF094F993BF&displaylang=en is this a solution to my problem ?
The VS update in the link is not a solution to your problem. You'll need that update though if you want to use VS to work with a SQL Server 2008 project. And you will have to work with SQL Server 2008 if you want to use your friend's database. To solve your problem you'll need to upgrade to SQL Server 2008. Express edition is fine, as long as the database is less than 4Gb in size. Note that if you continue to work on this database, you won't be bale to deploy your solution to a hosting that is based on SQL 2005, since they won't be able to use your database.
But the real problem you face here is the fact that you treat MDF files as source. You should develop exclusively using T-SQL scripts to deploy your database, and then you won't have any of these problems. You can use a application versioned schema deployment strategy, or you can use a Visual Studio Database Edition project and deploy using vsdbcmd.exe and .dbschema files. Any of this solutions will be way ahead of actually checking in MDF files, exchanging MDFs between team members or copying MDFs at deployment time.
SThe database has been attached to a sql server 2008 instance. You cant attach it back to a sql 2005 server. ee this link for more details:
http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/01ed3b1c-6f29-4518-a3a4-e4e35decc05f
You can download an express version of Sql Server 2008.
You won't be able to open it without installing the same or later version that was used to create the file; you can use the free SQL Server 2008 Express Edition if it the database is not too large.

"Unable To Load Client Print Control" - SSRS Printing problems again

Please forgive me as my head is spinning. I have tried so many solutions to this issue, that I'm almost not sure where I am at this point.
At this point in time I have these issues in my Production, Test, and Dev environments. For simplicity sake, I will just try to get it working in Dev first. Here is my setup:
Database/Reporting Server (Same server):
Windows Server 2003 SP2
SQL Server 2005 SP3
Development Box:
Windows 7
Visual Studio 2008 SP1
SQL Server 2008 SP1 (not being used in this case, but wanted to include it in case it is relative)
Internet Explorer 8
Details:
* I have a custom ASP.NET application that is using ReportViewer to access reports on my Database/Reporting Server.
* I am able to connect directly to Report Manager and print with no trouble.
* When I view source on the page with ReportViewer, it says I'm am using version 9.0.30729.4402 .
* The classid of the rsclientprint.dll that keeps getting installed to my c:\windows\downloaded program files directory is {41861299-EAB2-4DCC-986C-802AE12AC499}.
* I have tried taking the rsclientprint.cab file from my Database/Reporting Server and installing it directly to my Development Box and had no success. I made sure to unregister the previously installed dll first.
I feel like I have read as many solutions as I can, and so I turn to you for some assistance. Please let me know if I can provide further details that would be helpful.
Thanks
I am cross posting the solution I received on MSDN. I hope it helps someone else.
Hi mamorgan1,
From your description, I notice you
are using Report Viewer with version
9.0.30729.4402, and SQL Server Reporting Serivces 2005 with SP3.
RS Client Print control is an ActiveX
control which uses a ClassID to check
if the ActiveX is installed on the
client. By default, the ClassID for
SQL Server Reporting Services SP3 is
41861299-EAB2-4DCC-986C-802AE12AC499.
However, Report Viewer 9.0.30729.4402
would like the ClassID
0D221D00-A6ED-477C-8A91-41F3B660A832.
RSClientPrint control has been updated
after applying Cumulative Update #8
for SQL Server 2005 Service Pack 3.
So, please apply Cumulative Update #8
for SQL Server 2005 Service Pack 3 to
solve the issue.
For more information about Cumulative
Update #8 for SQL Server 2005 Service
Pack 3, please see:
http://support.microsoft.com/kb/978915/en-us
If you have any more questions, please
feel free to ask.
Thanks, Jin ChenJin Chen - MSFT