visual studio 2013 - How t solve "HTTP Error 500.19 - Internal Server Error" in VS'13 -
i running application in visual studio 2013 , entity framework used microsoft sql server management studio 2012. alright beginning when used command using htmlhelpers inside project time got error [error code 0x80070032 ]:-
my web config code:-
<system.web.webpages.razor> <host factorytype="system.web.mvc.mvcwebrazorhostfactory,system.web.mvc, version=5.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35" /> <pages pagebasetype="system.web.mvc.webviewpage"> <namespaces> <add namespace="system.web.mvc" /> <add namespace="system.web.mvc.ajax" /> <add namespace="system.web.mvc.html" /> <add namespace="system.web.routing" /> <add namespace="sportsstore.webui" /> <add namespace="sportsstore.webui.htmlhelpers"/> </namespaces> </pages> </system.web.webpages.razor>
i try project given on pro mvc 4.0 , solution :-
add line on top of 'list' view , don't need change/add line in web-config file.
@using sportsstore.webui.htmlhelpers
hope works :)
Comments
Post a Comment