Re: Export to Excel - File not created



It sounds like an OS level permission issue.

Does the network account that SQL Agent runs under have file create/delete
permissions in the destination folder?

--
Arnie Rowland, Ph.D.
Westwood Consulting, Inc

Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous

You can't help someone get up a hill without getting a little closer to the
top yourself.
- H. Norman Schwarzkopf


"Jeff Reese" <JeffReese@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D5277C48-30F8-4EBB-A2F8-B2E80EA69360@xxxxxxxxxxxxxxxx
I'm using SQL Server 2005. I've built a DTS. Essentially it does this:

Create a table and insert data
Delete an excel file
Export the table to Excel

In BI Dev studio, the package runs just fine and everything works
perfectly.

However, when I run it with the SQL Server Agent, the table is created
fine,
however the Delete Excel file step and the Export to Excel step don't
work.

I thought maybe this was a permissions issue, but I've tried everything I
can think of.

Any ideas of what may be causing this?

Thanks....
--
Jeff


.



Relevant Pages

  • Re: Saving a file on remote server
    ... Craig ... Check the permissions of that account. ... >> I have a DTS package that queries a table and generates an Excel file. ...
    (microsoft.public.sqlserver.dts)
  • Re: DTS FTP & Scheduling
    ... it's because when it's runnig as a scheduled job, it runs under that persons' permissions (that the SQL agent is running as) ... check these 2 thigns: ...
    (microsoft.public.sqlserver.dts)
  • Re: data merge excel source
    ... I know how to do this on my PC at home, but I'm on a Mac ... Is the Excel file on your hard disk, or is it on a CD? ... Check permissions, at the bottom. ... Entourage FAQ Page: ...
    (microsoft.public.mac.office)
  • Re: Security Issue
    ... with a limited set of permissions, because it is not sure if it should be ... you probably need some specific database ... > Excel file. ... > while logged on to the server. ...
    (microsoft.public.dotnet.languages.csharp)
  • Permission to view only jobs
    ... what are the permissions to be given for sql user if I ... under sql agent. ... I tried giving ready only permissions on msdb & execute ... Manoj ...
    (microsoft.public.sqlserver.security)

Quantcast