I have coded a program in VB.NET which is for making proposal and printing invoices. I can connect to my VPS MySQL (Mariadb) database via my software and everything works fine (ADD/UPDATE/DELETE strings). But I also need to gather data from my database to print invoices. For making this I am using Crystal Reports XI Release 2. I need to connect Crystal Reports to my online MySQL database which is located in my VPS to get data and make the invoice ready to print.
Connection options for Crystal Reports are :
- Access/Excel (DAO)
- ADO.NET(XML)
- Database Files
- Exchange 5.5 Message Tracking Log
- Exchange Message Tracking Log
- Legacy Exchange
- Mailbox Admin
- ODBC (RDO)
- Olap
- OLE DB (ADO)
- Microsoft Jet 4.0 OLE DB Provider
- Microsoft Office 12.0 Access Database Engine
- Microsoft OLE DB Provider for Analysis Service
- Microsoft OLE DB Provider for Indexing Service
- Microsoft OLE DB Provider for ODBC Drivers
- Microsoft OLE DB Provider for Oracle
- Microsoft OLE DB Provider for Search
- Microsoft OLE DB Provider for SQL Server
- Microsoft OLE DB Simple Provider
- MSDataShape
- OLE DB Provider for Microsoft Directory Service
- SQL Server Native Client 11.0
- Outlook/Exchange
- Public Folder ACL
- Public Folder Admin
- Public Folder Replica
- Universes
- XML
I tried to connect to the VPS database in Crystal Reports with the following steps :
In Database expert menu I am selecting OLE DB (ADO) and then selecting Microsoft OLE DB Provider for SQL Server. Then it asks me Server, UserID, Password, Database. I am filling the fields but when I try to select database it shows nothing. When I leave the database field empty and click on next then it give me the following message:
Failed to open the connection.
Details: ADO Error Code:0x
Source: Microsoft OLE DB Provider for SQL Server
Description : [DBNETLIB][ConnectionOpen (Connect().]SQL Server does not exist or access denied.
SQL State:08001
Native Error: [Database Vendor Code:17]
Microsoft OLE DB Provider for SQL Server
which would not fit for MySQL, please clarify your question. – bummiMicrosoft OLE DB Provider for SQL Server
take a look at MySQL connection strings – bummi