IIS Express website works fine, not in IIS

此生再无相见时 提交于 2020-01-25 11:59:06

问题


I have an application that uses IIS 7.5X and Visual Studio 2013 and it works fine in IIS Express. I have had to make changes to allow authentication and allow 32-bit but it still doesn't work on IIS, only IIS express.

I have tried to use the publish in VS2013, but that doesn't seem to work.

Is there anyway I can find the settings used by IIS express so I can set IIS up so it works the same?

Where do I setup logs? Thanks in advance for not closing this question!

Also, when I run as IISExpress I see the images and styles that don't appear when run as an IIS site.

Where can I find out the settings used by IIS Express?
Pete


回答1:


  1. In IIS Express can you make "Deploy -> Export" and than in regular IIS to do "Deploy -> Import" ?

2. Major settings of IIS stored in files that located in folder C:\Windows\System32\inetsrv\config\




回答2:


For me, I had to set Identity of my application in Advanced Settings of Application Pools in the IIS to Custom account and then set an admin local account to it. Don't forget to Restart your site from the IIS after doing it



来源:https://stackoverflow.com/questions/25367756/iis-express-website-works-fine-not-in-iis

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!