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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?


migration rejected from Mar 24 at 19:07

This question came from our site for professional and enthusiast programmers. Votes, comments, and answers are locked due to the question being closed here, but it may be eligible for editing and reopening on the site where it originated.

closed as off-topic by Max Vernon, mustaccio, Tom V, Andriy M, RolandoMySQLDBA Mar 24 at 19:07

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Too localized - this could be because your code has a typo, basic error, or is not relevant to most of our audience. Consider revising your question so that it appeals to a broader audience. As it stands, the question is unlikely to help other users (regarding typo questions, see this meta question for background)." – Max Vernon, mustaccio, Tom V, Andriy M, RolandoMySQLDBA
If this question can be reworded to fit the rules in the help center, please edit the question.

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
maybe you can call microsoft and ask them... – Diego Apr 25 '12 at 11:41
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