Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 27, 2012 09:01 PM by gfdesigner
Feb 17, 2012 10:51 PM|LINK
Hello my name is joy, im new here.
I was an asp webdeveloper and i wish to update my knoledge about with visual studio 10 express, in particular VWD, Webmatrix, Razor, MVC4
I have started to build the 1st project using webmatrix 1. I was really really happy to see how easy it was, but i've found some problems with db creation. The famous "Is Identity" bug. I think all here know what i m talking about.
So i have seen that there was a newer version, and i have immeditelly thought: A NEW version, do they correct the bug ?
So i have downloaded the ver 2.0 b and i ve noticed that db managment has been improved a bit, but to set "Is identity=True" still requires to delete the table to get sorted.
Well np, in the newer Webmatrix now im getting a bad error that wont let me open any page of the website created with WM 1. the error is this one:
Impossible to load the type System.web.Razor.Parser.SyntaxTree.SingleLineMarkupSpan from the assembly System.Web.Razor, version=2.0.0, Culture=neutral, publickeyToken=31bf3856ad364e35
I dont know what i have done wrong , to see if the .sdf db was editable in the visual studio i pushed the button at top of the page to open the website into Visual Web Developer and saved a version of projext in .sln file. After this operation my website
has started to give errors.
I have also noticed that Sql Managment studio 2008 r2 wont let me open the .sdf files. How comes ?
Im finding many many problems using the .net platform its not so easy like my good old friend access ;)
Can sombody help me to solve this problem ?
I have tried to uninstal WM2 to reinstall WM1 but the Web Platform 4 now install only 2.0 version.
I dont know what to do =( , my 1st website looks apparently lost.
Feb 18, 2012 07:06 AM|LINK
The famous "Is Identity" bug. I think all here know what i m talking about.
Not really, no.
"Is identity=True" still requires to delete the table to get sorted.
That's not a WebMatrix bug. That's a limitation of most database systems, including Access and SQL Server. You cannot alter a column to become an identity (or autonumber) column after the table has been created.
I'd suggest uninstalling WPI 4.0, then using WPI 3.0 to get WebMatrix 1 back. If you want to test out the beta of WebMatrix 2, you should do so on a virtual machine or something.
Feb 18, 2012 11:24 AM|LINK
I dont get why a table would not be editable as Definition if it's still empty. Im a newbie, but at the MS webcamp "Somebody" told me that it was a bug of version 1.0 and that it would have been solved in 2.0 . =D
Access its editable also if it has data inside, its not true Access has this limitation. Can insert and remove the primary key also if it is a counter. You wll just loose data if the changed field have no corrispondece with stored datas.
gonna try your solution, ill let you know if its solved.
Feb 18, 2012 11:43 AM|LINK
OK - I'm not really clear what "bug" you are referring to. Perhaps you could oprovide some detail?
Feb 27, 2012 09:01 PM|LINK
Webmatrix wont get reinstalled. I have tried to reinstall web platform 3.0 but webmatrix its not in the applications menu anymore.
Not really good.
For "bug" i mean that i cant add an "Is identity" field/primary key/counter field to an existing table. To do it have to delete the table and create it all again.
Uff ....I was so happy to leave ASP, and start using razor and MVC.......now my first website in this lenguage is totally lost. =|