473,287 Members | 1,564 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,287 software developers and data experts.

unable to generate Dataset using OledbDataAdapter in VB.net

i am using Visual Studio.net professional 2003 (VisualBasic.net).I am
building a very very simple project where i need to connect to Microsoft
access database through OledbDataAdapter in design mode by Dragging the
OledbDataAdapter Control from the Data tab on the ToolBox and then generate
the DataSet.

I am able to connect to MS ACCESS and test connection is succedded.Now when
i try to generate the Dataset by Right Clicking The Data Adapter Object in
the Component Tray and Click Generate Datset,and then Select the New Radio
Button from Geneate Dataset Daialog box and click OK i get this Error.....

*****ERROR:There were Problems Generating the StartUp08.Dataset1 .To resolve
this problem,build the Project, fix any Error, and then generate the dataset
again.*******(startUp08 is the Name i have given to the Project)

I see that when the above operation of Generating a dataset is done a file
Named "Dataset1.xsd" is being added to the Solution Explorer, and i am able
to open the Dataset1.xsd file and view the contents.

So, My Question is why is this Specific Error happening inspite of building
the project again where really i dont need to... and unable to find any
Errors where i need to fix.Everything Looks good from my end.
Look Forward for your Reply i have been tying to fix this problem for long
time and ultimately writing this to you.

Jul 21 '05 #1
1 2499
> i am using Visual Studio.net professional 2003 (VisualBasic.net>
<snip>
I am able to connect to MS ACCESS and test connection is succedded.Now when
i try to generate the Dataset by Right Clicking The Data Adapter Object
<snip> i get this Error.....

*****ERROR:There were Problems Generating the StartUp08.Dataset1 .To resolve
this problem,build the Project, fix any Error, and then generate the dataset
again <snip>


Hi, I hope this helps: I've had the exact same problem and found four
causes (three of which could be found through google groups, of course
they didn't solve my very own problem:).

1) The database you try to access contains illegal characters in its
path name (for example the & sign).

2) The fields in your database contain .Net reserved words (like e)

3) The System-account doesn't have full rights on the map where your
..Net application is located.

4) (My very own :) The user doesn't have full rights on the
"\Application Data\Microsoft" folder and its submaps in his profile
map. My problem was quite obviously a permission problem since the
administrator account could create a dataset.

If this was at all helpful for anyone, please post a "thank you" note
to geert.dehaes@gmail***nospam***.com :)
Jul 21 '05 #2

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

Similar topics

1
by: jtsree | last post by:
I am Using (Windows XP) Visual Studio.net 2003 professional edition working on VB.net language. I am bulding a very very simple project in VB.net where i connect to Access Database by dragging...
5
by: Grant | last post by:
Hello, How come when I add a new row to my dataset table it shows up as changed (agencyData.Haschanges() = True) but when I delete a row the dataset thinks here are no...
2
by: Grumpy Aero Guy | last post by:
After successfully configuring an OLEDBDataadapter and Connection (all error free), VB .Net keeps telling me that it is "unable to create a dataset. Please rebuild the application, fix any errors,...
10
by: Grumpy Aero Guy | last post by:
Visual Studio .net Academic Edition: After creating a OLEdbDataadapter, followed by an OLE DB Connection (all of which occurs successfully, by the way), I am unable to create a Dataset. I...
1
by: jtsree | last post by:
i am using Visual Studio.net professional 2003 (VisualBasic.net).I am building a very very simple project where i need to connect to Microsoft access database through OledbDataAdapter in design...
1
by: unsichtbar | last post by:
Sorry, but I'm pretty new to .NET/XML etc... I have the current code which I'm trying to output dynamically so it can be read into a flash file. The only issue is, it doesn't seem to actually do...
0
by: geeteshss | last post by:
the present problem is that i am unable to display data in datagrid....... but the data is visible in database..below is the code what should i do...earlier i could view it also below this code is...
6
Cintury
by: Cintury | last post by:
Hi all, I've developed a mobile application for windows mobile 5.0 that has been in use for a while (1 year and a couple of months). It was developed in visual studios 2005 with a back-end sql...
0
by: tskmjk | last post by:
Hi all, I am developing an application which reads an excel file which has the following records and inserts into a table in SQL SERVER 2005 database . Data: Product ...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
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)...

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.