Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
4.50/5 (2 votes)
See more:
When i open my solution, the dataset works fine and looks like this.

http://bayimg.com/eaJimAadI[^]

After i close and open the dataset it looks like this. And gives my the error message "Editing is not allowed for this Dataset".

http://bayimg.com/baJiFAADi[^]

And one more:
http://bayimg.com/hAjkJAaDi[^]

I have tried.

* Installed SP1, with SQL server system clr
* Devnev with different arguments
* Install the 'Microsoft SQL Server System CLR Types '

This solution also has the same bug on my coworkers computer.

Help!
Posted
Updated 11-Aug-11 10:11am
v4
Comments
johannesnestler 11-Aug-11 11:08am    
no solution, but a quick google search gave me: http://social.msdn.microsoft.com/Forums/en-US/winformsdatacontrols/thread/526a8018-24ab-4a78-8f8d-25c5c41a6001/
...Just in case anyone is still getting this "editing is not allowed for this dataset" message, I've solved it by opening the .xsd with Visual Studio XmlEditor and just saving it. When I open the xsd in design mode again, the problem dissapears and editing is allowed..

 
Share this answer
 
Comments
MrDeej 11-Aug-11 16:01pm    
Didnt work. Installed this http://go.microsoft.com/fwlink/?LinkId=123721&clcid=0x409">X86 Package(SQLSysClrTypes.msi) - 1588 KB<br/>
and still same thing happening
Ok. This is stupid.

I went berserk in the dataset, and tryed everything. Open with*.*, Delete some files, run custom tool etc.

And when i tried to go and change a random field name of a random table, then save. It all worked out great. I now have access to my dataset


Hmm.. It still pops up all lined up horisontenally when i open the solution, and when i close and open dataset it looks all messy again. But i can move them at least.


Also this was a great way to auto arrange items in dataset:
"Hi, Maybe its so late for answering this question...

I did the following steps and it works:

1- Under .xsd file in solution explorer, find .xss file and delete it.

2- In solution explorer, right click on your dataset and choose Run Custom Tool."



http://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/52128bfd-8ade-40b7-b0a5-8b00cb4040ec/[^]
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900