Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Unspecified Error - Generate Dataset

0 views
Skip to first unread message

Kurt Lange

unread,
Nov 1, 2002, 8:10:33 AM11/1/02
to
I add a dataset into the designer, using "generate
dataset". All is good. I check my file into source
safe. After checking out the file again, the dataset is
gone, and I am no longer able to use the "generate
dataset"... gives me an "Unspecified Error". I remove all
data elements (adapter, connection), and re-add them back
in...then generate dataset... no luck. Not sure if this
anything to do with source safe... it's just in the
equation.

Please Help
Thanks
Kurt Lange

Visual Studio Core Team

unread,
Nov 6, 2002, 4:37:41 PM11/6/02
to
Hi Kurt,

I tried to reproduce you problem and I could not do that. Can you reproduce
it from scratch in a new project (create new project, add data
Adapter/Connection/DataSet to a form, check out/check in/check out again)?
Can you reply to this thread with more detailed repro description, step by
step? If you still need to use that file (is it a form file or other file),
can I take a look at it? If it is form file, I would also like to look at
.resx file and related to DataSet .xsd file.

Also what version of SourceSafe do you use? If you still have this problem,
you may try to upgrade to the most recent version
http://msdn.microsoft.com/SSAFE/downloads/sp/default.asp.

--
Thanks
Michael Koltachev
Visual Studio Core Team

This posting is provided "AS IS" with no warranties, and confers no rights.

"Kurt Lange" <lange...@hotmail.com> wrote in message
news:304f01c281a8$0f47d590$36ef2ecf@tkmsftngxa12...

Chih-Kao Liao

unread,
Nov 6, 2002, 10:26:42 PM11/6/02
to Visual Studio Core Team
I followed Visual C# walkthrough / Web Form / Displaying Data but I got
"Generate Dataset" error said "...Cannot generate data set WebApp1.myDataSet.
To resolve this problem, build the project, fix any errors and try to generate
dataset again". I have tried to re-build the solution/project and still no
luck. Any idea what might cause that problem?

Chih-Kao

beth

unread,
Nov 15, 2002, 11:34:34 AM11/15/02
to
I had the same problem and still don't know the fix. It
has nothing to do with source safe because I don't use
one. I've reported this bug in the beta release but
didn't get an answer. The problem is you cannot
reproduce it. It doesn't have any particular sequence.
It just happens. After I didn't get an answer, I started
using sqldatareader instead of datasets.

>.
>

dwight0

unread,
Jan 25, 2005, 11:36:06 PM1/25/05
to
I know this is an old post but i thought i would share a possible
solution for others.

I have had this problem many times, this is how i tend to reproduce the
error, i cant always have it happen, but it happens sometimes when i do
this below to clone a page for myself.

To clone a page i usually do this:
1. copy a page like "showusers.aspx" to "Copy of showusers.aspx" using
control c and control v in the solution explorer. (copy/paste)
2. change the class name, all references and namespace, codebehind and
make sure it generates its own resx file and doesent use the original
resx file. im not sure why sometimes it makes it own, other times it
uses the original's.
3. rename the "Copy of showusers.aspx" to "newpage.aspx"

for some reason this happenes sometimes if i skip step 2.

here is how i find the page that caused the problem.
1. write down the most recent pages ive added.
2. backup all the pages.
3. delete a page going down my list i made in step 1.
4. drag and drop a dataset on any random page and see if it works ok.
if it does, then i found the problem file.
5. if not, repeat and go to step 3.

It looks like the problem has nothing to do with the dataset, its just
the first thing that breaks. it probably has to do with a duplicate
class name, resource file or some kind of conflict in the namespace.
Not sure though.

0 new messages