SQL Server 2008 Setup - Object reference not set to an instance of an object
Receive an error "Object reference not set to an instance of an object" when attempting to install the setup support files. I am attempting to install SQL Server 2008 Standard along side SQL Server 2005 on Vista Ultimate. According to "Programs and Features", I do not have any SQL Server 2000 client tools installed.
Upvotes: 2<=-=Mar 6 2009 8:40AM=-=>
We would like to investigate this issue – can you please provide your log files?
Logs: programfiles\Microsoft SQL Server\100\Setup Bootstrap\log
Amy Lewis<=-=Mar 6 2009 12:06PM=-=>
I attached a series of log files. Those dated 3/06 are probably not ones to use to evaluate this particular issue. I found some registry and program hacks and a potential work around on other posts and those two sets of files are going to reflect those changes.
I did end up actually installing the SQL Server 2000 client tools, then uninstalling them through the SQL Server 2000 setup uninstall facility. I think that would have been the ultimate fix, however I had already done a few of registry hacks. I fear all of this hacking around has taken a heavy toll on my 2k5 instance. Not real happy about that, but we’ll see how it turns out.
For what it’s worth, I did get the install to proceed past the error point, but got hung up on not having VS2008 SP1 installed. I wish the SQL Server install would have let me know I need VS2k8 SP1 before I got that far into the install. Now, I’m installing that SP.
I would imagine the 2k8 install will proceed nicely.<=-=Mar 11 2009 10:57AM=-=>
I’ve resolved your bug as a duplicate of a known issue. You can work around this issue by adding
to the Microsoft\Microsoft SQL Server\80\Tools\ClientSetup\CurrentVersion registry key.
Amy Lewis<=-=May 20 2009 3:46PM=-=>
Has this issue been solved? Adding the VersionString and Language registry keys did not solve my problem.<=-=Sep 24 2009 6:53AM=-=>
I tried this fix and then got this error. I double checked that I used the correct values listed above.
TITLE: SQL Server Setup failure.
SQL Server Setup has encountered the following error:
Version string portion was too short or too long..
The Language value should be a DWORD, not a string. And you should select the option for “Decimal”, NOT “Hexadecimal” and enter 1033
So if you get this error
“SQL Server Setup has encountered the following error:
Version string portion was too short or too long."
…then follow the above article’s method 2.
Note that I posted that comment only as a clarification since the MS rep did not specify these details. However, even after adding these registry values I am still experiencing the “Version string portion was too short or too long”