且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用的LocalDB到本地IIS的Windows 7部署ASP.NET MVC 4应用程序?

更新时间:2023-01-11 08:01:13

我也患上了同样的问题,但有这么小的解决方案,它只是走在IIS服务器上,而不是应用程序池从中运行应用程序,并提前应用程序池设置,我们会得到一个过程模型下有身份默认情况下是应用程序池标识选项只是将其更改为本地系统和你做

I was also suffering from same problem but there is so small solution for it just go in iis server than to application pool from which you application is running and in advance setting of application pool we will get the option of Process Model under which there is identity which is by default application pool identity just change it to Local System and your done

并记得把App_Data文件夹中的IIS服务器的WWW文件夹