Subscribe to Youtube channel

Creation of the virtual directory failed issue whle opening the older version projects in VS2017[solved]

I attempted to load the new VS2015 project in VS2017, but it immediately failed to load.and i am getting below error popup

Creation of the virtual directory http://localhost:32999/
failed with the error: Filename: redirection.config
Error: Cannot read configuration file

there are two solution for this issue

1) Renaming applicationhost.config :


  1.     Close VS2017
  2.     Go into folder %userprofile%\Documents\IISExpress\config
  3.     Rename applicationhost.config
  4.     Restart VS and load the solution/project
  5.     VS should have recreated applicationhost.config, and project should load


2) Copy config files to IISExpress directory

copy all files from

    C:\Program Files\IIS Express\config\templates\PersonalWebServer

to

    %userprofile%\Documents\IISExpress\config


any of above solution will resolve your problem..

Comments

Popular posts from this blog

Implement Logging in CSV file using Nlog in .net core MVC application- part 2

Implement Nlog in .Net core MVC application part 1

Devexpress Datebox date formatting in angular 6 with example

Disable backspace key using Jquery

Angular User Session Timeout example step by step

Restore the lost focus of Auto post back controls in asp.net update Panel control

How to Import CSV File and bind csv file data to gridview in asp.net using c#

Remove Owin from MVC 5 Application and use asp.net custom forms authentication

Clone a generic list in C# using extension method