I have a DataSet.xsd file in a class library project. When I double click on the file instead of seeing the table diagram I am presented with XML. Does anyone know what’s going on, and how I can get my Table Diagram back?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This was a multi-part solution that had several cascading symptoms. I don’t really understand the cause of the problem which is concerning, but this at least put me back to coding.
Primary Problem:
Step 1:
Tried
devenv /resetsettingsin the VS Command Prompt per the ASP.NET Forum link and it FAILED.Step 2: Tried
devenv /resetskippkgsin the VS Command Prompt per the ASP.NET Forum link and it PASSED.Issue:
Right clicking on a table adapter and selecting configure would result in this error message:
Step 1: Looked in all of my .xsd files for multiple definitions of a connection string. In my case there were none acrossed several files. MSDN Forum FAILED
Step 2: Tried deleting the connection string setting and rebuilding it from scratch in the settings.settings pane. FAILED
Step 3: Changed all of my DefaultConnectionindex’s in the .xsd files to 1. Interesting how conflicted the answers inside MSDN Forum are. Some said 0, some said 1. I am not confident my fix had anything to do with me ultimately. Visual Studio appeared to create the bug somehow, and just the same appeared to take care of it. PASSED
Issue
After re-configuring my Table Adapter I was given the following error when trying to save changes:
Step 1: Restarted my machine and made the changes to the table adapter again and the changes were saved. PASSED