• Perhaps you need more naming information for the procedure. The call will make assumptions based on the current server/database that you are connected to, so if the procedure is else where, you need to include that information.

    EXEC sp_makewebtask

    @outputfile = 'd:\harvestwise\hwsystem\pickup\PMDRpt.html',

    @query = 'EXEC [server].[databasse].[owner].spMoveSelect @Action=3, @ID=0, @Var1=19',

    @templatefile = 'd:\harvestwise\hwsystem\pickup\PMDRpt.tpl'

    Ha... just noticed the date of the post I was replying to, but perhaps this will be helpful to someone else...