sqlclient connection Error, between desktop sqlserver and Win device sqlserver CE - sqlclient

I have a problem with a Win device, i failed to connect to computer database wireless, my goal is to sync data between SQL server on PC and the SQL server CE on the Win device, but the connection failed to established with the following exception:
- When trying to connect using server Name: "sql server does not exist or access denied"
- When trying to connect using server IP: success on one computer and failed on another one with this exception "PlatformNotSupportedException"
any help appreciated
thank you

This is an issue with Alien Hand-Held 9011 which happens when the collation in the database and its columns you're connecting to is "Arabic_CI_AS", apparently this is an issue in the 9011 model but not in 9001!
Once you change the collation to "SQL_Latin1_General_CP1_CI_AS" the errors will be fixed.

Related

SQL Server 2008 R2 ODBC Error: SQL state HTY00

My application server (say 192.168.100.1) and database server (say 192.168.100.2) both are on the same domain. I'm trying to create an ODBC connection from the application server to a SQL Server database on the database server, but at the time of login it generates this error:
Microsoft SQL Server Login
Connection failed:
SQL State: 'HYT00'
SQL Sever Error: 0
[Microsoft][ODBC SQL Server Driver]Login timeout expired
I've checked all configuration for SQL Server and tried possible solutions without resolving this issue.
Important:
A DSN can be successfully created from my own PC but when attempting this server to server as described above, ODBC is facing this problem.
OK, I have got the solution. Sometimes, if SQL Server can't be found on network by its name while creating DSN in windows, the logging in takes time more than usual which tells ODBC manager that Database Server we are looking for is not responding or responding too late.
Solution.
Instead of selecting server from the list while making dsn, use 'server-ip\SQLExpress'.
e.g 192.168.100.2\SQLExpress.
Thats All.

EF Core - Can't login to sql server

Been working with a .Net Core app and have been successfully connecting to sql server 2008 sp3 in our qa environment for a while, just tried deploying it to our production environment and am getting this error:
System.Data.SqlClient.SqlException: A connection was successfully established with the server, but then an error occurred during the login process. (provider: TCP Provider, error: 0 - Unable to write data to the transport connection: Unknown error 10054.)
This is specifically happening in a .Net Core app running in a docker container. Does anyone know what could be the issue? I have seen threads encouraging upgrading sql server to service pack 3, we have done that. Also made sure the TLS settings on the server were correct.

connection verification failed for data source - Coldfusion Server Administration

I have just installed ColdFusion 10 and am trying to connect to MySql Server 5.1, but it is showing the error below:
Connection verification failed for data source: cfartgallery2
java.sql.SQLNonTransientConnectionException: [Macromedia][SQLServer
JDBC Driver]Error establishing socket. Unknown host: MySQL Server The
root cause was that: java.sql.SQLNonTransientConnectionException:
[Macromedia][SQLServer JDBC Driver]Error establishing socket. Unknown
host: MySQL Server
Finally after 2 days I solved my own problem of getting the above error. It was due to a missing ODBC connector.
Steps for resolving:
First download and install the ODBC connector of respective version as of your MYSQL server version.
Rhen install vcredist_x64 it is required for sql connectivity.
Then install any SQL Server to create the database and start connecting to it with the datasource you have created in tour CF Administrator.
Hope you can solve your problem with my instructions , if not then please post your queries below.

How to connect SPSS to a DB2 database

I want to connect my SPSS Modeler 16.0 to my database IBM DB2. I tried to add the server by doing this: Tools>Server login>Add. I added the properties (IP address and port). Now when I select the server and type the userID and password and press OK I get a connection fail.
I'm running a French version and this is the translated error that I get :
Connection to server failed db2admin#localhost:50001
Server exception : please check the server connection status
Can anyone help ?
It looks like you are connecting on port 50001 which is the SSL port for db2, since it's a local database, you might try port 50000 which is unencrypted...

SQL Server 2008 R2 not connect to server

I have installed the SQL server 2008 R2 on windows 7, when i want to connect database engine it give the following error message
TITLE: Connect to Server
Cannot connect to (local).
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: 2)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=2&LinkId=20476
I tried both window and SQL Server authentication but no success.
please help.
First Check whether any SQL Server Instance is running and exists.
You can check list of instances as per below:
Go to command prompt and type in “osql -L” or “sqlcmd -L”.
If instance is showing in list then check your credentials.
Start the sqlserver service. Nothing to do in stackoverflow. Move question to serverfault.