XML generation error in Schema Updater


When trying to save the database connection string I get the error "There was an error generating the XML document". I am able to test the connection and it succeeds, but when I try to save it it closes the window and this error pops up. When i click "update" the database connection window pops up and I get the same error when trying to save.
I was able to fix this before with some combination of closing visual studio and moving the project around, but now that isn't helping.


justinc wrote Feb 5, 2008 at 11:48 PM

Thanks for the notification. Which version are you using? I'll check it out.

justinc wrote Feb 18, 2008 at 5:27 PM

This is a very peculiar bug I've encountered related to XML serialization and multiple assemblies being loaded of the same type into Visual Studio. Very tricky to get right apparently, I'll have to just switch it to use the XML document since this is so unstable. This feature, however, is simply opening up the file "$(ProjectDirectory)\obj\Generated\SqlScriptsTemplate\complete.sql" and executing it on the database you specified.

A work around is to simply open this file with Sql Server management studio and execute it that way.

wrote Feb 18, 2008 at 5:28 PM

wrote Feb 13, 2013 at 1:14 AM