How to deploy ASP.NET MVC 4 application using localDB to local IIS on Windows 7?

前端 未结 5 1390
灰色年华
灰色年华 2020-11-29 04:53

When I try to run my ASP.NET MVC 4 application using Local IIS on Windows 7 with Visual Studio 2013. I run into the following error when the application tries to connect to

5条回答
  •  一向
    一向 (楼主)
    2020-11-29 05:24

    I was also suffering from same problem, but there is a solution for it.

    Go to the IIS server, and then to the application pool from which your application is running. In the advanced settings of the application pool there is a "Process Model" option, under which there is an "Identity" option. This is by default the application pool identity. Change it to Local System, and you're done.

    And Remember to Put App_Data Folder their in WWW folder of IIS server

提交回复
热议问题