Running dtsx package from development machine

Posted on 2007-10-18
Last Modified: 2013-11-30
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

Question by:MTSDL
    1 Comment
    LVL 20

    Accepted Solution


    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Join & Write a Comment

    Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
    This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
    Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
    Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now