<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>unable to configure sqlserver datasource | Test Failed</title><link>https://community.appian.com/discussions/f/integrations/27754/unable-to-configure-sqlserver-datasource-test-failed</link><description>Hi Everyone, 
 I am trying to connect to sqlserver as a new data source from admin console and providing the connection url , username and password as provided by the client. 
 Additionally trying to create the connected system with the same credentials</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: unable to configure sqlserver datasource | Test Failed</title><link>https://community.appian.com/thread/107976?ContentTypeID=1</link><pubDate>Wed, 15 Feb 2023 09:26:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1946cce2-a3c9-4aef-9a6c-cc66765df508</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Is this about an on premise setup or cloud? In any case, you need to make sure that there is a working network connection from Appian to that DB server.&lt;/p&gt;
&lt;p&gt;Create an integrated system to access the DB. This is the modern way. Setting up datasources in the admin console works as well, but you cannot restrict access.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unable to configure sqlserver datasource | Test Failed</title><link>https://community.appian.com/thread/107975?ContentTypeID=1</link><pubDate>Wed, 15 Feb 2023 09:10:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b65c7eff-0b7b-4e9c-85e4-a7db0208f9cd</guid><dc:creator>gauravkumar</dc:creator><description>&lt;p&gt;How can we check if the Appian environment has access to the database server? I think data source is the way&lt;/p&gt;
&lt;p&gt;to provide access to Appian environment for the specific Database server.(Please correct if I am wrong)&lt;/p&gt;
&lt;p&gt;When we try to connect directly through sql server using same credentials it connects. In cmd we are are able to ping&lt;/p&gt;
&lt;p&gt;the server. But when we try to create Data Source it fails. Is there any other configuration needed from Admin console?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unable to configure sqlserver datasource | Test Failed</title><link>https://community.appian.com/thread/107963?ContentTypeID=1</link><pubDate>Wed, 15 Feb 2023 07:51:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:be34bbdd-e6c0-4ac5-9d67-2677340fdb48</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Seems like a timeout issue. Are you sure that the Appian environment has access to that database server?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unable to configure sqlserver datasource | Test Failed</title><link>https://community.appian.com/thread/107954?ContentTypeID=1</link><pubDate>Wed, 15 Feb 2023 06:23:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:409f9c7c-8c6c-45ca-b705-ce603f168553</guid><dc:creator>gauravkumar</dc:creator><description>&lt;p&gt;This is the error log which we are getting when we are trying to establish the connection from Data Source from Appian.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;2023-02-14 18:02:25,337 [ajp-nio-0.0.0.0-8009-exec-235] ERROR com.appiancorp.expr.server.scriptingfunctions.DataSourceFunctions - Failed datasource validation com.appiancorp.rdbms.datasource.DataSourceValidationException: java.sql.SQLException: Unable to obtain a connection within configured timeout at com.appiancorp.rdbms.datasource.TeneoDataSourceValidator.validateDataSource(TeneoDataSourceValidator.java:73) at com.appiancorp.rdbms.datasource.TeneoDataSourceValidator.validateAndCloseDataSource(TeneoDataSourceValidator.java:47) at com.appiancorp.rdbms.datasource.TeneoDataSourceValidator.testDataSourceConnection(TeneoDataSourceValidator.java:40) at com.appiancorp.expr.server.scriptingfunctions.DataSourceFunctions.testDataSource_appian_internal(DataSourceFunctions.java:99) at sun.reflect.GeneratedMethodAccessor5888.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.appiancorp.process.expression.CustomFunction$1.call(CustomFunction.java:846) at com.appiancorp.common.ContextClassLoaderSwitcher.runInContext(ContextClassLoaderSwitcher.java:27) at com.appiancorp.process.expression.CustomFunction.evaluate(CustomFunction.java:840) at com.appiancorp.process.expression.CustomFunction.evalDynamic0(CustomFunction.java:248) at com.appiancorp.process.expression.CustomFunction.evalDynamic(CustomFunction.java:236) at com.appiancorp.process.expression.CustomFunction.eval0(CustomFunction.java:208) at com.appiancorp.core.expr.DefaultEvaluable.eval(DefaultEvaluable.java:214) at com.appiancorp.process.expression.ExpressionEvaluator.evaluate(ExpressionEvaluator.java:318) at com.appiancorp.core.expr.tree.performancelog.PerformanceLogPageFunction.eval0(PerformanceLogPageFunction.java:100) at com.appiancorp.core.expr.tree.TreeEvaluable.evalWrapped(TreeEvaluable.java:106) at com.appiancorp.core.expr.Tree.eval(Tree.java:445) at com.appiancorp.core.expr.tree.SpecialFunction.eval0(SpecialFunction.java:112) com.appiancorp.security.changelog.AuditLogLocationService.callWithLocation(AuditLogLocationService.java:25) at com.appiancorp.sailapp.SailApplicationUtils.evaluate0(SailApplicationUtils.java:96) at com.appiancorp.sailapp.SailApplicationUtils.evaluateUiWithPlog(SailApplicationUtils.java:75) at com.appiancorp.sailapp.SailApplicationUtils.evaluateSailApplicationUI(SailApplicationUtils.java:57) at com.appiancorp.rest.standalone.SailApplicationRestService.reeval(SailApplicationRestService.java:118) at sun.reflect.GeneratedMethodAccessor2444.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:750) Caused by: java.sql.SQLException: Unable to obtain a connection within configured timeout at com.appiancorp.rdbms.datasource.ConnectionTimeoutBasicDataSource.getConnection(ConnectionTimeoutBasicDataSource.java:56) at com.appiancorp.rdbms.datasource.TeneoDataSourceValidator.validateDataSource(TeneoDataSourceValidator.java:61) ... 860 more Caused by: java.util.concurrent.TimeoutException at java.util.concurrent.FutureTask.get(FutureTask.java:205) at com.appiancorp.rdbms.datasource.ConnectionTimeoutBasicDataSource.getConnection(ConnectionTimeoutBasicDataSource.java:52) ... 861 more&lt;/p&gt;
&lt;p&gt;Thank You!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>