Connecting Crystal Reports 2008 to SQL Server 2014 - sql-server

I am trying to connect Crystal Reports to SQL Server 2014. I have integrated security on my db which works great.
When I fire up Crystal Reports I choose from a new connection drop down OLE DB (ADO) and then Microsoft OLE DB provider for SQL Server.
After that at the connection Information I insert localhost and choose Integrated Security.
The problem is that I cannot see my database in the databases drop down list after this.
Any thoughts?
Is the localhost as a server name correct? Why can't I see my databases?

See if you can successfully connect to SQL Server through SSMS using Localhost and windows Authentication using same login you are using for Crystal.
Once you are sure about it then we can look into drivers or other possible issues.

Related

Error connecting to SQL Server through Oracle SQL Developer

I am trying to connect to a Microsoft SQL Server database through Oracle SQL Developer (version 4.2), after adding 3rd part JTDS jar 1.3 version.
After adding the connection details under the SQL Server tab, I am getting this error while retrieving database:
Error: the target database is in an availability group and is currently accessible for connections when application intent is set to read only.
Where and how to add application intent?
I am unable to see any advanced connection properties button which are there in Microsoft SQL Server Management Studio in which I am able to connect via setting applicationintent=readonly.
Thanks.

How to connect remotely to server using sql studio

I am new to SQL but this is what i would like to do.
I have these information
hostname: hostname.com
port: 1523
SID: oracledb
Username: username
Password: password
I would like to connect remotely to this server to retrieve data using MSSQL studio. Can you please explain to me how to do it. thank you
You cannot directly connect to and query an Oracle database using SQL Server Management Studio. You can, however, create a SQL Server linked server to your Oracle instance and query remotely through that. You would connect to your SQL Server using SSMS like normal, but query your linked server using the linked server name in 4-part naming fashion, e.g: select * from [MyOracleServer]..MyDatabase.MyTable.
Here is a SQLMag tutorial on doing this: Connecting SQL Server and Oracle Using Linked Servers.
read this thread from MSDN
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/e6d61861-b271-4d93-b14e-12ba9356798f/connect-to-oracle-via-sql-server-management-studio?forum=sqltools
Question Sign in to vote 3 Sign in to vote Yes, you add linked server
and access Oracle data from SSMS and here is how you to add it. These
links will help you understand how to add and trouble shoot the
issues. Setting Up an Oracle Linked Server
How to set up and troubleshoot a linked server to an Oracle database
in SQL Server
Also in order to migrate an Oracle database to SQL Server, we can use
SSMA (SQL Server Migration Assistant for Oracle)
There is a migration assistant available for Oracle to SQL Server
Migration
http://www.microsoft.com/downloads/details.aspx?familyid=3e8722ae-77f3-4288-906d-f421e24d322f&displaylang=en
But all the system objects becomes null in this scenario
Thanks Sreekar
http://msdn.microsoft.com/en-us/library/ms190479.aspx

Integrated authentication works for ODBC but not JDBC for SQL Server 2012

I have a Windows workstation which pulls back data from SQL Server 2012 using ODBC with Integrated Authentication with no issues.
However if we try to pull the data via JDBC, from the same workstation, towards the same db server and databsse also using Integrated Authentication we see:
com.microsoft.sqlserver.jdbc.SQLServerException: Cannot open database
"MC_X1" requested by the login. The login failed.
ClientConnectionId:03c0f0b7-.....
The combo of Integrated Authentication and JDBC does work towards other earlier versions such as 2008 SQL Server.
Is there something that needs to be tweaked on the SQL Server 2012?
All replies appreciated

Cannot connect to SQL Server using Microsoft Excel Power Query

I'm having trouble connecting to a SQL Server 2008 R2 data source using Excel 2013 Power Query.
I have created a new Power Query query, and created a new SQL Server datasource. I have specified the server name and database, but have not specified any specific query.
I am using SQL Server authentication to login to the database, and the connection is encrypted.
When I attempt to set up the connection in Excel Power Query, I get an error message: DataSource.Error:
No further error details are supplied.
I have checked that the SQL Server allows remote connections, and I have tested the SQL Login by using the sqlcmd utility to connect to the database server and database and run a basic SELECT query.
If anyone can shed any light on what I'm doing wrong, I'd be very grateful.
For anyone reading this in 2017:
If you are using Windows 7 and above, use the driver listed in the ODBC Data Sources. The only case where I had to install a client and driver, was when I wanted to connect to an oracle database.
To setup and connect to SQL server, I opened ODBC Data Sources, selected 'Add', chose the SQL server option (not native client versions) and added the server and database details where prompted. Then test the connection from ODBC data sources.
My SQL server connections usually require full TNS info all the way from server name, then database name despite the claim that it's optional.
Do you have the odbc driver?
I have run into this problem previously when I tried to connect remotely.

Report Services (SSRS) 2005 connect database in Microsoft SQL Server 2014

Currently I am working on a project it is request us to connect their database (Server A with Microsoft SQL Server 2014) via SSRS (Server B with Microsoft SQL Server 2005).
I keep facing the problem with this message :
The version of the report server database is either in a format that
is not valid, or it cannot be read. The found version is '162'. The
expected version is 'C.0.8.54'. To continue, update the version of the
report server database and verify access rights.
(rsInvalidReportServerDatabase) (rsRPCError) Get Online Help
Can anyone help me? Thanks a lot.
I think the problem is likely to be that the ReportServer database has been created using SQL Server 2014. Trying to connection a SQL Server 2005 Report Server installation to that database will not work because they are not compatible. If it is possible to run Reporting Services with a configuration like this at all, and I'm not sure that it is, you will need to have a ReportServer database that was created using SQL Server 2005 Reporting Services Configuration Manager.

Resources