Question : Cant Get SSIS to Import Excel Text Column

Hi All,

I am trying to get an SSIS package to work without success. Ther package was originally created on a different server and all  I have done is simply copy the dtsx file from the original live server to a test server.

Here's the call:

1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
DECLARE @rc int

EXEC sp_xp_cmdshell_proxy_account 'domain/account', 'pw'
EXEC @rc = master.dbo.xp_cmdshell  'dtexec /f "E:\SSIS\ProductCore7.dtsx"'
print @rc
IF @rc <> 0
BEGIN
  PRINT 'failed'
END
ELSE
BEGIN
  Print 'worked'
END


When I run it I get this...

1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:

Error: 2010-07-09 12:28:24.43
   Code: 0xC0202009
   Source: Data Flow Task Source - pc$ [1]
   Description: An OLE DB error has occurred. Error code: 0x80040E21.
End Error
Error: 2010-07-09 12:28:24.43
   Code: 0xC0208265
   Source: Data Flow Task Source - pc$ [1]
   Description: Failed to retrieve long data for column "pNotes".
End Error
Error: 2010-07-09 12:28:24.43
   Code: 0xC020901C
   Source: Data Flow Task Source - pc$ [1]
   Description: There was an error with output column "pNotes" (66) on output "Excel Source Output" (9). The column status returned was: "DBSTATUS_UNAVAILABLE".
End Error
Error: 2010-07-09 12:28:24.43
   Code: 0xC0209029
   Source: Data Flow Task Source - pc$ [1]
   Description: The "output column "pNotes" (66)" failed because error code 0xC0209071 occurred, and the error row disposition on "output column "pNotes" (66)" specifies failure on error. An error occurred on the specified object of the specified componen
t.
End Error
Error: 2010-07-09 12:28:24.43
   Code: 0xC0047038
   Source: Data Flow Task DTS.Pipeline
   Description: The PrimeOutput method on component "Source - pc$" (1) returned error code 0xC0209029.  The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but t
he error is fatal and the pipeline stopped executing.
End Error
Error: 2010-07-09 12:28:24.43
   Code: 0xC0047021
   Source: Data Flow Task DTS.Pipeline
   Description: Thread "SourceThread0" has exited with error code 0xC0047038.
End Error
Error: 2010-07-09 12:28:24.43
   Code: 0xC0047039
   Source: Data Flow Task DTS.Pipeline
   Description: Thread "WorkThread0" received a shutdown signal and is terminating. The user requested a shutdown, or an error in another thread is causing the pipeline to shutdown.
End Error
Error: 2010-07-09 12:28:24.43
   Code: 0xC0047021
   Source: Data Flow Task DTS.Pipeline
   Description: Thread "WorkThread0" has exited with error code 0xC0047039.
End Error


However, If I run an identical package created on the test server it works perfectly?!

Now ya may wonder why is this a problem? Well, this is just the first package call. There are several others (bringing in data from several spreadsheets) and I would like them to be common to the main server (test to live and visa versa).

I would just like to understand the problem.

The column excel spreadsheet has been set to text and the sql table column is set to nvarchar(MAX)

The two servers have exactly the same SQL databases with the same permissions and dbo schemas (as far as I know)

Any help would be greatly appreciated.

Regs,
Numb

Answer : Cant Get SSIS to Import Excel Text Column

pma111,

Give these two distros a try. Backtrack and PHLAK both work well and were designed to do exactly what you are trying to do.

http://distrowatch.com/table.php?distribution=backtrack

http://distrowatch.com/table.php?distribution=PHLAK

marakush
Random Solutions  
 
programming4us programming4us