| Products | Versions |
|---|---|
| Spotfire Server | All Versions |
When executing an Information Link based on a stored procedure from a Sybase database, the Information Link fails to execute correctly with the following error:
Failed to execute query: Stored procedure '<myProcName>' not found. Specify owner.objectname or use sp_help to check whether the object exists (sp_help may produce lots of output). (HRESULT: 80131500)
This error occurs when you attempt to execute a stored procedure that does not exist. If the procedure actually does exist, that is, it appears when sp_help is run with no parameters, the error 2812 can occur if the procedure name was not fully qualified. Additionally, this error can occur if the account used in the Sybase data source in the Information Designer to create Sybase Data source does not have proper permissions to execute stored procedure.
To resolve:
1> select name,owner=user_name(uid) 2> from sysobjects 3> where name = "<procedure_name>" 4> go
1> execute <owner_name>.<procedure_name> 2> go
1> exec <database_name>.<user_name>.<procedure_name> 2> go
1> exec <database_name>.<procedure_name> 2> go
Feedback submitted!