Link to home
Start Free TrialLog in
Avatar of jackjohnson44
jackjohnson44

asked on

.net dataset problem

I am getting this error, please help:

The custom tool 'MSDataSetGenerator' failed.  Unexpected number of DataSet classes found in user validation file.

Do not manually modify the class-structure of this file.
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

What is the context for this error?  Were you modifying an existing typed DataSet?

Bob
Avatar of jackjohnson44
jackjohnson44

ASKER

I am working with a typed dataset via the designer.

I added a table and got the error when I tried to build.  I deleted it and still get the error.  I ran the custom tool and it did not fix itself.
Were you adding a TableAdapter to the DataSet through the designer?  Can you attach a screen shot of what you tried to do when it failed?

Bob
actually yes, I right clicked add->table adapter, then put in a sql statement.  Here is the sql statement
select @@servername + '='  +  db_name() as ServerName
ASKER CERTIFIED SOLUTION
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I had a working dataset with a bunch of tables and a lot of table adapters.  Somehow it got messed up.  I deleted it and got an old copy and it works again.  No idea how it happened.  Thanks though.