Last post Feb 27, 2013 07:11 AM by Young Yang - MSFT
Feb 20, 2013 04:54 PM|gslakmal|LINK
I have use "Use Local IIS server" option in my site property web setiing
When i try to run application i get following error
This Virtual Directory does not allow contents to be listed.
How can i fix this
Feb 20, 2013 04:58 PM|ZafarYousafi|LINK
Your IIS server is unable to understand the MVC application, check app pool you define and also if asp.net is configured in IIS or not.
Feb 21, 2013 11:42 AM|radcorpindia|LINK
Which Version IIS are you using to run your MVC3 Application ?
Probably you want to browse your page, by right click on View and try to browse it, Don't do it MVC 3 application not run as traditional ASp.Net Web Page application.
Go through bellow articles. It may clear your basic.
Knight Data Access Layer - .NET ORM, LINQ Provider, and more
Feb 21, 2013 11:51 AM|Sagar Kamate|LINK
Create an New app pool in IIS with 4.0 framework.
Add the virtual directory in Default web site of IIS.
Browse the website.
Let me know in case of any issues.
Feb 27, 2013 07:11 AM|Young Yang - MSFT|LINK
Try adding a New Site in IIS not a virtual directory. When you create it assign the port to like 8000 then you can access your site with
Next, click on Application Pools. Right click on the new site and go to basic settings. Make sure the version of the .NET framework is V4 not v2 and the managed pipeline mode is Integrated not Classic.
Also, before you transition over to IIS, make sure the site is running correctly with the Visual Studio Development server.
You also should check whether giving IIS_IUSRS permissions to the folder through Windows Explorer. If not, you can Right Click on the Folder in windows Explorer -> Properties -> Security Tab -> Add, then enter IIS_IUSRS, then add them. Depending on what
you are doing it may only need Read access.