SQL Server 2005 Standard edition install fails; An instance with the same name.../

Good Morning

I am trying to install SQL Server 2005 onto Windows Server 2003 Small Business Edition. Previously SQL Server 2000 from the SBE disk was installed, automatic updates are enabled.

I have selected the default instance and everything I try results in the error:

An instance with the same name is already installed on this computer. To proceed with SQL Server Setup, provide a unique instance name.

Log file says;

--------------------------------------------------------------------------------
Machine : ISAINTERNET
Product : Microsoft SQL Server 2005
Product Version : 9.00.1399.06
Install : Failed
Log File : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0002_ISAINTERNET_SQL.log
Last Action : DetectInstanceClash
Error String : An instance with the same name is already installed on this computer. To proceed with SQL Server Setup, provide a unique instance name.
Error Number : 28086
--------------------------------------------------------------------------------

Ian Smith



Answer this question

SQL Server 2005 Standard edition install fails; An instance with the same name.../

  • Laurent4x

    Good morning,

    Thank you for your suggestion

    I don't think that I explained myself clearly enough, I have uninstalled SQL Server 2000 (and rebooted) so there should not be any instance of SQL Server on the computer.

    I am not new to either computing or SQL server and I am quite clear in my mind that I should not need to install a named instance, indeed part of the functionality of installing named instances is that the install will leave other instances alone, in my case the non existent instance.

    I take this installer message seriously, either SQL Server installer is wrong and there is no instance (highly unlikely) or that somewhere around there are still bits of SQL Server 2000. Now it may be that the bits of SQL Server 2000 that are left are of no consquence, but if I don't know what they are then I can not know now important they are.

    I would rather format the disk and re-install Windows Sever and then install SQL Server 2005 as the default instance than have a named instance when I should not need one. This would mean bye bye the weekend and all the files that I need and haven't backed up but thought that I had! I know this sounds extreme, but it does avoid creating possible problems in the future.

    Bye

    Ian Smith


  • Cool guy

    Hi,

    I experienced the same error (28086) installing SQL Server 2005 Express Edition SP2 yesterday. Before that, the machine was running MSDE 2000 until 01/2006, and then SQL Server 2005 Express Edition. Removing the registry keys helped, there were entries for MSSQL and SQLEXPRESS left. SQL Server 2005 Express Edition SP2 is installed and running now.

    Yours

    Alexander Mazurek


  • Phil RCM

    In the setup GUI you're prompted to provide an instance name. The default setting is "Default Instance" - be sure to select "Names Instance" and provide a unique instance name.

  • AngelOnLine

    Good Morning

    Once again thank you for your thoughts.

    The suggestion that MSDE might be the culprit is very likely to be true, we are pretty sure that nothing should have installed it, but we did install Visual Web Developer a while back and most defintely did not choose to install MSDE, however windows Automatic Updates has tried and failed on numerous occasions to install updates to MSDE, I think it fails because MSDE is not installed but a fragment of it was.

    This is a reasonable reason for why I have to install a named instance, I have done this as we need to carry on working, and have not come across any problems.

    Just to clarifiy, my reluctance to install a named instance is based on the idea that I like everything to be perfectly set up, I don't like old or unexpected bits of programs hanging around. In practice they seem to come back and bite you a few months later in totally unexpected ways.

    Finally thanks once more for your help.

    Bye

    Ian Smith

    Out of interest here is the bit of the installer log

    <Func Name='LaunchFunction'>
    Function=DetectInstanceClash
    <Func Name='SetCAContext'>
    <EndFunc Name='SetCAContext' Return='T' GetLastError='0'>
    Doing Action: DetectInstanceClash
    PerfTime Start: DetectInstanceClash : Wed Jan 18 07:48:31 2006
    <Func Name='DetectInstanceClash'>
    <Func Name='ValidateInstanceName'>
    Error Code: 0x80076db6 (28086)
    Windows Error Text: Source File Name: sqlca\sqlcax.cpp
    Compiler Timestamp: Wed Sep 21 01:10:12 2005
    Function Name: ValidateInstanceName
    Source Line Number: 445

    Error Code: 28086
    MSI (s) (54!7C) [07:48:41:312]: Product: Microsoft SQL Server 2005 -- Error 28086. An instance with the same name is already installed on this computer. To proceed with SQL Server Setup, provide a unique instance name.

    Error 28086. An instance with the same name is already installed on this computer. To proceed with SQL Server Setup, provide a unique instance name.
    <EndFunc Name='LaunchFunction' Return='28086' GetLastError='0'>
    Action ended 07:48:41: DetectInstanceClash.D20239D7_E87C_40C9_9837_E70B8D4882C2. Return value 3.
    Action ended 07:48:41: INSTALL. Return value 3.
    Property(S): ProductCode = {FFFA78A7-BD51-4255-8470-C4D4A85B49F5}
    Property(S): ProductLanguage = 1033
    Property(S): Manufacturer = Microsoft Corporation
    Property(S): ProductVersion = 9.00.1399.06
    Property(S): MEDIAPACKAGEPATH = \Setup\
    Property(S): ALLUSERS = 1
    Property(S): NULLGUID = {00000000-0000-0000-0000-000000000000}
    Property(S): ASPNetVersion = 2.0.50727
    Property(S): ARPHELPLINK = http://go.microsoft.com/fwlink/ LinkId=52152
    Property(S): ARPPRODUCTICON = ARPIcon.ico
    Property(S): ARPNOREPAIR = 1
    Property(S): ARPSYSTEMCOMPONENT = 1
    Property(S): MsiHiddenProperties = SQLPASSWORD;AGTPASSWORD;ASPASSWORD;RSPASSWORD;SQLBROWSERPASSWORD;RSSQLPASSWORD;RSSQLPassword;RSSQLPasswordQuoted;RSSETUPPASSWORD;RSSetupPassword;SAPWD;saPWD;UPGRADEPWD;SqlUpgradePwd;SQLPassword;ServicePassword;ADMINPASSWORD;PIDKEY;FTEPassword.68C6D15C_77E0_11D5_8528_00C04F68155C;checksum.7354AFCB_913B_4E9F_B76C_2376101FDE0C;checksum.;DigitalProductID;DPID;Do_sqlScript.D20239D7_E87C_40C9_9837_E70B8D4882C2;Rollback_SqlConnection.D20239D7_E87C_40C9_9837_E70B8D4882C2;Do_XmlSingleNode.D20239D7_E87C_40C9_9837_E70B8D4882C2;Do_RSSetting.D20239D7_E87C_40C9_9837_E70B8D4882C2;PID;ProductID;RSUPGRADEPASSWORD;Do_RSSetSharePointExclusionPath.D20239D7_E87C_40C9_9837_E70B8D4882C2
    Property(S): SecureCustomProperties = SQL_SHOWLIC;UPGRADESQL90
    Property(S): SqlServerBuild = 1
    Property(S): SqlCluster = 0


  • SAMSQL2005

    Ian,

    First, I don't understand your reasons for not wanting to install a named instance. There is absolutely no functional difference between a named instance and the default instance.

    With that said, I now understand what you're saying. In order to trouble shoot this further, you'll need to look at the contents of the following log file:

    C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0002_ISAINTERNET_SQL.log

    Search for "Value 3" (This is a Windows Installer error code marker). Near the location of "Value 3" you should see some additional information about the error. If you can't figure it out from that please post the text around "Value 3" and I'll have a look at it. Please don't post the entire log file as it's probably pretty big.

    Finally, one thing to remember is some software includes MSDE under the covers. Is it possible that something you installed in turn installed MSDE as a default instance You wouldn't see this in Add Remove Programs. It would only show up in the process list.

    Dan



  • ChrisHelt

    I don't understand you're concern with installing as named instance. I understand you don't think you need - given there doesn't seem to be any SQL2K left on the box - but all things being equal, what is the difference between default and named instance

    Did you take a look at the processes running on your machine to make sure there is no SQL2K running Remember, some applications embed MSDE and if this was installed as a default instance you'd hit a clash. No, most apps that embed MSDE install as a named instance to avoid this problem, but maybe it's some internally developed application.

    I grasping for something here as I've not heard of any other reports of the SQL2K5 setup misreporting the existence of a SQL2K instance.

    Cheers,
    Dan



  • netnovice

    Hi,

    I had the same problem due to a bad uninstall of a beta version. In my case, although all the sql server files had been removed there, was still a reference to the service in the registry. The solution was to

    1. Uninstall any bits of sql server that did get installed

    2. Remove C:\Program Files\Microsoft SQL Server although I think just removing C:\Program Files\Microsoft SQL Server\MSSQL.1 will suffice.

    3. Open regedit and delete the following keys:

    • HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSSQLServer
    • HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\MSSQL.1
    • HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\Services\SQL Server

    4. Reboot and then reinstall.

    Not sure if all of the registry keys need to be removed but this worked for me.

    Good luck,

    Dave Sparks


  • raouf

    Dave,

    Thank you very much.

    I had the same problem after migrating from XP Professional to Vista Home Premium. I tried a lot of thins for hours to uninstall SQL 2005 Standard, but kept getting the error of existing instance with same name. Changing the registry keys solved the problem.


  • Christian Stefanescu

    Dear Mr Sparks

    Thank you very much for your suggestion.

    Unfortunately I got to the point where I had run out of time for experimentation, so I have had to install a named instance and can not confirm for anyone else that this will work, however is does sound extremely promising.

    I have not convinced the chap from Microsoft why I do not really want to have a named instance, but in live environments I do like machines set up correctly. I am even more paranoid than normal in this instance as the server that we are installing on has a permanent internet connection. Hangovers from old installation can sometimes have unexpected side effects so I want to be sure that I am using SQL Sever 2005 not mostly 2005 with an odd bit of 2000.

    In the past we got caught when we upgraded from SQL Server 7 to SQL Server 2000 with a number of applications that were written in Access/VBA but used SQL Server as the database. It was the issue of Access returning -1 from SQL 7 and 1 from 2000 bit columns. If we have bits of SQL Server 2000 hanging around we might miss similar issues.

    Once more thank you for your assitance

    Yours sincerely

    Ian Smith


  • SQL Server 2005 Standard edition install fails; An instance with the same name.../