Unable to integrate SSRS 2008 with MySQL - mysql

I would really appreciate any help for this problem.
Basically I am using SSRS 2008 for reporting services. My choice of DB was MySQL. So I installed ODBC MySQL connector and created a DSN and used it in report design. If I preview the report in the Business Intelligence Dev Studio, I can see the records, but when I try to view in the local URL:
http://mycomputername:port/Reports
it says:
DataSource1 not found or driver not installed.
Can anyone please tell me if this is a problem with SSRS configurations or do I need to make any changes to make it work in a URL-based scheme?

Any custom data source should be present in the rsreportserver.config file located in
C:\Program Files\Microsoft SQL
Server\MSRS10.SQLEXPRESS\Reporting
Services\ReportServer
(Your location will be different depending on SQL Server version /installed path etc.)
More specifically in the < Data > section. I would be surprised if the MySQL ODBC connector would facilitate this.
If it works in the designer, you would probably have a line in the RSReportDesigner.config file located in
C:\Program Files\Microsoft Visual
Studio
9.0\Common7\IDE\PrivateAssemblies
Copy that < Data > line and put it in the rsreportserver.config file.

Rather than ODBC you can install Mysql Connector for .Net ,Download and install the connector after installing the connector open the Report Server Url ,click new data source ,select data source as "MYSQL" on Connection string type the following
SERVER=mysqlserver;DATABASE=database name;USER=username;PASSWORD=password;

Related

unable to view list of table on server explorer (visual studio 2015)

I am really new on visual studio. I am using visual studio 2015 and only installed microsoft sql server 2008 pack 1.
So the problem goes like this, when I created a database.mdf and add new table it seems like something was not right there because after I created table, I cannot view list of the table (when I expanded the table folder) through server explorer. then noticed that inside my microsoft sql server 2008 pack 1 file, there was no SQL Server Database File. Only configuration tools.
Someone please tell me, what should I do? Am I need to re-install it or update it to the latest? or is there anything else I should install?
You can not see mdf file in sqlserver side. The mdf file and table in used sqlexpress and accessible in visual studio too(sqlexpress was inbuilt installed with visual studio)
Eigher you can see in visual studio's server explorer (Ctrl + alt + s) or if you want in sqlserver, you open SSMS and connect sqlexpres as "yourpcname/sqlexpress"
How to connect to local instance of SQL Server 2008 Express
cannot connect to pc-name\SQLEXPRESS
https://msdn.microsoft.com/en-us/library/sxds9ett%28v=vs.90%29.aspx
To use this database and table use this connection string in web.config as
How do I connect to an .mdf (Microsoft SQL Server Database File) in a simple web project?
https://learningsqlserver.wordpress.com/2011/02/13/how-can-i-open-mdf-and-ldf-files-in-sql-server-attach-tutorial-troublshooting/

How to save DTS package on windows with SQL Server 2008?

I installed SQL Server 2008 standard on windows 7.
Then I can run legacy DTS package wizard from C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\DTSWizard.exe.
I tried to export for this case. At the end of the wizard, I want to save DTS package but I got message as:
In SQL Server Express, Web, or Workgroup, you can run the package that the Import and Export Wizard creates, but cannot save it. To save packages that the wizard creates, you must upgrade to SQL Server Standard, Enterprise, Developer or Evaluation.
Actually I already install SQL Server 2008 Standard. Not sure why still get this message and I can't save it.
How to save the DTS package for this case?
I had the same problem recently. Just use your sql server installation to install Management Studio and/or (sorry, I don't remember which one actually solved the problem) BIDS tools for Visual Studio and you'll be fine. You need to start off like you were installing new isntance of Sql Server, but then choose "Additional Features / Tools" (or something like that).

Cannot attach 2008 R2 database to 2008 instance

So I have made a set up file and install it to target computer which has no .Net 4.0 or SQL Server 2008.
I add them as prerequisites and setup downloaded from the internet the .Net 4.0 and SQL Server 2008.
The setup finished successfully.
When I run the program, it gives an exception:
cannot open xxxxxx.mdf file. it is version 650. and your is xxx...
I searched it out and learned that SQL Server installed on target computer is lower than the database file I created (the database file was created in SQL Server 2008 R2).
So, no connections can be opened.
To solve this, What can I do?
Thank you...
You can't attach a 2008 R2 database to a 2008 instance - you can only go forward, not backward. So either install 2008 R2 at the destination, or you'll have to re-create your database in 2008. If you install 2008 locally alongside 2008 R2, you can create an empty database in 2008 and use tools like Red-Gate's SQL Compare / SQL Data Compare, or the schema compare feature in SQL Server Data Tools, to translate your database relatively quickly.
There is no way to open an MDF file with a lower version of SQLServer.
Of course you could add as a prerequisite SQLServer 2008 R2 (express or full).
But the best course is to distribute a SQL Script containing schema and data.
This could be done using SqlServer Management Studio,
Right click on the database
Select Task
Select Generate Script.
Follow the Wizard.
In the last page of the wizard you could find the button Advanced
Clicking on it will give you full control on what to put inside the script.
The script could be distributed with your application with instructions on how to execute on the target machine.

Where are SSIS Packages Saved?

I right clicked on a Database in the object explorer of SQL Server 2008 Management Studio. I went to Tasks > Import Data, and imported some data from a flat text file, opting to save the package on the server.
Now how the heck do I get to the package to edit or run it again? Where in SQL Server Management Studio do I go? I've expanded everything and I can't find it. It's driving me nuts.
If you connect to the Integration Services instance on the server (different choice in the dropdown from "Database Engine" when you connect in SQL Server Management Studio), they'll be under the MSDB folder under Stored Packages.
When you start management studio and connect to a database, make sure you have the server type set to Integration Services instead of Database Engine.
You can find the file path in SSIS under "properties" of the package.
right click the package in solution explorer > full path in the properties window
They are stored on the file system as .dtsx files or in msdb.dbo.sysssispackages. If they are stored in the database you can run them with sql server management studio by connecting to integration services. To edit them, you'll need to export to the file system (.dtsx file) then edit.

Microsoft. ReportingServices.ProcessingCore not found

I'm trying to add a third party reporting chart control in to my project. I'm using visual studio 2005 and i've installed SQL Server 2005 along with the Reporting Services. When i try to add the third party dll to the tool box, i get the error message
'Could not load file or assembly 'Microsoft.ReportingServices.ProcessingCore, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.'
I checked out the assembly and i was not able to find any dlls starting with Microsoft.ReportingServices.
Any ideas?
Thank you
NLV
I see this is a bit late, but I wanted to share something I learned for future possibilities of this error for others. I experienced a similar issue after some software was installed that appears to have updated SQL for VS and/or SQL assemblies in general. It appears this caused a mismatch of what assembly SSRS was trying to use vs what it could find.
I found the following workaround:
You can go to the appropriate reportserver bin and add/replace the Microsoft.ReportingServices.ProcessingCore.dll with the appropriate version one. The location for this bin is
Drive(ex. C):\Program Files\Microsoft SQL Server\MSRS__.MSSQLSERVER(or
whatever report server name is)\Reporting Services\ReportServer\bin.
I just copied the .dll here and then went to Reporting Services Configuration and stopped and re-started the report server.
If there is enough disk space on the DB server but this message still appears, restart the SQL Server Reporting Services (MSSQLSERVER) service