Hello,
I have the exact same problem as David. The problem is that Azure doesn't allow you to query the master database. However, when creating the database connection in Outsystems I already provide the database I want to use. The test connection went OK.
In Integration Studio I choose the database connection and then instead of showing the database I already specified, Outsystems is trying to create a list of available databases. For this it queries the master database, which is not allowed.
Best solution is that Outsystems uses the database that is specified in the connection. Or is there another?
Best regards,
Peter Nijhuis.
I am also running into this issue during my eval of OutSystems?
Is there a solution or workaround?
Hello David, Peter and Dwight
Can you tell me if in your ServiceCenter the DBMS dropdown in the Database Configurations has the option "SQL Server / SQL Azure"?
If you only have the "SQL Server" option, check if the Platform Server version is above 9.1.400.0. You can see this on the right side of the screen in Service Center.
As previously said, Azure is only supported after version 9.1.400.0 of the Platform Server. Currently the personal environments are running the 9.1.301.0 version which still does not support Azure.
Hi João,
I can confirm that I do NOT see the option SQL Azure in the screen you mentioned. I only see SQL Server. My version of Service Studio is 9.1.501.0 and I'm using the Personal Environment.
Thanks for your answer, however it is still a pity that we're not able to access an Azure database... :-)
Is there going to be a release of the personal environments in the near future with this support? It would certainly assist in our evaluation.
Hi Peter,
Running Service Studio and/or Integration Studio on 9.1.501 won't help you.
The connection to SQL Azure is a server-side feature and therefore does not depend on the version of the client-side tools.
Your Personal environment on the OutSystems cloud should now be running 9.1.301, as you can check by browsing to https://<your_environment>.outsystemscloud.com/servicecenter. Check the screenshot in Joao Amorim's reply for an example of how to check the version number.
The Personal environments are upgraded regularly, so it should be a matter of a few weeks.
Joao
I had also same issue with personal account out system
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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
I had done other trouble shoots available with websites ,give mapping access to users
whats missing
There is no reason to think that a server in the cloud can access that SQL Server Express instance, it looks like it is on your local computer. How would it resolve DNS to it? Do you have that server available to the external world? Etc.
J.Ja
Can you please share the connection string
RAHUL DEOLE wrote:
How would I (or anyone else on here) know the proper connection string to your server? How could we ensure that it has the right firewall settings to allow traffic from this OutSystems environment to the database server? Etc.
You need to work with your IT department to do this.
Hello Rahul,
Good Day.I could see that you are using OutSystems personal development environment and you are trying to access a server in your premise from OutSystems server. Inorder to solve your problem you need to understand a bit of infrastructure on how these systems are hosted. OutSystems server is hosted somewhere in USA and your SQL Server is located in India on your LAN( may be somewhere else ).
You need to enable port forwarding on your router ( i.e any transport coming to your router on port no 1433 should go to your local machine ). This is because no can see your local machine outside your LAN. Only the Router's external interface is visible to the world.
If you have static IP from your ISP please specify that IP address in the "Server" configuration page of OutSystems database Connection Screen.
You have a challenge if you do not have a static IP as your ISP will issue different IP's whenever you connect. You then have to change that IP in the connection page. To mitigate these issues you might use services like DynDNS or no-ip. Instead of hardcoding the IP address you may use the hostname provided by DynDNS or no-ip.
Siya EM wrote:
Thanks for solving the my problem sir
Can anybody share sample example of connection string i will modified my code as per my requirement -it is in personal devlopment
.
i had written a connection string its create error -: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified
TCP/IP ,UDP at port 1433 is enable
Rahul Deole wrote:
1. Since you're using a named instance, can you verify that SQL Server Browser service is running?
2. Did you try connecting using IP and port?
3. You can find a lot of connection string examples here. For example:
Server=myServerName\myInstanceName;Database=myDataBase;User Id=myUsername;Password=myPassword;
Cheers
Thanks Mr. Siya EM for Solving my problem, Now sql server connection is working
Rahul,
Share what you did to make OutSystem connect to your local Machine SQL Server 2017.
Ajayi Tope