I want to connect to Netsuite but the ODBC connection does not work properly.
AI suggest to use a connection string. How can I do that?
For NetSuite ODBC, a DSN-less connection string is the most reliable, portable, and transparent method for TBA. You input this string directly into the application (like Power BI, Tableau, SQL Server Linked Server, etc.) instead of creating a DSN in the ODBC Administrator.
This completely bypasses the limitations of the DSN configuration wizard.
DSN-less Connection String Template
The key is to include all the NetSuite-specific parameters, including the four TBA keys, separated by semicolons:
DRIVER={NetSuite ODBC Drivers 64bit};
Host=<Service Host>;
Port=1708;
Encrypted=1;
ServerDataSource=NetSuite2.com;
AccountID=<Your Account ID>;
RoleID=<Your Role ID>;
ConsumerKey=<Your Consumer Key>;
ConsumerSecret=<Your Consumer Secret>;
TokenID=<Your Token ID>;
TokenSecret=<Your Token Secret>;