Posted on: 11/3/2011 10:11:17 AM | Views : 233

Hi,    In our Application we are creating a setup. We need SQL to be installed in the client machine if it is not installed. I have created a installer class. Through this installer class we are trying to install SQL. New instance is created but When I try to connect it in the Management studio it throws the Following Error: Cannot connect to 'Instance Name' ADDITIONAL INFORMATION: Login failed for user 'DomainName\UserName'. Reason: Server is in single user mode. Only one administrator can connect at this time. (Microsoft SQL Server, Error: 18461)        I can install SQL through command prompt, Console application without any probelm. The problem occurs only when I try to install using InstallerClass. We used Even ConfigurationFile.ini, but that doesn't help us. ...

Go to the complete details ...