IIS - site renaming
-
I have on one machine local web application configured to a path C:\my application\app1 This is configured as "App1". An old copy of the application resides in C:\my applications\app2 and it is configured as "App2" In all the machines the name of App2 is used except on this machine. So, I decided to bring this machine to par. Deleted both App1 and App2 from IIS and added C:\my application\app1 as "App2" But the issue is IIS does not seems to get the change and still thinks this is App1. If I type http://localhost/app1 I get into the application even though it is configured as App2. Where as http://localhost/app2 does not work. I get 404 error. So, when I delete a site from IIS is there any other clean up I need to do? Simply deleting the virtual directory does not to work. I have restarted IIS and rebooted the machine several times. It did not make any difference. Is the original App1 still cached in IIS? Shouldn't this get wiped out when IIS restarts?
/* I can C */ // or !C Yusuf
-
I have on one machine local web application configured to a path C:\my application\app1 This is configured as "App1". An old copy of the application resides in C:\my applications\app2 and it is configured as "App2" In all the machines the name of App2 is used except on this machine. So, I decided to bring this machine to par. Deleted both App1 and App2 from IIS and added C:\my application\app1 as "App2" But the issue is IIS does not seems to get the change and still thinks this is App1. If I type http://localhost/app1 I get into the application even though it is configured as App2. Where as http://localhost/app2 does not work. I get 404 error. So, when I delete a site from IIS is there any other clean up I need to do? Simply deleting the virtual directory does not to work. I have restarted IIS and rebooted the machine several times. It did not make any difference. Is the original App1 still cached in IIS? Shouldn't this get wiped out when IIS restarts?
/* I can C */ // or !C Yusuf
Hi yousuf, looks very strange. don't know how you done - Deleted both App1 and App2 from IIS and added C:\my application\app1 as "App2" can you give a try in this way - go to IIS and properties of your web application. under the Directory tab see the radio "The designated Directory" is selected and under application settings Remove and re-create your web application. -Ram.