Installing SQL 2008 R2 in a Hyper-V environment

Posted on 2012-03-21
Last Modified: 2012-03-29
I've recently installed Windows 2008 R2 Enterprise and created a virtual server within with Windows 2008 R2 Standard. I've installed all of the necesarry roles required for SQL. I created my SQL service accounts. When I go to install SQL 2008 R2 I get the below error and of course there is no information when I click the link.

TITLE: Microsoft SQL Server 2008 R2 Setup

The following error has occurred:

External component has thrown an exception.

For help, click:


Question by:ISCBrussels
  • 4
  • 3
LVL 78

Expert Comment

by:David Johnson, CD, MVP
ID: 37751837
Installing in a virtual environment is identical to installing in a real environment. In the precheck do you get any warnings or errors? What type of install are you trying to do?

Expert Comment

ID: 37752641
Please confirm if you have a normal (release) or a debug build of the Windows Server 2008 R2 OS.
This error could be related to installing SQL in a debug version of Windows.

Author Comment

ID: 37764641
I installed an MSDN membership free license of Server 2008 R2. I thought installing it in a virtual environment would be the same as a normal environment but the error is still odd. I've tried adding all the possible memory and processors to the virtual machine to see if that was causing the problem but no luck.

I had no errors on the pre-check before SQL tried to install, that's what makes it even more confusing.

Author Comment

ID: 37764850
Today I tried installing SQL developer instead of the Standard version to see if it made any difference but nope, same errors. I've included some screen shots of what I'm getting. Maybe it will be some sort of clue. I'm probably missing something simple but I don't have previous experience with installing SQL 2008 R2 and even less in a Hyper-V environment. Any help would be very much appreciated.
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline


Expert Comment

ID: 37765527
Dear ISCBrussels,
Exactly, I think that the problem is the build of the OS. You have downloaded a checked build (debug build) from MSDN.
Please run "regedit.exe" and go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
Please let me know the values of the key BuildLabEx, and if you can see something like "checked" or "debug" in any other key in that branch.

Author Comment

ID: 37765625

and it has multiprocessor checked.

Accepted Solution

CarlosDominguez earned 500 total points
ID: 37765709
Exactly. the "chk" letters, and then "multiprocessor checked". Checked means debug version of the operating system. This is the reason of the problem you are having with SQL Server 2008 R2.

If you could install using a new media of Windows Server 2008 R2, then you will solve the problem.
I don't know if there could be any other way to avoid the error.

Expert Comment

ID: 37765741
Unfortunately, cross-build type in-place upgrades (for example, fre to chk or chk to fre) are not supported. You have to do a clean install.

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

The new Microsoft OS looks great, is easier than ever to upgrade to, it is even free.  So what's the catch?  If you don't change the privacy settings, Microsoft will, in accordance with the (EULA) you clicked okay to without reading, collect all the…
When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
Viewers will learn the different options available in the Backstage view in Excel 2013.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now