[SOLVED] Failed configuring SQLServer Data Adapter on gen_num = 1744 i_release = 8206
Hi All, I installed the new WF 8206 from gen_num 1744 and failed accessing my sqlserver data. When I downgraded to my previous version (gen_num= 1738 and irel_extended = 8206.1 Release = R728206D) it worked fine without any issue. Does someone experienced with the 1744 gen level? I have open a case and just wanted to know if there are any known issue with this. ThanksThis message has been edited. Last edited by: FP Mod Chuck,
WebFOCUS 8.1 UNIX, WINDOWS PDF, HTML
September 30, 2019, 08:26 AM
BabakNYC
What version of SQL Server are you running? Which SQL Server adapter are you configuring (OLE DB or MS ODBC)? What error do you get when you try to configure the adapter?
WebFOCUS 8206, Unix, Windows
October 01, 2019, 04:16 AM
Sory Diallo
SQL server 2014 and I tried both adapters (OLE and ODBC) but failed in anycase. The same configuration is working fine with gen_num= 1738 and irel_extended = 8206.1 Release = R728206D.
WebFOCUS 8.1 UNIX, WINDOWS PDF, HTML
October 01, 2019, 04:27 AM
Sory Diallo
The returned error is the following (read below). This is returned for whatever I configured (OLE or ODBC). > (FOC1400) SQLCODE EST 102 (HEX: 00000066) XOPEN: 42000 > (FOC1500) : Microsoft SQL Server Native Client 11.0: [42000] > Incorrect syntax near > (FOC1500) : 'origine'. [42000] Unclosed quotation mark after the > character string > (FOC1500) : ''. [42000] Statement(s) could not be prepared. [] > Deferred prepare > (FOC1500) : could not be completed. > (FOC1405) ERREUR SQL PREPARE. > > Le test pour SQLMSS a échoué en raison d'une erreur d'accès aux données > (RETCODE= 102).
WebFOCUS 8.1 UNIX, WINDOWS PDF, HTML
October 01, 2019, 10:06 AM
FP Mod Chuck
Sory
Please post the connection string from the edasprof.prf so we can see the syntax it is attempting to parse.
Thank you for using Focal Point!
Chuck Wolff - Focal Point Moderator WebFOCUS 7x and 8x, Windows, Linux All output Formats
October 03, 2019, 05:31 PM
Sory Diallo
Hi, I was using the following connection string from edasprof :
-********************************************************* -* Profile generated on 27 September 2019 at 14:58:40 -********************************************************* -* SET CDN=COMMAS_DOT SET CURRENCY_ISO_CODE=USD SET DATE_ORDER=DMY SET WEEKFIRST=ISO2 -* SET LANGUAGE=FRENCH -* APP PATH retail_samples baseapp bike_share_nyc -* ENGINE SQLHYPG SET CONNECTION_ATTRIBUTES CON1 'jdbcostgresql://localhost:8124/webfocus'/admin,{AES}C4C9965503D50222144F289FF1315F2C ENGINE SQLMSS SET CONNECTION_ATTRIBUTES_EXT { "name": "sqlserver", "server": "NETGRAPH-DEV01\\NETGRAPH", "security_type": "trusted", "database": "bikeshare" } END
WebFOCUS 8.1 UNIX, WINDOWS PDF, HTML
October 03, 2019, 07:30 PM
FP Mod Chuck
Sory
That looks correct when comparing to my configuration. I am using SQL Server version 2012 with no issue. My reporting server gen level is 1745 so we are on a different gen.. You might upgrade to that gen and see if the issue goes away.
Thank you for using Focal Point!
Chuck Wolff - Focal Point Moderator WebFOCUS 7x and 8x, Windows, Linux All output Formats
October 04, 2019, 04:57 AM
Sory Diallo
Thanks and Great merci. I upgraded to gen 1745, restarted the Reporting server and everything run fine. Seems to be an issue with the 1744 because it worked fine on gen 1738 too. It's very kind of you for helping. Merci beaucoup