Question : Error:  EXECUTE permission was denied on .....

Hi,

I'm hoping to get to the bottom of an error that goes on for three pages but looks basically like this:

[Microsoft][SQL Native Client][SQL Server]The EXECUTE permission was denied on the object 'sp_OACreate', database 'mssqlsystemresource', schema 'sys'.[Microsoft][SQL Native Client][SQL Server]The EXECUTE permission was denied on the object 'sp_OASetProperty, database 'mssqlsystemresource', shema................................

Any ideas how this could just happen?  The stored procedures being called don't resemble anything about posting a batch.  It's just odd this kind of code is being called?

Incidently, this database is a company database under Great Plains.  The error is issued when there is an attempt to post a batch.  The user who is getting these errors is the the user who normally (everyday) posts the batch.  

Is there anyway that the integration of Office 2010 with Great Plains could screw up permissions and cause odd things to trigger like this?

Thanks for the help.  

Answer : Error:  EXECUTE permission was denied on .....

Based on this, I think EXECUTE AS OWNER would be a decent solution for you.  You can read more on it and find some examples of usage here:

http://technet.microsoft.com/en-us/library/ms188354.aspx

Random Solutions  
 
programming4us programming4us