using AppeonServer 2016 Under .net
i must use ODBC cause is a INGRES database and the only way we found to do it.
if we can not succed all our project will fail.
When i define a DataSource in the AEM the results are
When i do connect using ; from the pb application i get this error in the sqlerrtext
Keyword not supported: 'dsn'.
in the PowerServer Logs i found this:
2018-04-19 09:34:45.336 : [Application name=sicaj_planilla,conn cache=sicaj_ingress]Keyword not supported: 'dsn'.
at System.Data.Common.DbConnectionOptions.ParseInternal(Hashtable parsetable, String connectionString, Boolean buildChain, Hashtable synonyms, Boolean firstKey)
at System.Data.Common.DbConnectionOptions..ctor(String connectionString, Hashtable synonyms, Boolean useOdbcRules)
at System.Data.SqlClient.SqlConnectionString..ctor(String connectionString)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions(String connectionString, DbConnectionOptions previous)
at System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(DbConnectionPoolKey key, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions)
at System.Data.SqlClient.SqlConnection.ConnectionString_Set(DbConnectionPoolKey key)
at System.Data.SqlClient.SqlConnection.set_ConnectionString(String value)
at System.Data.SqlClient.SqlConnection..ctor(String connectionString, SqlCredential credential)
at Appeon.Server.Services.DataService.DataServiceFactory.CreateDBConnection(PBTransactionProperties pbTrans, String connCache)
at Appeon.Server.Commands.ConnectDBCommand.AttempToConnectDatabase()
at Appeon.Server.Commands.ConnectDBCommand.Execute()
i did that i set the Data Source as a ODBC and when i test it it works.
the problem is running the application from Appeon Server i get the error
2018-04-19 09:34:45.336 : [Application name=sicaj_planilla,conn cache=sicaj]Keyword not supported: 'dsn'.
Were you able to create a Data Source for Ingres in PowerServer and test it OK via the AEM console utility?
Regards ... Chris