473,396 Members | 1,827 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,396 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 2504
> 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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.