Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 8th, 2006, 09:46 PM
jdu jdu is offline
Registered User
 
Join Date: Feb 2006
Location: , , .
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?
Reply With Quote
  #2 (permalink)  
Old May 17th, 2006, 02:16 AM
Registered User
 
Join Date: May 2006
Location: Kharkov, , Ukraine.
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.

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 03:52 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.