html - VS2012: Page inspector and view in browser won't work -
i new website development, , having trouble viewing webpage in browser.
when try open webpage in page inspector/ choose "view in browser" following error.
page inspector:
"the attached page not running in compatible internet explorer standards mode. use latest document mode add following meta tag html page: try dynamically add meta tag session click here."
view in browser:
"uh-oh, went wrong! error code: 500"
i've tried adding meta tag source html , still doesn't work. also, following step-by-step tutorials on youtube, doing same, yet still won't work. if open asp.net webforms site can view in browser, i'm having trouble viewing them when start empty website form.
here header of html code.
**<%@ page language="c#" autoeventwireup="true" codefile="registration.aspx.cs" inherits="registration" %> <!doctype html> <html xmlns="w3.org/1999/xhtml">; <head runat="server"><title></title> <meta http-equiv="x-ua-compatible" content="ie=edge"/>**
any appreciated.
i think there wrong in iis.
first, please check iis project used , check whether asp.net application development feature has installed. (right click project=>properties=>web)
if used default iis express please try re-install vs , try again. try host local iis , check result.
or (right click project=>property window => managed pipleline mode > classic
Comments
Post a Comment