Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
ODBC Driver error using SQL Server 2005 linked server
Trying to setup a SQL Server 2005 linked server to the NetCRM database using the ODBC driver.
I installed the SSL and ODBC components according to the NS instructions, I then created a linked server in a SQL Server 2005 database using the following syntax:
EXEC sp_addlinkedserver
@server='NETCRM',
@srvproduct='NetSuite.com',
@provider='MSDASQL',
@datasrc='NetSuite.com',
@provstr='Database=NetSuite.com;Uid=xxxxxx@xxx.com;Pwd=xxxxxx'
When I attempt to query small views its slow but works fine (example administrator.browser ~ 20 rows, takes 11 seconds to return a select *). However, whenever I attempt to query the transactions views the query runs for about 20 - 30 minutes then returns the following error:
0