Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

Excel Source column DataType Expand / Collapse
Posted Tuesday, January 26, 2010 10:32 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, August 9, 2010 2:38 AM
Points: 6, Visits: 110
I am using Excel Source component in my dataflow task.The excel conncetion string and sheet name loads dynamcally.I am executing the package form .net web application.From the application the excel sheet location and sheet name setting in the package variable.The package executes fine with the default excel sheet which i have specified in the vaiable initially.
When I select new excel file it throws the below exception

Failed to retrieve long data for column "RiskName".

I have tried to increase the regedit entry for jet.but no luck.If i open the package in the BID and go to Excel source -advanceeditor-component properties.The External colum datatype and column datatype are if i change the column datatype as same as external column datatype it works fine.But whenever i select new excel file i coluld not open the Package each time and do the same thing since it is executing outside the BID.

How can i resolve the problem.Is there any way to access the Excel source column properties from an application and match the external metadata column and outputcolumn datatype?If it is diffenrent make the necessary change before execute?
Help please..

Post #854150
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse