dbTalk Databases Forums  

DTS Package fails when importing Excel sheet

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


Discuss DTS Package fails when importing Excel sheet in the microsoft.public.sqlserver.dts forum.



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

Default DTS Package fails when importing Excel sheet - 01-30-2006 , 12:12 PM






Arghhh......the inconsistencies of Microsoft. We have to live with them
don't we?

I have an Excel file.

I created a package to import it into a SQL server database table. I run it
from my machine's SQL Enterprise manager...it runs great

I log into the server

Run it from Enterprise manager. It fails miserably. Error? "....conversion
invalid for data types on column pair 1 (source column 'F6' (dbtype_wstr)
destination column change$ (dbtype_R8)

I have tried everything. No luck

Why? Please someone tell me why would the DTS run from my machine and not
from the server? There's no specific installation configuration differences
between the two. The only difference is that I have excel installed on my
machine. I hope that doesn't mean I have to install office on the server
because that is not going to happen.

Help! Please!

Regards,
Leo




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

Default Re: DTS Package fails when importing Excel sheet - 01-30-2006 , 02:42 PM






Damn it. Found the solution...on my own of course since there's no MS help
for that anywhere. I did have to modify the registry. The only way to get it
to work. But it works as it is supposed to now.........





"Leo" <none (AT) none (DOT) com> wrote

Quote:
Arghhh......the inconsistencies of Microsoft. We have to live with them
don't we?

I have an Excel file.

I created a package to import it into a SQL server database table. I run
it
from my machine's SQL Enterprise manager...it runs great

I log into the server

Run it from Enterprise manager. It fails miserably. Error? "....conversion
invalid for data types on column pair 1 (source column 'F6' (dbtype_wstr)
destination column change$ (dbtype_R8)

I have tried everything. No luck

Why? Please someone tell me why would the DTS run from my machine and not
from the server? There's no specific installation configuration
differences
between the two. The only difference is that I have excel installed on my
machine. I hope that doesn't mean I have to install office on the server
because that is not going to happen.

Help! Please!

Regards,
Leo






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

Default Re: DTS Package fails when importing Excel sheet - 01-30-2006 , 04:12 PM



Hello Leo,

What part of the registry did you have to change?

You do not need to install Excel on the server as the ability to use Excel
as a source and a destination is taken care of by MDAC.


Allan

Quote:
Damn it. Found the solution...on my own of course since there's no MS
help for that anywhere. I did have to modify the registry. The only
way to get it to work. But it works as it is supposed to now.........

"Leo" <none (AT) none (DOT) com> wrote in message
news:e39GjicJGHA.2708 (AT) tk2msftngp13 (DOT) phx.gbl...
Arghhh......the inconsistencies of Microsoft. We have to live with
them don't we?

I have an Excel file.

I created a package to import it into a SQL server database table. I
run

it

from my machine's SQL Enterprise manager...it runs great

I log into the server

Run it from Enterprise manager. It fails miserably. Error?
"....conversion invalid for data types on column pair 1 (source
column 'F6' (dbtype_wstr) destination column change$ (dbtype_R8)

I have tried everything. No luck

Why? Please someone tell me why would the DTS run from my machine and
not from the server? There's no specific installation configuration

differences

between the two. The only difference is that I have excel installed
on my machine. I hope that doesn't mean I have to install office on
the server because that is not going to happen.

Help! Please!

Regards,
Leo



Reply With Quote
  #4  
Old   
Francois Malgreve
 
Posts: n/a

Default Re: DTS Package fails when importing Excel sheet - 01-31-2006 , 03:30 AM



There is a tweak that most people have to do , it's to set the key
'TypeGuessRows' under the registry path
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\4.0\Engi nes\Excel to 0

more info on:

http://support.microsoft.com/?kbid=281517


Is it what you did, Leo?

Francois


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

Quote:
Hello Leo,

What part of the registry did you have to change?

You do not need to install Excel on the server as the ability to use Excel
as a source and a destination is taken care of by MDAC.


Allan

Damn it. Found the solution...on my own of course since there's no MS
help for that anywhere. I did have to modify the registry. The only
way to get it to work. But it works as it is supposed to now.........

"Leo" <none (AT) none (DOT) com> wrote in message
news:e39GjicJGHA.2708 (AT) tk2msftngp13 (DOT) phx.gbl...
Arghhh......the inconsistencies of Microsoft. We have to live with
them don't we?

I have an Excel file.

I created a package to import it into a SQL server database table. I
run

it

from my machine's SQL Enterprise manager...it runs great

I log into the server

Run it from Enterprise manager. It fails miserably. Error?
"....conversion invalid for data types on column pair 1 (source
column 'F6' (dbtype_wstr) destination column change$ (dbtype_R8)

I have tried everything. No luck

Why? Please someone tell me why would the DTS run from my machine and
not from the server? There's no specific installation configuration

differences

between the two. The only difference is that I have excel installed
on my machine. I hope that doesn't mean I have to install office on
the server because that is not going to happen.

Help! Please!

Regards,
Leo





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

Default Re: DTS Package fails when importing Excel sheet - 01-31-2006 , 03:48 AM



Hello Francois,


That is what I was wondering also. It is one of the reasons we wrote this
article

Excel Inserts Null Values
(http://www.sqldts.com/default.aspx?254)

Allan




Quote:
There is a tweak that most people have to do , it's to set the key
'TypeGuessRows' under the registry path
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\4.0\Engi nes\Excel to 0

more info on:

http://support.microsoft.com/?kbid=281517

Is it what you did, Leo?

Francois

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:f0343b03125508c7f401778178b0 (AT) msnews (DOT) microsoft.com...

Hello Leo,

What part of the registry did you have to change?

You do not need to install Excel on the server as the ability to use
Excel as a source and a destination is taken care of by MDAC.

Allan

Damn it. Found the solution...on my own of course since there's no
MS help for that anywhere. I did have to modify the registry. The
only way to get it to work. But it works as it is supposed to
now.........

"Leo" <none (AT) none (DOT) com> wrote in message
news:e39GjicJGHA.2708 (AT) tk2msftngp13 (DOT) phx.gbl...
Arghhh......the inconsistencies of Microsoft. We have to live with
them don't we?

I have an Excel file.

I created a package to import it into a SQL server database table.
I run

it

from my machine's SQL Enterprise manager...it runs great

I log into the server

Run it from Enterprise manager. It fails miserably. Error?
"....conversion invalid for data types on column pair 1 (source
column 'F6' (dbtype_wstr) destination column change$ (dbtype_R8)

I have tried everything. No luck

Why? Please someone tell me why would the DTS run from my machine
and not from the server? There's no specific installation
configuration

differences

between the two. The only difference is that I have excel installed
on my machine. I hope that doesn't mean I have to install office on
the server because that is not going to happen.

Help! Please!

Regards,
Leo



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.