dbTalk Databases Forums  

DTS export to Excel with VB

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


Discuss DTS export to Excel with VB in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
andree_noel@yahoo.ca
 
Posts: n/a

Default DTS export to Excel with VB - 09-29-2006 , 04:38 PM






Hi,

I have been reading all day trying to figure out this one and I can't
find out why I am having this issue....

I have created a DTS package that export a SQL statement to Excel. The
package runs perfectly in Entreprise Manager, however, when I run the
package in VB, I received the following error:
The number of failing rows exceeds the maximum specified. (Microsoft
JET Database Engine (80040e09): Cannot update. Database or object is
read-only.)

MSSQLSERVER and SQLSERVERAGENT logon with my windows account. I am a
member of the administrators group.

Please help!!!
Thanks
andree


Reply With Quote
  #2  
Old   
Senthilkumar
 
Posts: n/a

Default Re: DTS export to Excel with VB - 09-29-2006 , 11:22 PM






I too had a problem like this and may be you are trying to export a blob
field, where there are problems.

Also, from the options tab, choose the Insert Batch size to 1. This will try
to insert 1 row after another. problematic rows can be ignored.

May be this helps

kesk


<andree_noel (AT) yahoo (DOT) ca> wrote

Quote:
Hi,

I have been reading all day trying to figure out this one and I can't
find out why I am having this issue....

I have created a DTS package that export a SQL statement to Excel. The
package runs perfectly in Entreprise Manager, however, when I run the
package in VB, I received the following error:
The number of failing rows exceeds the maximum specified. (Microsoft
JET Database Engine (80040e09): Cannot update. Database or object is
read-only.)

MSSQLSERVER and SQLSERVERAGENT logon with my windows account. I am a
member of the administrators group.

Please help!!!
Thanks
andree




Reply With Quote
  #3  
Old   
andree_noel@yahoo.ca
 
Posts: n/a

Default Re: DTS export to Excel with VB - 09-30-2006 , 09:20 AM



Thanks for your input, however I still receive the error message. I can
export the package fine from within EM but as soon I try running it
from VB, I get the error message.

I think it might be a permission issue?

Any thoughts???




Senthilkumar wrote:
Quote:
I too had a problem like this and may be you are trying to export a blob
field, where there are problems.

Also, from the options tab, choose the Insert Batch size to 1. This will try
to insert 1 row after another. problematic rows can be ignored.

May be this helps

kesk


andree_noel (AT) yahoo (DOT) ca> wrote in message
news:1159565890.420971.132240 (AT) m7g2000cwm (DOT) googlegroups.com...
Hi,

I have been reading all day trying to figure out this one and I can't
find out why I am having this issue....

I have created a DTS package that export a SQL statement to Excel. The
package runs perfectly in Entreprise Manager, however, when I run the
package in VB, I received the following error:
The number of failing rows exceeds the maximum specified. (Microsoft
JET Database Engine (80040e09): Cannot update. Database or object is
read-only.)

MSSQLSERVER and SQLSERVERAGENT logon with my windows account. I am a
member of the administrators group.

Please help!!!
Thanks
andree



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.