Board index » Visual Studio » Problems Generating a Dataset Schema

Problems Generating a Dataset Schema

Visual Studio366
Hi There



When trying to add a dataset to a web form I get the

following error msg.



"There were problems generating [dataset name]. To

resolve this problem build the project, fix the errors

and generate the dataset again."



My SQLadapter is configured properly and I can preview

the data?



Any ideas would be helpful


-
 

Re:Problems Generating a Dataset Schema

Hi Anthony,



It can of course be millions of reasons, but maybe we know more if we know

how you add the dataset to the webform?



Cor



Quote
When trying to add a dataset to a web form I get the

following error msg.



"There were problems generating [dataset name]. To

resolve this problem build the project, fix the errors

and generate the dataset again."



My SQLadapter is configured properly and I can preview

the data?







-

Re:Problems Generating a Dataset Schema



Ok here is the scenario, I'm trying out one of the

walkthroughs on Webforms see

msdn.microsoft.com/library/default.asp?">msdn.microsoft.com/library/default.asp?

url=/library/en-

us/vsintro7/html/vxwlkwalkthroughcreatingwebapplicationusi

ngvisualcorvisualbasic.asp



After configuring the SQLadapter and selecting my table

and fields that I need I select the DATA menu and choose

Generate Dataset. I select the radio button for new

dataset and check my sql in the list. The error appears

at this point the following files are created but I

cannot go any further with the dataset.



DataSet1.vb

DataSet.xsd



I followed the instructions on the error message but

building the project does not yeild any problems.



Thanks

Anthony







Quote
-----Original Message-----

Hi Anthony,



It can of course be millions of reasons, but maybe we

know more if we know

how you add the dataset to the webform?



Cor



>When trying to add a dataset to a web form I get the

>following error msg.

>

>"There were problems generating [dataset name]. To

>resolve this problem build the project, fix the errors

>and generate the dataset again."

>

>My SQLadapter is configured properly and I can preview

>the data?

>





.



-

Re:Problems Generating a Dataset Schema

Hi Anthony,



When you do an example, I think it is better to follow that example, as far

as I can see there is not dataset1 and dataset.xml in that example.



http://msdn.microsoft.com/library/default.asp?url" rel="nofollow" target="_blank">msdn.microsoft.com/library/default.asp=/library/en-us/vsintro7/html/vxwlkwalkthroughcreatingwebapplicationusingvisualcorvisualbasic.asp



Cor



Quote
DataSet1.vb

DataSet.xsd



I followed the instructions on the error message but

building the project does not yeild any problems.







-