ablesa
asked on
Visual Studio 2005 DataSet Visualizer
I have recently moved my development environment to a Windows 7 machine. I have 4 or 5 solutions that are written in Visual Studio 2005. All were working fine. Then, this past week, when I run one of those solutions in debug and try to view datasets, the dataset visualizer no longer shows up....it shows as some sort of XMLDiffGram object. I can open any of my other solutions and debug them and the dataset visualizer is there. So, I cannot figure out how to get that back in my other solution. I have tried many things I have seen on the internet and nothing has worked.
It seems that it has nothing to do with my Visual Studio installation since some solutions don't exhibit this problem.
Any help you could provide would be great. I will be on vacation for a few days, but wanted to get this out there and will respond when I return.
It seems that it has nothing to do with my Visual Studio installation since some solutions don't exhibit this problem.
Any help you could provide would be great. I will be on vacation for a few days, but wanted to get this out there and will respond when I return.
ASKER
no, i did not upgrade the solution... it is still in VS 2005... but so are many of my other solutions that still work fine...
Hi,
Reason for me asking is there's sometimes issues with controls that change between the different version of the framework but it would seem this is not your case. I'm at a loss to be honest. What if you for testing purposes (please back up your solution first) were to copy the markup code for your dataset, delete it and create a new one in which you paste the copied code to re-create it?
/Carl.
Reason for me asking is there's sometimes issues with controls that change between the different version of the framework but it would seem this is not your case. I'm at a loss to be honest. What if you for testing purposes (please back up your solution first) were to copy the markup code for your dataset, delete it and create a new one in which you paste the copied code to re-create it?
/Carl.
ASKER
I'm not sure what you mean by copying markup code...
Hi,
Make backup copies of the dataset files (*.xsd/*.xss), then delete the dataset from the solution within VS. Add a new dataset the solution with the same name, open the backup files through explorer, for instance in Notepad and then replace the content of the dataset files in VS with the code from the backup copies. You can right click the dataset designer surface and choose "View code".
/Carl.
Make backup copies of the dataset files (*.xsd/*.xss), then delete the dataset from the solution within VS. Add a new dataset the solution with the same name, open the backup files through explorer, for instance in Notepad and then replace the content of the dataset files in VS with the code from the backup copies. You can right click the dataset designer surface and choose "View code".
/Carl.
ASKER
There is no such thing... This is just a datatable that is defined in the code... Like this:
Dim dtUsers as datatable
When I debug, I should be able to see a "magnifying glass" icon when I hover over that datatable and I should be able to click that and see the contents of that datatable.
I'm not sure you understand my problem...
Dim dtUsers as datatable
When I debug, I should be able to see a "magnifying glass" icon when I hover over that datatable and I should be able to click that and see the contents of that datatable.
I'm not sure you understand my problem...
Hi,
Ok, i misunderstood you then, I thought you where referring to strongly typed datasets. If you would have said datatable that is a completely different thing. In that case I am at a loss unfortunately.
/Carl.
Ok, i misunderstood you then, I thought you where referring to strongly typed datasets. If you would have said datatable that is a completely different thing. In that case I am at a loss unfortunately.
/Carl.
ASKER
Yes, I saw that post, CodeCruiser... It describes my problem to a "T", but unfortunately, nothing there helps. Its just odd to me that it is only a problem in one solution. I tried deleting my solution and pulling down again from source safe, but that doesn't help either... Really odd...
Any other suggestions?
Any other suggestions?
Did you read this comment?
I was really bothered by the problem, so I turned to Microsoft support, and they solved my problem! The short solution is that apparently one of the DLL's in the My Documents\Visual Studio 2005\Visualizers folder was corrupted. I deleted all the contents of the folder, and the visualizer came back.
The long answer can be found in this post written by Faruk Celik - the person from Microsoft who solved my problem.
I was really bothered by the problem, so I turned to Microsoft support, and they solved my problem! The short solution is that apparently one of the DLL's in the My Documents\Visual Studio 2005\Visualizers folder was corrupted. I deleted all the contents of the folder, and the visualizer came back.
The long answer can be found in this post written by Faruk Celik - the person from Microsoft who solved my problem.
ASKER
yeah.... i tried that too... AGain, it works in all of my solutions except one and I assume they would all be using the same folders and visualizer dll's... so, its wierd why this one solution has a problem.
thanks...
thanks...
That to me means that the problem is with the configuration files of this project. Try deleting the SUO file (its hidden and do make a backup).
ASKER
well, i deleted it and opened solution and ran... same thing.... I've attached a document that shows what it looks like in the problem solution and one that shows it correctly in another solution.
Visualizer-Problem.doc
Visualizer-Problem.doc
Are you sure its a datatable? Did you try this on some other variable?
ASKER
YEs... Dim mUsersCache As System.Data.DataTable
Any variable in the "bad" solution looks wierd...not just datatables...
In my good solution, it shows the type and value of any variable I hover over like its supposed to....
Any variable in the "bad" solution looks wierd...not just datatables...
In my good solution, it shows the type and value of any variable I hover over like its supposed to....
The only option left really is to create a new solution and add all the forms to it one by one.
You can use the immediate window by the way.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Glad you got it sorted :-)
ASKER
I found the answer myself but appreciate the thoughtful questions and tips from Code Cruiser.
When you moved your development environment to W7, did you also upgrade VS to the newest version? Did you choose to run the VS conversion to upgrade the solutions to a later version of the framework?
/Carl.