Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SSIS and Import/Export (2008)
 Importing Error

Author  Topic 

andypgill
Starting Member

34 Posts

Posted - 2013-03-08 : 06:21:09
Hi


I have three PCs all with SQL and SSIS installed etc.

I have a package that imports and excel file. On two of the PC's it imports everything correctly, However on the third it doesn't import the last line of data.


Has anyone ever come across this before and do you have a solution (apart from getting rid of the PC !!)

Thanks

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-03-08 : 06:37:43
are they using same ssis package copied across? also are the excel providers in all the machine same?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

andypgill
Starting Member

34 Posts

Posted - 2013-03-08 : 06:50:52
quote:
Originally posted by visakh16

are they using same ssis package copied across? also are the excel providers in all the machine same?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/





yes its the same package saved on our network. Do you mean the same version of excel (2010) as excel providers ?

Thanks
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-03-08 : 09:10:06
yep.. and also version of SSIS

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

andypgill
Starting Member

34 Posts

Posted - 2013-03-08 : 09:25:01
Yes they are the same versions of SSIS and excel
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-03-08 : 09:53:25
may be the data contains varied types. Are the missing rows having different types ie numeric as against string in other cells etc?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

andypgill
Starting Member

34 Posts

Posted - 2013-03-08 : 10:02:16
quote:
Originally posted by visakh16

may be the data contains varied types. Are the missing rows having different types ie numeric as against string in other cells etc?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/





But why would only one of the PC's reject it ?
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-03-08 : 10:39:25
quote:
Originally posted by andypgill

quote:
Originally posted by visakh16

may be the data contains varied types. Are the missing rows having different types ie numeric as against string in other cells etc?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/






But why would only one of the PC's reject it ?




its not rejecting but it may be that its not able to interpret the numeric values as it might have set metadata info as string datatype.

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

andypgill
Starting Member

34 Posts

Posted - 2013-03-08 : 10:49:05
quote:
Originally posted by visakh16

quote:
Originally posted by andypgill

quote:
Originally posted by visakh16

may be the data contains varied types. Are the missing rows having different types ie numeric as against string in other cells etc?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/






But why would only one of the PC's reject it ?




its not rejecting but it may be that its not able to interpret the numeric values as it might have set metadata info as string datatype.

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/





Sorry i'm new to SQL why would one machine interpret the values differently to the others if they all have the same setup.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-03-08 : 10:50:37
try setting IMEX=1 property for excel in excel connection

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -