Thursday, July 29, 2010

Install of CWA hangs at "Create New Virtual Web"

Specifically, the progress does not move past 'Creating Web Site' process in Create a Virtual Server Wizard and 'Creating Virtual Directories'.

What led to the re-install was that I was running into the issue:

"You do not have a phone number configured for dial-in conferencing and will only be able to dial into conferences as an unauthenticated participant. Please contact your system administrator."


Per:

http://social.technet.microsoft.com/Forums/en-US/ocsplanningdeployment/thread/82b4709f-fa4f-46e0-9886-eda89654fdb6

...I decided I would just re-install CWA.   (July's database upgrade and upgrading all servers to the latest code didn't resolve the issue for me)



When finally I gave up and cancelled the setup for CWA's 'Creating Virtual Directory', I checked the Deployment Log, and the problem was listed as:


                Create Application Pools: Failure [0x80070490] Element Not Found

Another user had run into this error message (not OCS related) and had contacted Microsoft and it was related to the IIS Default Application pool.  

http://forums.aspfree.com/microsoft-iis-12/element-not-found-error-when-creating-a-virtual-directory-162291.html

Apparently, the problem was in the metabase.xml file.

The  solution was:

1. Open a command prompt on this server.
2. Navigate to %systemdrive%\inetpub\adminscripts directory.
3. Execute the following commands:

cscript adsutil.vbs set W3SVC/AppPoolId ASP
cscript adsutil.vbs set W3SVC/1/AppPoolId ASP

I ran through these steps and was able to finish the install.

According to MS, 'this replaced the DefaultAppPool entries with the valid 'ASP' app pool' and the setup then ran flawlessly.