Not able to connect to Azure SQL Server via Dremio - azure-sql-server

We were not able add Azure SQL Server as external data source in Dremio. We have disabled the firewall to allow all access (at the Azure SQL Server end) to connect to Azure SQL Server, but it was still throwing an error and it was not able to connect from Dremio.
Please let us know if we will need to configure a firewall on route from the Dremio server end to connect to the Azure SQL Server.
Error output:
> Error : Could not connect to intake-dev,
> check your JDBC connection information and credentials.
Note: We have checked that the credentials passed are accurate, and we were able to connect from SSMS using these.

Unfortunately, Dremio does not support Azure SQL Server as a source.
Check this post on dremio community.

Related

Cannot connect to AWS RDS SQL Server instance from SQL Server 2012 Management Studio

I have an AWS RDS SQL Server instance (Express edition). Initially, I created a t2.medium instance. I was able to connect to it from my SQL Server 2012 Management Studio without any problems.
But now I modified my RDS instance from t2.medium to t2.micro (free trial version) by using the Modify Instance option. The modification was done successfully. No other changes were done, but now I am unable to access the instance through the SQL Server 2012 Management Studio. The server name, port, and credentials are all same as before. For testing purposes, the VPC security group has the incoming rule set to allow "All Traffic at all times". But somehow the following error appears whenever I try to connect.
"Cannot connect to ...
A network related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - The wait operation timed out.) (.Net SqlClient Data Provider)"
Kindly help me, as I am unable to easily access my database. If there is any other way to access the database easily do let me know.

Unable to connect to Azure database from SQL Management Studio

When i am trying to connect to the Azure DB from SQL Management studio an getting teh below error. Not sure why am getting this error as i was able to acess the DB erlier from SQL Management Studio.
Need help on this.
TITLE: Connect to Server
Cannot connect to ijk3ffy48i.database.windows.net.
ADDITIONAL INFORMATION:
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=53&LinkId=20476
BUTTONS:
OK
I think probably you haven't configure any Azure DB firewall rules to allow your computer's IP to communicate with your Azure DBs.
Simple things to check (not sure what you've tried so humour me here):
You're connected to the outside network.
Instance\Database name, username and password are correct.
Instance and database are online and connectable (Azure servers not down for scheduled maintenance or run out of paid services.)
Firewall rules are incorrect.
Also I think this question here is identical to your question. Try checking that out.

Azure Cloud Service + SQL Azure and firewall configuration issue

I'm facing the issue while creating a azure database in the local machine by sql server 2012 ,
this is my error:
TITLE: Connect to Server
Cannot connect to tcp:ServerName.database.windows.net.
ADDITIONAL INFORMATION:
Login failed for user 'UserName'.
This session has been assigned a tracing ID of '041a1130-65a5-4ad6-91c0-02ff3b4fbca5'. Provide this tracing ID to customer support when you need assistance. (Microsoft SQL Server, Error: 18456)
The issue is occurring might be due to following the following, I have specified how to overcome against each issue:
Check if your IP is added in the firewall, if not refer to http://msdn.microsoft.com/en-us/library/azure/jj553530.aspx
Check if you have configured the wrong IP in Azure Firewall. Try opening SQL Azure Management Studio online http://msdn.microsoft.com/en-us/library/azure/ee621784.aspx#WinAzMgtPort where it asks you to add the IP in firewall.
If above is not working then check if the user credentials is correct, if you forgot the credentials then resetting it might help.

SQL Server 2008 erroneously returning SQL Authentication failed

I am attempting to connect to SQL via SQL authentication. On SQL Server I receive Login succeeded, yet via code I get Login failed for user 'geneva'. I verified the login in SSMS and am able to connect via Windows authetnication. The sql user has full rights. Tried via java/.net code, really unsure why I am unable to connect via SQL Auth.
Data Source=server;Initial Catalog=GenevaWorkflow;User ID=user;Password=password
The environment is SQL Server 2008/Windows 2008. Very frustrating being all I want is to connect via SQL authentication and SQL Server I set to mixed mode authentication.
Enable sql logins in server properties (from management studio) and restart sql server.

SQL Azure : Connection to SQL Azure throws exception

When I connect to SQL Azure from my code, I get the following error.. I am able to connect to SQL Azure from SQL Server Management Studio successfully.
System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - The requested name is valid, but no data of the requested type was found.)
I also tried connecting using sqlCMD and that connects without any issue. Only issue arises is during runtime when I get this exception.
You might also want to check to make sure your firewall allows outbound connections on port 1433.
There can be numerous reasons for this failure, I am listing out the scenarios and the options that needs to be allowed on the server.
If you are connecting an Azure SQL Instance using Sql server management studio while inside you company's network/firewall, first of all you will need to check if your company's firewall rules allow that or not.
On the AZURE SQL Server, make sure your IP address is in the allowed list.
I believe you just need to tick the checkbox "Allow other Windows Azure services to access this server" in Firewall Rules on your SQL Azure account (this will allow connecting to the db server from your deployed Azure application). Hope this helps.
It would be helpful if you post your connection string here. Also a sample app on connecting to sql azure using ado.net: http://msdn.microsoft.com/en-us/library/windowsazure/ee336243.aspx
Makesure you pay attention to the SqlConnectionStringBuilder properties.
If you have your IP added into firewall rules and allowing SQL
connection to Azure Services Enabled. It should work fine!