I was running a project say ProjectA in visual studio 2015 and for some reason, I have created a copy of that project say CopyProjectA.While running that copied project, i.e CopyProjectA project it was showing an error
Port number is in use
So for that, I changed the port number of CopyProjectA.
Now, while I run CopyProjectA it's now showing
Unable To Launch IIS Web server. Failed to register URL "https://localhost:portnumber/" for site "CopyProjectA or Project_Name(1) " application "/". Error description Cannot create a file when that file is already exist (0x800700b7)
Note: CopyProjectA or Project_Name(1) both are same Please help me to fix this problem :)
The best way is to create a new virtual directory for the application after changing the port number; this will delete any related configuration caused by the old website.
From the Properties of your application;
User contributions licensed under CC BY-SA 3.0