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.
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