I'm trying to create a DataReader source object using a working ADO.NET Oracle Client connection object that exists in the connection manager.
Problem:
When I open the editor the DataReaderSrc component shows only one row under the Connection Managers tab:
Name=IDbConnection
Connection Manager=blank
Description=Managed connection manager
I cannot assign the ADO.NET connection (or any connections). I see a warning at the bottom of the Connection Managers tab:
"Not all connection managers have been set. Set all connection managers."
When I click refresh the warning message changes to:
"The runtime connection manager with the ID "" cannot be found. Verify that the connection manager collection has a connection manager with that ID."
I am prevented from removing the IDbConnection or assigning my Connection Manager object to the DataReader Source.
Thanks, -- Mike
I also have the same problem, I'm sure it must be some tiny detail somewhere / something very basic, but I have been unable to fix it. Can someone help? Thanks!
Hector
|||I had the same problem because I was using the wrong Provider when specifying my Data Source.
Hope it helps,
Nuno
|||I had the same problem. In my case the 'advanced editor for datareader source' is very, very confusing. First of all, you have to create a connection manager, which I did already. But, it was not at all intuitive that you have to click on the box under 'connection manager' and select a connection manager. By default the box is black and grayed out like both the other fields which you cannot change. Gee, thanks redmond.
|||Thanks for taking the time to post this answer. I finally learned this last week at a SQL Server training class. The instructor pointed out that you actually need to change the disabled looking box.|||Hello.
I read that you found a solution, but I didn't understand it very well.
Could you tell me more how to resolve this problem. I have create the connection manager and a cant set it into the DataReader Source
Thank you.
|||Data Reader source accepts connection manager of Type ADO.NET only.
so First you have to create a Connection Manager to your Data Base using ADO.net Provider ONLY.
open the advanced editior of data reader source, go to connection managers tab, you will see IdbConnection , beside that there will be another column named connection manger, select your created connection manager there (ADO.Net one). Then go to Component properties tab and in sql command enter your sql query. go to columns mapping tab ..now you can see your columns.
|||thank you for your reply. i resolve the problem.|||hello,
i thought that I resolve the problem of the connection but there was another problem that didn't permit me to save the connection to the advanced editor.
the error is "Component is already connected. The component needs to be disconnected before attempting to connect it."
Can you help me?
No comments:
Post a Comment