質問

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.

役に立ちましたか?

解決 2

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

他のヒント

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

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top