I am trying to create a smartlist referencing a table from another SQL Database. I have created a database link using Management studio to SQL Database residing in another server. Using the database link, I have created a view within DYNAMICS database referencing the tables from the other SQL Database. The view is accessible without any issues within the management studio. I have granted "SELECT" access privelege on View to the DYNSA user and did all that is required SQL Table security within the GP Application as well. The created view is visible for selection within Smartlist "Add SQL Table" window used for selecting the tables. When I add the View and try to add a key field, the system throws an error message as listed below -:
GPS Error: 58
SQL Error: 7405 [Microsoft][SQL Server Native Client 10.0][SQL Server]Heterogeneous queries require the ANSI_NULLS and ANSI_WARNINGS options to be set for the connection. This ensures consistent query semantics. Enable these options and then reissue your query.
ODBC Error: 37000
To address the error, I have set/ enabled the ANSI_NULLS and ANSI_WARNINGS to "ON" at the database levl on the both the databases and added them to the create view statements. Still it is continuing to give this error. I have tried some of the resolutions suggested in few forums and it DOES NOT help either. Has anyone been successful in resolving it and building a smartlist referencing tables from other databases. Please share the information.
Thanks
Srini
*This post is locked for comments
I have the same question (0)