When trying to install Task Server, we're getting an error 1722 and it fails to complete. The rest of the installation(s) complete, but not Task Server. This is an MSI error, and it rolls-back the entire installation, so nothing is installed or working, and in the console, you get errors when you try to go to the Task Server pages (which may be present). In the MSI log (with verbose logging enabled), there is simply an error logged, no details, and then it starts rolling the entire thing back.
<P>There are multiple possible causes for this: <P><STRONG>Cause 1:</STRONG> .NET 3.5 is installed <P></P>In this environment, they had a standard "build" procedure on their servers of installing all the latest patches, and upgrading the optional components as well. .NET 3.5 is one of those. Even though .NET 1.1.4322 was registered with IIS, simply having .NET 3.5 on the box caused this error. Having .NET 2.0 did not seem to cause the problem. <P>Oh, and because they were installing SQL 2005 locally, they had to upgrade .NET, and the easiest thing to upgrade to was 3.5.</P> <P></P><BR><STRONG>Cause 2:</STRONG> Insufficient permissions <P>In another environment, they had locked-down their Domain Administrators to not have complete local admin rights on the box. He was logged on using the Domain Admin during the install of task server and it failed. <P>We could tell that the permissions were insufficient as we could not access the Appliction or System event logs in the log viewer. It just showed an "access denied" message.</P>
<P><STRONG>Resolution 1:</STRONG></P> <P> Ensure that only .NET 1 or 2 is loaded, and that .NET 1.1 is the only thing registered in IIS, and the installation should work fine. <P></P><STRONG>Resolution 2:</STRONG> <P> Ensure that the account you are logged in as has FULL Local Administrator rights before installing or repairing Task server. Also, ensure that you are logged into the NS as an RDP Session 0 (using either the mstsc /admin or mstsc /console switches, depending on what version of windows you are running locally). <P> Once you are logged in with sufficient access to the server, the Task Server install / repair should work fine.</P><br/><p><b>Applies To</b><br/>NS 6.0 SP3, R11 <P>Windows 2003, SP2 Enterprise <P>SQL 2005 on-box</P>