OCS 2007 R2: SQL Instance Detection Failed
May 4th 2010Desmond LeeSQL Server 200x/ 2008 & Communications Server 2010 (Wave 14) / LCS/OCS 2007 R2/
It is possible to install SQL Server 2008 on a domain member server simply with a local administrative account. Besides specifying service accounts for the various SQL services*, you also need to add at least one user account that will be designated as SQL Server administrator(s) in Windows authentication mode. The same goes for account provisioning at the configuration step for the SQL Analysis service. Adding the current user (= <machinename>\Administrator) will work in both cases.
Next, you log on using an account with membership in the Domain Admins and RTCUniversalServerAdmins security groups and start the Monitoring Server Activation Wizard. At the “Select SQL Server Instance” page, you provide <machinename> as the SQL Server instance. Only the computer name is essential when SQL is configured to use the default instance. Clicking Next will cause an error message to be displayed:
An error occurred during the backend detection:
SQL instance detection failed.Click ‘Cancel’ to close this wizard.
Click ‘Try Again’ to go back to the previous page and enter a different SQL instance.
Click ‘Continue’ to ignore this error.
Starting the SQL Server Management Studio using the same credentials at this point in time will also fail. To resolve this, logoff and log in with <machinename>\Administrator then add and assign the <domain>\administrator (or equivalent) account with SQL administrative permissions that are similar to the former. Rerun the Wizard by logging on with the domain administrative account to complete the activation process on the target Monitoring Server.
* NT AUTHORITY\Local System and NT AUTHORITY\SYSTEM
Technorati tags: LCS/OCS, OCS 2007 R2, SQL Server 200x/2008
In addition to the SQL Server Database Services component, you should at least also select the Workstation components during setup. The latter is essential if you intend to perform administrative tasks on the Back-End server itself, such as creating new SQL instance via a GUI.
Should you start off by installing, say SQL Server 2005 RTM and then apply SP2 later, you will not be able to add new components at a later time if you only have the original RTM media. Keep this in mind when you install SQL Server using the instructions 



In other words, you should re-run this step if required until only “Success” is reported when you review the logs. All in all, this should pave the way for a less bumpy ride with subsequent steps in deploying R2 Enterprise Edition.

With three full days of intensive sessions by experienced SQL experts covering topics such as “SQL Server Performance Marine”, “Mastering MDX in 3 days” and “Advanced BI Concepts based on the MS BI stack”, you will not want to miss the 4th annual PASS Camp scheduled from 2-4 Sep 2008 in Germany.