dbTalk Databases Forums  

Error emailing Excel File

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Error emailing Excel File in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mike
 
Posts: n/a

Default Error emailing Excel File - 07-05-2005 , 01:11 PM






I have created a DTS package the exports information to an Excel
Spreadsheet. The last task is an Outlook task but I get a mapi error, could
not open the attached file. If I run Outlook Task in another DTS, it's
fine. I tried using xp_sendmail but is expecting parameter @user which
isn't part of the parameters for xp_sendmail. People in the forum suggest
using active X. What are the commands for sending a attachment using active
X or is there something I can fix in my previous 2 attempts?

Thanks
Mike



Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Error emailing Excel File - 07-05-2005 , 02:01 PM






perhaps the connection to the Excel file is still open. Look in the
Workflow properties of the datapump to task to close it.

--



Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - You thought DTS was good. here we show you the new stuff.
www.konesans.com - Consultancy from the people who know


"Mike" <mdunlap (AT) nospam (DOT) com> wrote

Quote:
I have created a DTS package the exports information to an Excel
Spreadsheet. The last task is an Outlook task but I get a mapi error,
could not open the attached file. If I run Outlook Task in another DTS,
it's fine. I tried using xp_sendmail but is expecting parameter @user
which isn't part of the parameters for xp_sendmail. People in the forum
suggest using active X. What are the commands for sending a attachment
using active X or is there something I can fix in my previous 2 attempts?

Thanks
Mike




Reply With Quote
  #3  
Old   
Mike
 
Posts: n/a

Default Re: Error emailing Excel File - 07-05-2005 , 02:10 PM



Thanks

I would have never found that. Spent 8 hours trying different things, sent
an email to the newsgroup and get an answer in 45 minutes

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
perhaps the connection to the Excel file is still open. Look in the
Workflow properties of the datapump to task to close it.

--



Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - You thought DTS was good. here we show you the new stuff.
www.konesans.com - Consultancy from the people who know


"Mike" <mdunlap (AT) nospam (DOT) com> wrote in message
news:u1wJE0YgFHA.2700 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
I have created a DTS package the exports information to an Excel
Spreadsheet. The last task is an Outlook task but I get a mapi error,
could not open the attached file. If I run Outlook Task in another DTS,
it's fine. I tried using xp_sendmail but is expecting parameter @user
which isn't part of the parameters for xp_sendmail. People in the forum
suggest using active X. What are the commands for sending a attachment
using active X or is there something I can fix in my previous 2 attempts?

Thanks
Mike






Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.