I have a problem with an sp which uses the sp_executesql statement - the app has a
vb front end when running in debug all is ok but once compiled we get a
'permission denied' message - any ideas? many thanks
Check to make sure that the VB application is using the same login to the SQL database as you use when running through the debugger. If it is a different username, than the database administrator will need to give the VB username the appropriate access level to the SQL system stored procedures (Execute privilege?).
Yes that's done - we're logging on via SQL security & that user has execute permissions - select permissions are also set for the involved tables - perhaps I should mention that this project is using COM+ and it seems to be tied into that security but only where the sp uses EXEC
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.