c# - Run (deploy?) APS.NET MVC on IIS 7.5 locally -
i web designer, not programmer, specially not asp.net mvc programmer.
at work there no programmers anymore. application developed contracted programmer , contract has finished. person reuse work year (it festival happens every year). job change css objective of keeping functionality , changing appereance.
following best practices, want "develop" locally on computer (windows 7 ultimate sp1, iis 7.5 , visual studio professional 2013) and, after job approved, put application online again.
i tried follow steps in these questions (and answers):
how run asp.net c# web application locally?
asp mvc in iis 7 results in: http error 403.14 - forbidden
i tried tutorial too, following answer in question:
asp.net mvc 4 , iis7: how configure/run asp.net mvc4 web application in iis 7
but not thing work. not know how configure iis past various error messages. of them are:
403 forbidden
configuration error
line 24: <httpruntime targetframework="4.5" /> line 25: <compilation debug="true" targetframework="4.5" /> line 26: <authentication mode="forms"> line 27: <forms loginurl="~/account/login" timeout="2880" /> line 28: </authentication>
in 1 of searched answers, mark boltuc says put on web.config file:
<system.webserver> <modules runallmanagedmodulesforallrequests="true"/> </system.webserver>
it did not work either.
the application in server running windows server 2008 , database in server (hostgator) , using mysql.
could someone, please show me steps solve this?
thank you, much.
edit:
i cannot put image...
well, on iis manager, created site, outside default , stop it. site running on iis.
in application pools created application same name. started, .net framework version v2.0 tried put v4.0 , did not work. manage pipeline integrated.
maybe missing handler since using form authentification
<system.webserver> <modules runallmanagedmodulesforallrequests="true"></modules> <handlers> <remove name="urlroutinghandler"/> </handlers> </system.webserver>
Comments
Post a Comment