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

前端 未结 5 1396
灰色年华
灰色年华 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:30

    Try this,this will solve your problem:

    Edit the applicationHost.config file found in %windir%\system32\inetsrv\config\ specifically the ApplicationPools section.

    Change the IdentityType to NetworkService to use newly created database.

    
       
    
    

提交回复
热议问题