473,326 Members | 2,095 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Generate Dataset: retrieving schema failed

Hi,

I get the following error: "Retrieving the schema for
MyOleDbDataAdapter failed. The connection string is invalid."

I get this error when I:
1) In Visual Studio 2003, I right click (in design view) the
dataAdapter and choose Generate Dataset.

2) The DataAdpater's OleDbConnection connectionString : under
DynamicProperties ->ConnectionString is refering to a <appSettings> in
the Web.config.

I rebuilt my solution/dataAdapters/datasets and still get the same
problem.

I do have a work around: the problem goes away when I click on any
textbox property field (in design view) of the dataAdapter.
Thanks
--Dietrich

Jul 21 '05 #1
1 1643
I guess your database is MySQL. Which OLEDB provider are you using?

I have found that using MySQL through OLEDB does not seem work very well (at
least with the providers I have tried).

--
Ross Donald
..NET Code Generation - http://www.radsoftware.com.au/codegenerator

<dw******@uiuc.edu> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
Hi,

I get the following error: "Retrieving the schema for
MyOleDbDataAdapter failed. The connection string is invalid."

I get this error when I:
1) In Visual Studio 2003, I right click (in design view) the
dataAdapter and choose Generate Dataset.

2) The DataAdpater's OleDbConnection connectionString : under
DynamicProperties ->ConnectionString is refering to a <appSettings> in
the Web.config.

I rebuilt my solution/dataAdapters/datasets and still get the same
problem.

I do have a work around: the problem goes away when I click on any
textbox property field (in design view) of the dataAdapter.
Thanks
--Dietrich


Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Bobby | last post by:
I've created a xml schema file in my webservice and than added a web reference to my web application. I have built the succesfully before adding the web reference. But i can not generate a...
1
by: Mary | last post by:
Hi, My application has to generate dynamically XMLs from any schema. The application doesn't know the shema structure, only the name of the .xsd file. So I would like to generate an empty XML from...
0
by: Greg | last post by:
I'm trying to read an xsd into a DataSet to generate the SQL db that I will import the data into. I get a couple errors (one of which make sense) but am not sure how to work around them I'm using...
0
by: Andrew | last post by:
hi, i need to generate an xml files of some data in my database ... i've an xml sample of the result xml nad i've to create a xml with the same structure ... which it is the better and faster...
2
by: PeterW | last post by:
I have an xml file from which I want to generate an xsd schema and at a later stage a cs class. The xml file has a mix of defined namespaces and also an empty namespace. These are defined as...
0
by: nima | last post by:
Hi I have two tables in my database. PRODUCT and PRODUCT_GROUP. PRODUCT has a foreign key to PRODUCT_GROUP. I generated a typed dataset using VS.net and added a relationship between the two...
22
by: Arne | last post by:
How do I pass a dataset to a webservices? I need to submit a shoppingcart from a pocket PC to a webservice. What is the right datatype? II have tried dataset as a datatype, but I can't get it to...
1
by: dwlawren | last post by:
Hi, I get the following error: "Retrieving the schema for MyOleDbDataAdapter failed. The connection string is invalid." I get this error when I: 1) In Visual Studio 2003, I right click (in...
8
by: Phil Lee | last post by:
I'm sure this is possible but I just can't see how to do it. I want to add schemas to my solution and have C# classes automatically generated from them. I can see how to generate typed DataSet's...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.