Invalid at the top level of the document

Oct 27, 2009 at 6:23 AM

When i try to create a model in the Model Files Category it gives me error

"Invalid at the top level of the document"

Pls. help



Oct 27, 2009 at 11:41 PM

please tell me your OS (xp, win7,etc) and version (from about box)

Oct 27, 2009 at 11:46 PM

OS: win7
vs: 2008sp1

Oct 28, 2009 at 1:15 AM

I am building a Win7 dev box VM right now.I forgot to ask about your language and regional settings. Please tell me so I can mimic this environment as closely as possible.

As a work around right click on the solution, choose add a new item, choose text file and name it something with a "wsgen" extension. This should create a blank model that you can use.

Oct 28, 2009 at 2:09 AM

Programming language you mean?

im using C#
and web environment 

Oct 28, 2009 at 9:50 PM

Nevermind. There is a new installation that does not have this issue. The new model is created a bit differently now. Please get the latest version and when you create a model a wizard is shown that walks you through importing a model from a database.

Nov 5, 2009 at 1:45 AM

We found that some non-US locales did have an issue loading the model. We have tested this on several machines with European settings and the models appear to create and load fine now.