Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

We have a system in which there a SQL Server Express 2008 default instance called "SQLExpress".

Normally the SQL Server Express default instance is called "MSSQLSERVER".

Now we have an application installer with a SQL Server Express 2008 prerequisite.

This prerequisite tries to install a named instance called "SQLExpress".

This fails with the message:

Process exited with code -2068578304

The commandline arguments used by the installer are:

/q /hideconsole /action=Install /features=SQL /instancename=SQLEXPRESS /enableranu=1 /sqlsvcaccount="NT Authority\Network Service" /AddCurrentUserAsSqlAdmin /skiprules=RebootRequiredCheck

How can we handle this case?

share|improve this question

migrated from stackoverflow.com Apr 25 '12 at 13:43

This question came from our site for professional and enthusiast programmers.

    
whats the error message? By the arguments, it seems to be trying to install an instance called SQLEXPRESS, which wont be possible if it already exists as you are saying. EDIT: > The error code means MSI 4.5 could not be found. Could you uninstall > MSI 4.5 from your machine and try to reinstall SQL Server Express > (WebPI will install MSI 4.5 as a dependency for SQL Server)? –  Diego Apr 25 '12 at 10:39
    
Error message is: Process exited with code -2068578304 –  Ranjith Venkatesh Apr 25 '12 at 11:08
    
Is it possible to give an user friendly message instead of exiting the process? –  Ranjith Venkatesh Apr 25 '12 at 11:38
1  
maybe you can call microsoft and ask them... –  Diego Apr 25 '12 at 11:41
1  
You simply have an instance name conflict. You have two options: change the application's instance from SQLEXPRESS, or change your current instance name from SQLEXPRESS. You could also use a different server so that you won't have the instance name conflict. –  Thomas Stringer Apr 25 '12 at 14:17

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.