Asp.Net Application was not working when we deployed in IIS 8.0

試著忘記壹切 提交于 2019-12-08 14:01:54

问题


In Windows Server 2012 created simple Asp.Net using Visual studio 2012. Then I have deployed it in IIS 8.0. In IIS manger browse the deployed simple Asp.Net application, it was working fine when the sample Visual studio project is open. After closing the Visual studio project then we browse it from IIS manager option, the application was not working.

Please provide the solution if you know about it.

Note: The page can't be displayed error be occur.


回答1:


Few Things you need to check for hosting in IIS.

  1. Application Pool frameWork : Ensure the correct framwork is installed V(4.0.30319).

    Navigate to C:\Windows\Microsoft.NET\Framework\v4.0.30319 directory

    Open command window here (CTRL + SHIFT + rightClick)

    Type in the Command prompt aspnet_regiis -i to register the latest framework.

  2. Physical path Security/permission : IIS -> (select your VD) -> Manage Application-> Advanced settings -> Physical path credential -> Choose connect as Specific user -> provide the systems username and password.

  3. Add read/write permission for IIS_IUSERS object



来源:https://stackoverflow.com/questions/29813516/asp-net-application-was-not-working-when-we-deployed-in-iis-8-0

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