Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Permission problem with SQL sp
Message
 
To
09/10/2007 16:07:55
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01259858
Message ID:
01259868
Views:
18
>I have created a stored procedure in SQL Server. I can execute this SP from Sql Server Management Studio fine. But when I try to execute this SP from VFP, I get the following error:
>
>***********
>"Connectivity error: [Microsoft][ODBC SQL Server Driver][SQL Server]EXECUTE permission denied on object 'mytest', database 'MyDatabase', owner 'dbo'."
>***********
>
>I can query any table in SQL Server with SQL Pass Through. And I can call the System Stored Procedures but I can't call a Stored Procedure that I created.
>
>What do I have to do to call a SP that I created from VFP?
>
>Thanks,
>
>Jerry

You need to grant permission to the user to EXECUTE the sp. you can do that via SQL Management studio or using the GRANT command.
____________________________________

Don't Tread on Me

Overthrow the federal government NOW!
____________________________________
Previous
Reply
Map
View

Click here to load this message in the networking platform