Second OracleDataSource
Posted: Wed 22 Sep 2010 00:06
Hi.
I'm trying to use a master-detail relationship in an ASP.NET page (runtime 4.0). For do that I'd like to follow this steps:
1) Add an OracleDataSource to the page (drag & drop)
2) Configure it to connect to my database and store the connection string in the web.config file (so I can reuse it in other pages).
3) Configure the data source (table to read). For do that I use the "Configure data source" button that appear in the "Design" view of VS2010
3) Add a DataGrid to the page and bind it to the OracleDataSource (first point)
Now I need to add another OracleDataSource... So:
1) Drag & Drop another OracleDataSource (ok)
2) Configure it to use the same connection string of the other OracleDataSource (ok)
3) Try to configure the data source... When I push on the ""Configure data source" of the second OracleDataSource, I have this error: "Error invoking Configure Data Source. Detail:Exception has been thrown by the target of an invocation"
I have:
-) Windows XP with all "update"
-) Visual Studio 2010 Professional
-) DotConnect 5.70.152
-) Oracle XE (I'm using the default db for user HR just for do some test)
What is my problem?
PS: As I told, I'm using XE with default db, so if you need my solution for see it, I can send it to someone without any problem.
I'm trying to use a master-detail relationship in an ASP.NET page (runtime 4.0). For do that I'd like to follow this steps:
1) Add an OracleDataSource to the page (drag & drop)
2) Configure it to connect to my database and store the connection string in the web.config file (so I can reuse it in other pages).
3) Configure the data source (table to read). For do that I use the "Configure data source" button that appear in the "Design" view of VS2010
3) Add a DataGrid to the page and bind it to the OracleDataSource (first point)
Now I need to add another OracleDataSource... So:
1) Drag & Drop another OracleDataSource (ok)
2) Configure it to use the same connection string of the other OracleDataSource (ok)
3) Try to configure the data source... When I push on the ""Configure data source" of the second OracleDataSource, I have this error: "Error invoking Configure Data Source. Detail:Exception has been thrown by the target of an invocation"
I have:
-) Windows XP with all "update"
-) Visual Studio 2010 Professional
-) DotConnect 5.70.152
-) Oracle XE (I'm using the default db for user HR just for do some test)
What is my problem?
PS: As I told, I'm using XE with default db, so if you need my solution for see it, I can send it to someone without any problem.