0
Answer

MVC4 Hosting in windows 8

Ask a question
I have hosted the MVC 4 application in windows 8.1 into IIS. When I browse the application it showing the home page but when I browse any other page using the page link the virtual directory name is removed and showing the error "

404 - File or directory not found.

The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable."



Home page url is "http://192.168.5.12/carefoundation" and after clicking the page link the url is "http://192.168.5.12/Master/Districts".  This is showing the error. the url removes the virtual directory name i.e. carefoundation. If I type the url "http://192.168.5.12/carefoundation/Master/Districts" then it is working.


Please help me. it is urgent.