all groups > visual studio .net general > may 2006 >
You're in the

visual studio .net general

group:

Working with XML schema in VS2005: IDE crashing every 5 minutes


Working with XML schema in VS2005: IDE crashing every 5 minutes Stephane Grobety
5/30/2006 9:14:55 AM
visual studio .net general:
Hello,

I have this really annoying problem: I'm designing an application that
must work on XML data file for which I have a valid schema.

In order to make it easy for me to create a GUI, I used the XSD.exe
application that comes with Visual Studio 2005 to generate a dataset in
C#. I then added a dataset in my MDI child document window, pointing at
the dataset as its type. That worked fine. The command line I used is:

xsd.exe /d /n:tv {schema file.xsd}

But from that point, very little things seem to be working:

- It's impossible to click on the databinding in the forms controls: at
best, I have a dialog informing me that "Child list for field tv cannot
be created." At worse, the IDE instantly closes without an error
message.
- If I pick a listbox and uses the "listbox tasks" shortcut to generate
a databinding, the IDE will crash as soon as I click in the "Selected
value" dropdown (not that I really need it, but an IDE crash - taking
along my changes - is a harsh way to indicate that I don't have the
right to do that).

About the only thing that is more or less working are the datagrids.
Unfortunately, this really isn't helping because the data I need to
display aren't suited for datagrid displaying (well, not all of it
anyway).

Here is a sample of the IDE crash:

AppName: devenv.exe AppVer: 8.0.50727.42 AppStamp:4333e699
ModName: kernel32.dll ModVer: 5.1.2600.2180 ModStamp:411096b4
fDebug: 0 Offset: 0001eb33

The "problem resolution" web page links it to a VB error which doesn't
apply (I'm not using VB at all).

As of to now, I'm up to 45 IDE crashes this afternoon: that way too
high to be usable.

What am I doing wrong, if anything ?
How can I fix this ?
Is there a less painful way to work with XML documents ?

Thanks,
RE: Working with XML schema in VS2005: IDE crashing every 5 minutes v-kevy NO[at]SPAM online.microsoft.com
5/31/2006 12:00:00 AM
Hi Stephane,

Does this also happen on other computers? If not, does this also occur if
you uninstall and re-install VS.NET 2005?

Kevin Yu
Microsoft Online Community Support

============================================================================
==========================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
============================================================================
==========================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Re: Working with XML schema in VS2005: IDE crashing every 5 minutes Stephane Grobety
5/31/2006 1:58:24 AM
Thank you for your answer.

I haven't tried it on another machine. I can try to reinstall, but the
process is a rather long one.

Just in case it can give you a hint of what's happening: The machine
I'm using never had a bneta of VS2005 installed. It did have VS2003
installed, however. It's also has Altova XML spy installed (With VS
integration). I'm using the "pro" version of VS2005 and I have
installed the Team Foundation Server client tools.

Thanks,
Stephane

[quoted text, click to view]



--
Re: Working with XML schema in VS2005: IDE crashing every 5 minutes Stephane Grobety
6/1/2006 1:14:34 AM
Hi Kevin,

I uninstalled XMLSpy alltogether and tried again. Unfortunately, it
doesn't change anything to the errors I'm seeing.

Could I be actually doing something wrong ? It's the first time I'm
using VS for that kind of things (I used to use Delphi for that). The
fact that there was no sample that I could get my hands on sure makes
it likely I got it wrong somehow (although I find the result of the
error a bit rough ;))

Thanks,
Stephane



[quoted text, click to view]



--
Re: Working with XML schema in VS2005: IDE crashing every 5 minutes v-kevy NO[at]SPAM online.microsoft.com
6/1/2006 2:33:24 AM
Hi Stephane,

It might be the Xml Spy with VS integration's issue. I suggest you also
uninstall Xml Spy for a test.

Kevin Yu
Microsoft Online Community Support

============================================================================
==========================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
============================================================================
==========================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Re: Working with XML schema in VS2005: IDE crashing every 5 minutes v-kevy NO[at]SPAM online.microsoft.com
6/5/2006 12:00:00 AM
Hi Stephane,

I think there are some software that is imcompatible with the VS.NET IDE.
Does this also happy on other machines if you're editing the same schema
file?

Kevin Yu
Microsoft Online Community Support

============================================================================
==========================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
============================================================================
==========================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Re: Working with XML schema in VS2005: IDE crashing every 5 minutes Stephane Grobety
6/6/2006 4:39:38 AM
Hello Kevin,

I tried the same project on a totally different machine and it had the
same result: IDE crashing, incapacity to use databound controls, etc.

The new machine had Vs2005 pro installed with all options except SQL
server express. It also had the Windows mobile 5.0 SDK installed. Other
than that, there is nothing different.

If that can be of any help, you can find the schema I'm working with on:

http://www.tigres-volants.org/XMLSchema/tv.perso.003.001.xsd

The schema is likely to change a bit shortly.

Thanks,
Stephane

[quoted text, click to view]



--
Re: Working with XML schema in VS2005: IDE crashing every 5 minutes Stephane Grobety
6/6/2006 4:52:10 AM
Just to clarify: when I said "there is nothing different", I mean that
the whole installation of Visual Studion 2005 pro was made using the
defaults and that no expernal application interracting with the IDE has
been installed.

Stephane

[quoted text, click to view]
Re: Working with XML schema in VS2005: IDE crashing every 5 minutes v-kevy NO[at]SPAM online.microsoft.com
6/7/2006 12:00:00 AM
Hi Stephane,

Thank you very much for providing me with the schema file. With this
schema, I can get the problem reproduced on my machine. It seems to be a
bug in VS.NET IDE. If you're looking for a hotfix to this issue, I suggest
you contact Microsoft PSS for it. Here is the contact information.

http://support.microsoft.com/common/international.aspx?rdpath=gp;en-us;offer
prophone

Kevin Yu
Microsoft Online Community Support

============================================================================
==========================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
============================================================================
==========================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Re: Working with XML schema in VS2005: IDE crashing every 5 minutes Stephane Grobety
6/7/2006 1:02:18 AM
Thanks Kevin. I'll take it to the MS incident support.

Stephane


[quoted text, click to view]



--
Re: Working with XML schema in VS2005: IDE crashing every 5 minutes v-kevy NO[at]SPAM online.microsoft.com
6/8/2006 2:21:45 AM
You're welcome!

Kevin Yu
Microsoft Online Community Support

============================================================================
==========================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
============================================================================
==========================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)
AddThis Social Bookmark Button