A normal IIS with the "exchange2010 cas" role should contain some functional virtual directories, as shown in.
Note that their. netframework version is consistent with the apppool
650) This. width = 650; "Title =" image "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201409/17/8850288_1410964699HBE1.png "Height =" 372 "/>
If you need to perform secondary development for exchange2010, you need to install. netframework4.0 under specific requirements, that is, the scenario I encountered this time. You may think that 4.0 is compatible with 2.0, which is not a big problem.
However, Microsoft has such a bug. After 4.0 is installed, all the apppools will be automatically switched to version 4.0, and then you will find that ...... Your OWA will not be redirected.
Related links:
Http://www.devinonearth.com/2013/02/msexchange-2010-and-net-4-0/
In the above link, the buddy proposed a simple solution to switch back the apppool version ............
But ............
As soon as I shake my hand, I deleted all the virtual directories so that both EMC and emshell could not be opened ...... However, the installer does not attempt to re-install the CAS role to recreate these directories.
Just as I tried to compare another CAS role, right-click this IIS to create an application and enter the same parameters. I think of a command, that is, new-owavirtualdirectory.
So ...... Will other virtual directories have corresponding commands? Please try it out. Reconstruction and Recovery, EMC finally opened ......
When using the new command, make sure that the virtual directory name is the same as the original one.
650) This. width = 650; "Title =" image "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201409/17/8850288_1410964699KsYm.png "Height =" 317 "/>
Oh... By the way, I forgot to mention that the emshell cannot be opened in case of a fault. For details, refer to the operation.
You can also right-click the powershell icon in the taskbar and choose import system module.
650) This. width = 650; "Title =" image "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201409/17/8850288_1410964699cLzW.png "Height =" 308 "/>
The central idea of this article:
1. Do not panic when you delete the directories in IIS. You have prepared various commands ...... Anti-Bot
2. Pay attention to the bugs in exchange2010 and. net4.0.
3. next article about how to rebuild an exchange security group
Http://careexchange.in/how-to-recreate-corrupted-microsoft-security-groups-in-exchange-2010/
This article is from the "castelomei rainy season" blog, please be sure to keep this source http://sodaxu.blog.51cto.com/8850288/1554540
Fix the IIS virtual directory corresponding to exchange2010