Data View for .xml file: InvalidCastException: Specified cast is not valid

M

Miriam

Hello,

I am trying to edit an xml file. I am using Visual Studio .NET 2003.
When I click on the "Data" tab (instead of the XML tab) to enter in
data like in excel, the following occurs: If I try to edit/enter
data, I get this error:

InvalidCastException: Specified cast is not valid

I AM able to edit the xml from the xml tab, just not the data tab. A
coworker told me that he has this problem pretty often. If he closes
the file, and then re-opens it, that sometimes fixes the problem.

Anyone know what causes this and how to resolve it permanently???

Thanks,
M.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,165
Latest member
JavierBrak
Top