Thursday, March 22, 2012

Object reference not set to an instance of an object in .xsd

Hello everybody !

I'm new here .. an in developement to ...

I'm working around a Pb since yesterday ...

Yesterday I had to reboot (page frozzen) my vista system. When I restared my VWD 2005 session, the system asked my to recover the xsd and xss schema fils of my project (those two files were openned but I don't remember having change something on it).

Now, Impossible to execute the project. A start loading of any page in IE, the system stops in line 1 of my schema.xsd

Ligne 1 : <?xml version="1.0" encoding="utf-8"?>

I restored an old version, all is OK (so the database and VWD are not affected).

Someone get a idea to work around ?

By

Hi,


Visual Web Developer will automatically save a working copy of your current project for a period, it is a built-in feature. You can configure it in the Visual Studio. To configure this option, please go to Tools \ Options and then click on AutoRecover in the Environment section. As you can see, this is saved periodically, so it might be a snapshot of temporally version.


Since you have an old version, if you are not sure what have been changed since last version, I think you can compare the two versions. And a compare tool might be helpful.

Hope it helps.


Hi Zhao,

Thank's for your kind help.

My environnement autorecovery was set to 5 mn (standard feature).The problem became when autorecovery has been done after session frozzed.

I think it's something regarding to project structure recovery ( maybe files xsd and (or) xss association).

I restored an old copy (10 days ago) and transfered my aspx pages changed since that date (fortunalty I did just fexw changes on the schema xsd) andit works find now !

I did not notice any difference betwen old and new xsd and xss ... Very strange ...Have someone already had that Pb before ?

Many thank's !

0 comments:

Post a Comment