wellental
July 9th, 2003, 07:41 AM
Hi !
i´m coding an ole-db provider with visual c++ 6 and atl3.0 at the moment, and i have one problem left: when i open the dts-package designer for sql-server 2000, create a new package, with one datasource bound using my provider, one file-destination and one simple query-based datapump-task and i open the datapump-task and then open the query-builder, there exist two buttons within this query-builder: "Execute" and "Verify SQL". whenever i click "Verify SQL", everything works fine, but if i want to execute my query, to fill the results-pane with my query results ( for query-testing, e.g. ), i get an error "object having the requested name or ordinal not found" ( or something like this, as i have a german-version installed...original is: "Ein Objekt, das dem angeforderten Namen oder Ordinalverweis entspricht, kann nicht gefunden werden" )
I already switched to debug-mode within visual studio 6, defined _ATL_DEBUG_QI and _ATL_DEBUG_INTERFACES and watched my output window, if an interface is missing, or something like that, but that seems to be ok, except of two interfaces that are queried for, when opening the query-builder and the query failed. On my rowset an interface {6F1E39E1-05C6-11D0-A78B-00AA00A3F00D} is queried and on my datasource an interface {986F3C20-9879-11D1-BA17-00AA000D9665} is queried. what interfaces are this ? i cannot find them anywhere. nothing else is queried for on my objects. why do i get this annoying error ? hitting the "Execute"-Button doesn´t even request any interface from my objects at all nor any functions are called after pressing this button. help would be very nice...
thanx in forward
max
i´m coding an ole-db provider with visual c++ 6 and atl3.0 at the moment, and i have one problem left: when i open the dts-package designer for sql-server 2000, create a new package, with one datasource bound using my provider, one file-destination and one simple query-based datapump-task and i open the datapump-task and then open the query-builder, there exist two buttons within this query-builder: "Execute" and "Verify SQL". whenever i click "Verify SQL", everything works fine, but if i want to execute my query, to fill the results-pane with my query results ( for query-testing, e.g. ), i get an error "object having the requested name or ordinal not found" ( or something like this, as i have a german-version installed...original is: "Ein Objekt, das dem angeforderten Namen oder Ordinalverweis entspricht, kann nicht gefunden werden" )
I already switched to debug-mode within visual studio 6, defined _ATL_DEBUG_QI and _ATL_DEBUG_INTERFACES and watched my output window, if an interface is missing, or something like that, but that seems to be ok, except of two interfaces that are queried for, when opening the query-builder and the query failed. On my rowset an interface {6F1E39E1-05C6-11D0-A78B-00AA00A3F00D} is queried and on my datasource an interface {986F3C20-9879-11D1-BA17-00AA000D9665} is queried. what interfaces are this ? i cannot find them anywhere. nothing else is queried for on my objects. why do i get this annoying error ? hitting the "Execute"-Button doesn´t even request any interface from my objects at all nor any functions are called after pressing this button. help would be very nice...
thanx in forward
max