admin管理员组文章数量:1391778
I want to create a new ASP.NET Web Application (.NET Framework) with web forms, but when I press the create button then I got this error message. To fix this issue, I inserted IIS files manually and I copied the config files (applicationhost.config, aspnet.config và redirection.config) from C:\Program Files)\IIS Express\config\templates\PersonalWebServer
then pasted them to Documents\IISExpress\config
but it is not fixed.
When I pressed create button and got this error message, the project folder was created in source\repos but there was not any .sln file or the project was not opened.
My device is 64-bit and I have Visual Studio 2022. Before this project, I could create another core project but I cannot create a framework web forms project.
I want to create a new ASP.NET Web Application (.NET Framework) with web forms, but when I press the create button then I got this error message. To fix this issue, I inserted IIS files manually and I copied the config files (applicationhost.config, aspnet.config và redirection.config) from C:\Program Files)\IIS Express\config\templates\PersonalWebServer
then pasted them to Documents\IISExpress\config
but it is not fixed.
When I pressed create button and got this error message, the project folder was created in source\repos but there was not any .sln file or the project was not opened.
My device is 64-bit and I have Visual Studio 2022. Before this project, I could create another core project but I cannot create a framework web forms project.
Share Improve this question edited Mar 12 at 20:18 James Z 12.3k10 gold badges27 silver badges47 bronze badges asked Mar 12 at 9:39 İrem Kürekçiİrem Kürekçi 1238 bronze badges 3 |1 Answer
Reset to default 0Under my testing, when Visual Studio creates a project, it first attempts to read:
%USERPROFILE%\Documents\IISExpress\config\redirection.config
If this file is not found, it then checks:
C:\Program Files\IIS Express\config\templates\PersonalWebServer\redirection.config
Based on your description, it is recommended to verify the permissions for redirection.config. If there are no "deny" permissions set, the issue may be caused by an internal error with IIS Express. In that case, reinstalling IIS Express in VS installer is recommended.
本文标签:
版权声明:本文标题:c# - Configuration IIS Express failed with the following error: File name: redirection.config Error: Unable to read configuratio 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744761115a2623760.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
Documents\IISExpress\config
, so you were not fixing the issue by those steps, docs.lextudio/jexusmanager/getting-started/features.html If possible, try to completely reinstall VS/IIS Express and see if that helps. – Lex Li Commented Mar 12 at 15:34