Wrox Programmer Forums
|
BOOK: Professional SQL Server 2005 Integration Services ISBN: 0-7645-8435-9
This is the forum to discuss the Wrox book Professional SQL Server 2005 Integration Services by Brian Knight, Allan Mitchell, Darren Green, Douglas Hinson, Kathi Kellenberger, Andy Leonard, Erik Veerman, Jason Gerard, Haidong Ji, Mike Murphy; ISBN: 9780764584350
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional SQL Server 2005 Integration Services ISBN: 0-7645-8435-9 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 8th, 2006, 09:46 PM
jdu jdu is offline
Registered User
 
Join Date: Feb 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default ProfSSISSourceAdapter problems

Hi,

I can't get the Source Adapter example mentioned in chapter 14
working. In VS/BIDS after adding the source adapter, setting a
source and going to the Column Mappings tab and pressing OK, I get:

Code:
Error at Data Flow Task [Professional SSIS Source Adapter[87]]:
System.Runtime.InteropServices.COMException(0xC0048004): Exception
from HRESULT: 0xC0048004 at
Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSExternalMetadataColumnCollection90.get_Item(Object Index) at ...
The exception is being thrown at line 344:
Code:
mdc = output.ExternalMetadataColumnCollection[col.ExternalMetadataColumnID];
The col.ExternalMetadataColumnID looks correct - the same as
supplied to the output column when the external column was created.

Has anyone else had this problem?
 
Old May 17th, 2006, 02:16 AM
Registered User
 
Join Date: May 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Martin_Bishop
Default

Hello Jdu,
if you change the row:
Code:
mdc = output.ExternalMetadataColumnCollection[col.ExternalMetadataColumnID];
to next one
Code:
mdc = output.ExternalMetadataColumnCollection.FindObjectByID(col.ExternalMetadataColumnID);
and add to if clause next one
Code:
 "mdc == null ||"
all will be OK.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Have 2 problems so far... Soulcatcher BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 June 20th, 2007 12:57 PM
2 problems here with me naveed77 Beginning VB 6 1 October 17th, 2006 06:04 PM
2 problems kanoorani Beginning VB 6 2 July 11th, 2006 11:45 PM
validate.asp problems and logon.asp problems p2ptolu Classic ASP Databases 0 February 16th, 2005 02:34 PM
Two Problems goraya C# 2 May 21st, 2004 05:54 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.