Techlog
The case of the failed Operations Manager web-console installation

In this article I will explain a challenge I experienced while installing the OpsMgr web-console on a management server. After installation of the OpsMgr webconsole I got the following error: "Server error in '/' Application". And as it turned out finding the problem wasn't that easy.

I had a strange problem while installing the OpsMgr web-console at a customer. Within their test environment I decided to install the OpsMgr web-console on the management server which runs on Windows Server 2008. So I started with installing the AJAX component, and adding the webserver role with the needed role features.(see: reference1 at the end of this article)



After the prerequisites were installed I started the System Center Operations Manager R2 installation and made the choice to modify the installation in order to include the web-console.



After the installation was finished I tried to start the web-console by using the shortcut in the Start Menu, but unfortunately I was presented with the following error.



Most of the time, when I have strange errors related to OpsMgr I start to google/bing right away. One of the advantages of OpsMgr is that it has a wide community and a lot about problems and caveats is blogged about or can be found on the forums.

I tried several provided answers from the blog posts and forum topics, but none of them helped. And then I remembered something. User Account Control (UAC) was turned-on on the Management Server.
I turned off UAC during the installation of OpsMgr but turned it back on again after the installation was successful.

So for a test, I installed the web console on the RMS where I first turned UAC off, rebooted and started exact the same installation of the OpsMgr web console. And to my surprise after installation I could successfully start the Web Console.

So I successfully determined that the reason that the web-console wouldn't install on my Management Server had something to do with the fact that UAC was turned on.

Normally having UAC turned on shouldn't be a problem though, because when Administrative rights are needed by the setup program you will get a prompt which asks you if you want to grant permissions for the action. I also noticed that during the "UAC off" installation I had other installation screens, the screen asking if I wanted to provide data to Microsoft for the Customer Experience. Strange..

So I did a file compare using Windiff (see: reference 2) on the web-console folders of a working web-console installation and a non-working web-console installation and I found out that in the non-working web-console installation a few files were missing:

.\bin\corgent.diagramming.commandresources.dll
.\bin\corgent.diagramming.customelements.dll
.\bin\microsoft.reportviewer.common.dll
.\bin\microsoft.reportviewer.webforms.dll


So I copied these files from the working Web console server to the non-working Web console server and guess what… It almost worked. Because there is another caveat, you have to enable Constrained Delegation on the computer object of the Management Server (see: reference 3)

Conclusion

Turn UAC off during installation of System Center Operations Manager and also when installing additional components, or start the installation with the "Run as Administrator" option. Or in this case use my workaround, but you have to dig-up the missing files somewhere.

References:
1. How to install IIS on Server 2008 to support OpsMgr Web Console and Reporting, by Kevin Holman: http://blogs.technet.com/kevinholman/archive/2008/09/26/how-to-install-iis-on-server-2008-to-support-opsmgr-web-console-and-reporting.aspx
2. Windiff: http://www.grigsoft.com/download-windiff.htm
3. Installing the Web Console on a 2008 Management Server - using Windows Authentication, by Kevin Holman: http://blogs.technet.com/kevinholman/archive/2008/09/24/installing-the-web-console-on-a-2008-management-server-using-windows-authentication.aspx
4. OpsMgr R2 WebConsole won’t start after installation, by Marnix Wolf: http://thoughtsonopsmgr.blogspot.com/2009/08/opsmgr-r2-webconsole-wont-start-after.html Back to main menu