Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jun 17, 2012 10:45 PM by davidsa
Member
210 Points
126 Posts
Jun 17, 2012 07:17 PM|LINK
When I try to open a .CSHTML file in WebMatrix, I get the follow error:
COuld not load type
'System.Web.Razor.Parser.Syntax.Tree.SingleLineMarkupSapn' from
assembly 'System.Web.Razor, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35
It just started happening today. I was using WebMatrix just fine for the past several months. It opens CSS, HTML, and JS files just fine. Please help.
All-Star
154818 Points
19853 Posts
Moderator
MVP
Jun 17, 2012 08:40 PM|LINK
Questions about the WebMatrix programme itself should be posted here: http://forums.iis.net/1166.aspx. You can use your existing user name and password to log in over there.
46 Points
8 Posts
Jun 17, 2012 10:10 PM|LINK
I noticed a typo in your post. Maybe it's also a typo in code which causes the problem...
System.Web.Razor.Parser.Syntax.Tree.SingleLineMarkupSapn
probably should be
System.Web.Razor.Parser.Syntax.Tree.SingleLineMarkupSpan
Jun 17, 2012 10:45 PM|LINK
Good catch - that was a typo. I was able to fix the problem by uninstalling the program and reinstalling it again.
davidsa
Member
210 Points
126 Posts
Error Opening .CSHTML pages in WebMatrix
Jun 17, 2012 07:17 PM|LINK
When I try to open a .CSHTML file in WebMatrix, I get the follow error:
COuld not load type
'System.Web.Razor.Parser.Syntax.Tree.SingleLineMarkupSapn' from
assembly 'System.Web.Razor, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35
It just started happening today. I was using WebMatrix just fine for the past several months. It opens CSS, HTML, and JS files just fine. Please help.
Mikesdotnett...
All-Star
154818 Points
19853 Posts
Moderator
MVP
Re: Error Opening .CSHTML pages in WebMatrix
Jun 17, 2012 08:40 PM|LINK
Questions about the WebMatrix programme itself should be posted here: http://forums.iis.net/1166.aspx. You can use your existing user name and password to log in over there.
Beginning ASP.NET Web Pages with WebMatrix | My Site | Twitter
Miggro1
Member
46 Points
8 Posts
Re: Error Opening .CSHTML pages in WebMatrix
Jun 17, 2012 10:10 PM|LINK
I noticed a typo in your post. Maybe it's also a typo in code which causes the problem...
System.Web.Razor.Parser.Syntax.Tree.SingleLineMarkupSapn
probably should be
System.Web.Razor.Parser.Syntax.Tree.SingleLineMarkupSpan
davidsa
Member
210 Points
126 Posts
Re: Error Opening .CSHTML pages in WebMatrix
Jun 17, 2012 10:45 PM|LINK
Good catch - that was a typo. I was able to fix the problem by uninstalling the program and reinstalling it again.