http://localhost not working.
-
i have given inetmgr in run my iis opened .I created one virtualDirectory and placed one.html and one.aspx files with same content. i am able to run one.html from browser . but i am getting page can't be displyed error for one.aspx page. My main problem http://localhost couldn't display default server page . So pls tell me what i have to do. Thanks inAdvance.
-
i have given inetmgr in run my iis opened .I created one virtualDirectory and placed one.html and one.aspx files with same content. i am able to run one.html from browser . but i am getting page can't be displyed error for one.aspx page. My main problem http://localhost couldn't display default server page . So pls tell me what i have to do. Thanks inAdvance.
Hi, 1. If you are adding any .aspx, that file should be a valid .aspx file. i.e Page should have '<% @Page Language='C#' %>. Otherwise it will not display. 2. If the page is valid then you need to set default page. Open Inetmgr -> Right Click your web application -> Go to second tab 'Documents' -> Remove all files from the list -> And add your default page name. 3. If application files are in main folder (i.e wwwroot/inetpub) .. then it can be accessed using the link 'http://localhost. 4. If in some other folder then 'http:// (make sure that you have added default document as given in step 2). Hope this helps. Harini
-
i have given inetmgr in run my iis opened .I created one virtualDirectory and placed one.html and one.aspx files with same content. i am able to run one.html from browser . but i am getting page can't be displyed error for one.aspx page. My main problem http://localhost couldn't display default server page . So pls tell me what i have to do. Thanks inAdvance.