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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 82

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.
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.


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.

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

 Watch the Recording: Learning MySQL 5.7

MySQL 5.7 has a lot of new features. If you've dabbled with an older version of MySQL, it is definitely worth learning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

630 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