Question

I am having my application in ASP.NET MVC 4 SPA. It was developed using the template in Visual Studio 2012 after installing Web-tools 2012.2. But after my work when I tried to host it in IIS after publishing it to a local folder, I am getting the directory listing missing error. I have also tried with normal ASP.NET SPA, the result is same. Tried to specify the default document option as well but not helping. Debug works fine and able to get output. I installed IIS on my development machine and tried but stuck at the same place now.

I am using ASP.NET MVC 4 SPA and Entity Framework 5.0.0.0

Thanks in advance.

Was it helpful?

Solution 2

Got it resolved. Need to copy the Services(DLL) folder in the solution.

OTHER TIPS

Did you install IIS after MVC? If so, you'll need to register ASP.NET with IIS. Open a VS command prompt and type aspnet_regiis -i - see here: http://msdn.microsoft.com/en-us/library/k6h9cz8h(v=vs.100).aspx

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top