Using asp .net MVC 4.0 , razor , VS2010 , IIS5.2 , windows Server 2003
I have built an application which i want to publish in IIS. what i did is listed below:
- Cleaned then built the solution.
- right click on project file and clicked PUBLISH.
- publish method : File System
- Target Location : C:\Inetpub\wwwroot\testing
- then publish.
Then i went to IIS and got my site in Default web sites. happy :). Then i did:
- right clicked on testing(my app) and open properties.
- In the tabdirectory everything goes fine.
- in asp.nettab, i set asp .net version 4.0.30319
- here is a little confusion, I set home/index as my default content page in documentstab
- then I right click testing and clicked browse. And it shows :
Most likely causes:
This website requires you to log in.
This error(HTTP 403 Forbidden) means that this program was able to connect to the website, but it does not have permission to view the webpage.
a short summury what i got as error message. This is my fist mvc application and first hosting. What is my fault here? what should i do now?