Running dtsx package from development machine
Posted on 2007-10-18
I have a very simple dtsx package that contains one "Execute SQL Task" that is used only to send an email through the SQL Server using the sp_send_dbmail stored procedure (the server is setup to send email - this works!).
I have developed the code on the actual server and executed it and it works perfectly (this is just to make sure that there is no problem with the code). My problem comes when I want to develop on my local machine as it is not ideal to be developing on the server (this is a test server).
The problem I have is that I can't run the dtsx package from my machine (connection to the server says that is fine when I "Test Connection" - OLE DB Connection) as it returns the following error when running the package.................
"failed with the following error: "The EXECUTE permission was denied on the object 'sp_send_dbmail', database 'msdb', schema 'dbo'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly."
Any help would be muchly appreciated
Thanks in advance