This is a migrated thread and some comments may be shown as answers.

Switching web property in VS2010 to virtual directory and site won't load

3 Answers 44 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Steven
Top achievements
Rank 1
Steven asked on 15 Jun 2012, 10:55 PM
I created a brand new default MVC3 telerik web application in Visual Studio 2010. It is created with the default value of "User Visual Studio Development Server" on the Web panel of the project properties window.

I switch to "Use Local IIS Web server" and click the "Create Virtual Directory" button. It claims it does it successfully, and if I use IIS manager, I can see that it indeed succeeded.

However, if I then try to run the application (using Chrome as my default browser), I get "Directory Listing Denied  This Virtual Directory does not allow contents to be listed."

Clearly, something is missing or mis-configured, but I can't figure out what it is?  Any suggestions?

3 Answers, 1 is accepted

Sort by
0
Petar
Telerik team
answered on 20 Jun 2012, 10:45 AM
Hi Steven,

I am sorry for the problem that you have encountered.

It seems to me that the problem is related to IIS configuration. I suggest you to review the following articles that provide information related to the issue that you have encountered:
http://stackoverflow.com/questions/2313616/asp-net-mvc2-deployment-directory-listing-denied
http://stackoverflow.com/questions/6391804/mvc3-publishing-and-iis-6
http://forums.asp.net/t/1527983.aspx/1

I hope this helps.

Greetings,
Petar
the Telerik team
Check out the successor of Telerik MVC Extensions - Kendo UI for ASP.NET MVC - and deem it for new ASP.NET MVC development.
0
Steven
Top achievements
Rank 1
answered on 20 Jun 2012, 02:55 PM
Thank you for the suggested sites. I had already tried them, but without success. The base issue was that when I brought up the dialog box to add the isapi.dll  for the mvc extension, the "Ok" button was not enabled.

I finally re-ran "aspnet_regiis -i -enable" and "magically" the "Ok" button became enabled. Once this was enabled, I was able to follow the other suggested procedures and resolve my problem.
0
Petar
Telerik team
answered on 20 Jun 2012, 03:32 PM
Hi Steven,

Thank you for sharing this. I am glad that you managed to get things working on your side.

If you have any future inquires, don't hesitate to write us again.

Regards,
Petar
the Telerik team
Check out the successor of Telerik MVC Extensions - Kendo UI for ASP.NET MVC - and deem it for new ASP.NET MVC development.
Tags
General Discussions
Asked by
Steven
Top achievements
Rank 1
Answers by
Petar
Telerik team
Steven
Top achievements
Rank 1
Share this question
or