Quantcast
Channel: OutSystems Community
Viewing all articles
Browse latest Browse all 1476385

[Forums] Connection to external SQL Server database

$
0
0
Hello,

I'm trying to set a connection to a local database running on my machine. In the Service Center I added a new connection with the following connection string:
  • user id=sa;password=<hidden>;data source = <ip>,1433; initial catalog = <database name>; trusted_connection=yes;
With that connection string I'm obtaining the following error:

Connection String test failed: 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 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.)

I've also tried attaching to the connection string the following, but with no success:
  • network = DBMSSOCN;
  • integrated security = no;
  • integrated security = yes (and using windows authentication)
Am I doing something wrong defining this connection? Any tips?

Thanks in advance,
David

Viewing all articles
Browse latest Browse all 1476385

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>