Archive | SharePoint 2010 Virtual Machine RSS feed for this section

Import error on demo SharePoint 2010 VHD


I was trying to import SharePoint 2010 VHD file to my HyperV following the instruction from

http://channel9.msdn.com/Shows/SharePointSideshow/Setting-Up-a-SharePoint-Developer-Virtual-Machine but it failed.

 

This is what I did

1. Clicked on Import Virtual Machine

Import Virtual Machine, HyperV

 

2.  Selected “ Copy the virtual machine (Create a new unique ID) and browse to the location where I had the file

Import Virtual Machine, HyperV

I got error message saying ..

Import failed. Unable to find virtual machine import files under location ‘C:\HyperV\SharePoint2010\’. You can import a virtual machine only if you used Hyper-V to create and export it.

 

To resolve the problem, I went through new virtual machine creating wizard

http://virtualizesharepoint.com/2010/12/15/step-by-step-guide-to-create-window-hyper-v-virtual-machine-for-sharepoint-testing-environment/ and this worked.  Now I can start the SharePoint 2010 VHD

CRC failed in 2010-7b\Virtual Hard Disk\2010-7b.vhd


I am in the process of setting up SharePoint 2010 for testing purpose and I download the 2010 Information Worker Demonstration and Evaluation Virtual Machine (RTM) from

http://go.microsoft.com/?linkid=9728417

 

When try to extract the files I got “CRC failed in 2010-7b\Virtual Hard Disk\2010-7b.vhd” , I try to download the files again and again but still failed and not sure which files are corrupted.   After spending time searching for a solutions I found this.

To check SFV file i downloaded the http://www.traction-software.co.uk/SFVChecker/

I download this tools and checked my folder where I am keeping the downloaded files, this is what I got.

 

SharePoint 2010 VHD SFV Checker

2010-7a.part15.rar is having some problem. I downloaded that file again and now I am able to extract the files and get the VHD.

Internet from hyper-V Machine and External networking in Virtual Machine‎


My current environment is this but having problem getting internet access to SharePoint Front End and Back End servers. Since I am using blade server, it’s only have one NIC
SharePoint-TestingEnvironment-HyperV

 

This is what I have to do to get internet connect to each Virtual Machine

1.  Open Virtual Network Manager

VirtualNetworkManager-HyperV-1

 

2. Add a Internal Virtual Network

HyperV-InternalNetwork

 

3. I am calling this as Internet network and you also need to check Internal only

HyperV-Internal-Virtual-Properties

 

4. Go your network properties  and enable “ Allow other network users to connect through this computers internet Connection.

NetworkProperties-AllowOtherNetork

 

5. Now go to your Virtual Machine and if it’s not connected just click on Connect and it should connect you to internet

VirtualMachine

SharePoint 2010 Developer Training Course


  • Getting Started with SharePoint 2010

    Getting Started with SharePoint 2010

    Welcome to the SharePoint 2010 learning center. SharePoint 2010 includes numerous new capabilities and features for professional developers. In this welcome video you will hear from some of the team members behind the training kit to understand what the kit is all about and what are plans are for…

  • SharePoint 2010 Developer Roadmap

    SharePoint 2010 Developer Roadmap

    SharePoint 2010 includes numerous new capabilities and features for professional developers most of which are highlighted in this unit. SharePoint 2010 makes developing those solutions easier, quicker, and more flexible. Much of the work that the developer had to do in the past with earlier versions…

  • Visual Studio 2010 Tools for SharePoint 2010

    Visual Studio 2010 Tools for SharePoint 2010

    This unit will provide you with an overview of SharePoint development with Visual Studio 2010. Specific topics covered will include an overview of the project and item templates, a walkthrough of the designers included, and areas of extensibility within Visual Studio 2010 that can enhance SharePoint…

  • UI Enhancements

    UI Enhancements

    The look and feel of SharePoint has radically changed from earlier versions of the product. In addition to being more accessible to the user it allows for improved extension points and fewer workarounds. The new user interface components that you can extend and build applications which include the…

  • Lists and Schemas

    Lists and Schemas

    In a typical system data is somewhat normalized – not all of the system’s data exists in one large table or list. Instead data exists in sets of tables or lists which have one entry for each entity across multiple tables.

  • LINQ to SharePoint

    LINQ to SharePoint

    LINQ is a new data access paradigm which allows users to express SQL like syntax against a variety of data sources. LINQ can improve performance by allowing the back end data source to decide the best way to solve the query. SharePoint now fully supports LINQ for querying lists so that you can query…

  • Client Object Model

    Client Object Model

    In SharePoint 2010 there are a number of object models that can be used by developers to access the server. The Client Object Model (Client OM) is a unified model which uses the same or similar programming concepts as the Server Object Model (Server OM). The Client OM can be accessed via web…

  • Workflow

    Workflow

    In SharePoint 2010 you can associate workflows with a site so you need not associate a workflow instance with a specific item in a list. Site-level workflows are a powerful mechanism to create generic functionality using the power of Windows Workflow Foundation (WF).

  • Services Architecture

    Services Architecture

    In this session we will discuss the new Service Architecture model for SharePoint 2010. In SharePoint 2010 the Service platform has been re-written with a new more scalable and flexable architecture.

  • Accessing External Data

    Accessing External Data

    In SharePoint 2010 Business Connectivity Services (BCS) enables integration with back end systems. Business Connectivity Services includes a set of presentation features, a connectivity framework and tooling within SPD and Visual Studio that enable developers and ITPros to connect to external data…

  • Enterprise Content Management

    Enterprise Content Management

    From a free form Wiki to a highly controlled intranet or internet site, learn about all of the new Web Content Management features in SharePoint 2010. This session will cover enhancements to the core authoring UI, publishing infrastructure, the content query webpart, and content deployment.

  • Extending Search

    Extending Search

    This session will provide an overview of the enterprise search product line in SharePoint 2010. We’ve brought together the best of SharePoint Search and FAST ESP, resulting in the most complete enterprise search product line in the industry. In this session we’ll talk about our overall strategy for…

  • PerformancePoint Services

    Performance​Point​Services

    There has been considerable investment in the Business Intelligence capabilities of SharePoint 2010. From new product capabilities like balanced scorecards, interactive dashboards, and line of business integration to improvements in Excel rendered content with Excel Services, improved and new…

  • Sandboxed Solutions

    Sandboxed Solutions

    SharePoint 2010 adds a new deployment model for SharePoint called Sandboxed Solutions. It is a controlled solution packaging format that offers SharePoint Server Farm owners a way to easily mitigate risk that custom code will cause issues for them. It does this by restricting the API’s that can be…

  • SharePoint 2010 Security

    SharePoint 2010 Security

    SharePoint Server 2010 incorporates a new, more powerful and flexible authentication model that works with any corporate identity system, including Active Directory® directory services, LDAP-based directories, application-specific databases, and new user-centric identity models such as LiveID. This…

  • Business Intelligence

    Business Intelligence

    There has been considerable investment in the Business Intelligence capabilities of SharePoint 2010. From new product capabilities like balanced scorecards, interactive dashboards, and line of business integration to improvements in Excel rendered content with Excel Services, improved and new…

  • SharePoint 2010 Best Practices

    SharePoint 2010 Best Practices

    SharePoint 2010 is a very large product with many options. This can be challenging for developers to understand what the best way to accomplish a given task is. In this unit you will learn about some the most common best practices are for developers who are new to SharePoint.

  • Building a SharePoint 2010 Virtual Machine

    Building a SharePoint 2010 Virtual Machine

    SharePoint development requires that you develop on the same machine in which SharePoint is installed. Many developers choose to use Hyper-V VHDs to host their development environment. In this unit you will learn how to build a SharePoint 2010 development on a Hyper-V virtual machine.

  • Upgrading Custom Solutions

    Upgrading Custom Solutions

    Microsoft SharePoint Foundation provides new members that make it possible for you to upgrade custom Features through versioning and declarative upgrade actions. In this unit you will learn how to leverage the new feature upgrade capabilities in SharePoint 2010.

  • Upgrading VSeWss Solutions to SharePoint 2010

    Upgrading VSeWss Solutions to SharePoint 2010

    Today there are many solutions written using the Visual Studio for WSS (VSeWSS) tool. This tool was one of the tools that developers used to build SharePoint 2007 applications. In this unit you will learn about how to upgrade your existing SharePoint 2007 applications to SharePoint 2010.

Setting Up a SharePoint Developer Virtual Machine


It’s easy to get started with SharePoint 2010 development using the Information Worker Virtual Machine (VM). In this episode, you will learn all of the tips and tricks to get the VM up and running.

The Information Worker virtual machine is a Hyper-V based VHD file that has everything you need to build SharePoint solutions already installed. The VM includes Office 2010, SharePoint 2010, Visual Studio 2010, Exchange 2010, and more. In fact, this is the VM that we use for all of the SharePoint and Office training and Hands-On Labs on Channel 9.

http://channel9.msdn.com/Shows/SharePointSideshow/Setting-Up-a-SharePoint-Developer-Virtual-Machine

Step by Step Guide to Create Window Hyper-V Virtual Machine for SharePoint testing environment


I am in the process of creating SharePoint 2010 farm in HyperV environment for testing purpose. I already installed Windows 2008R2 server and configured HyperV.   I am going to create two virtual machine. One is SharePoint Front End and the other one will be SharePoint Back End server which is going to run Windows 2008 R2 and MS SQL Server 2008

SharePoint-TestingEnvironment-HyperV

Here is the step by step instruction how to create Virtual Machine and Install Windows Server 2008 R2. In my next blog, I am going to document how to install SharePoint 2010

 

1. Before I start creating virtual machine, I created a folder in my root so that I can better manage vhd files
In this case, I created a folder in C:\HyperV\SharePoint-FrontEnd

Create a folder for HyperV files

 

2. Create a new Virtual Machine

Create a Virtual Machine in HyperV

 

3. New Virtual Machine Wizard will start, Click Next

Before-You-Begin-HyperV

4. Specify Name and Location. In this case, I am naming as SP-FrontEnd and I selected store the virtual machine in a different location.  Since I created the folder in C:\HyperV\SharePoint-FrontEnd, this would be my location where I am going to store the files.

Specify-Name-and-Location-HyperV

 

5. Specify the amount of memory to allocate to this virtual machine.

Assign-Memory-HyperV

6. Click on the drop down and select the network adapter

Configure-Networking-HyperV-

7.  Configure Virtual Hard Disk – In this case, I am creating a new virtual hard disk. If you have an existing virtual hard disk, you can select “Use an existing virtual hard disk”

Connect-Virtual-Hard-Disk-HyperV

8.Install options for new virtual machine. I am going to install an operating system from a image file. I already have a Windows 2008 server image file sitting in my C drive. I am going to browse and select the file

HyperV Installation Options

 

9.  Completing the new virtual machine wizard. This is the summary of  your virtual machine configuration

Completing the new virtual machine wizard

10. Now you can see your new virtual machine and just click on “Start” to start your new virtual machine and double click on your server to see the Windows Installation.

Starting HyperV machine and install SharePoint

 

11. You can see your machine start to install Windows

 
Windows 2008R Installation

Hyper-V launch failed; No-execute (NX) or DEP not enabled on processor 0×0 (check BIOS settings)


image

Most of the machines have "Virtualization" Disabled by default in their BIOS. So the first thing you have to do is to make sure Virtualization is Enabled or turned on in BIOS setting.

System BIOS

The system BIOS must support the following:

  • The virtualization technology included in the main processor, and it must be enabled.
  • Hardware-enforced Data Execution Prevention (DEP), and it must be enabled.

You must enter the BIOS setup of the server and make sure that “Virtualization Technology” and “Execute Disable” are both set to Enabled.  In most cases, the required BIOS settings can be found in these BIOS sections (actual names may differ, based upon your server’s BIOS settings):

  • Security > Execute Disable (set to On)
  • Performance > Virtualization (set to On)
  • Performance > VT for Direct I/O Access (set to On)
  • Performance > Trusted Execution (set to Off)

Please see the video: http://go.microsoft.com/fwlink/?LinkId=163578

If your still having problem, check the following

1. Start | Computer | Properties

Windows 2008R2 System Properties

2. Click on Advanced System Settings

WIndows 2008R2 Advanced Settings

3. Click on Settings under Performance 

Performance Settings in HyperV

4. On Data execution Prevention , if your a seeing the message “ Your computer’s processor does not support hardware-based DEP” you may not able to run virtual machine.  Go back to your BIOS and check it again.

Data Execution Prevention, Hyper V Settup

The virtual machine could not be started because the hypervisor is not running


image

Most of the machines have "Virtualization" Disabled by default in their BIOS. So the first thing you have to do is to make sure Virtualization is Enabled or turned on in BIOS setting.

System BIOS

The system BIOS must support the following:

  • The virtualization technology included in the main processor, and it must be enabled.
  • Hardware-enforced Data Execution Prevention (DEP), and it must be enabled.

You must enter the BIOS setup of the server and make sure that “Virtualization Technology” and “Execute Disable” are both set to Enabled.  In most cases, the required BIOS settings can be found in these BIOS sections (actual names may differ, based upon your server’s BIOS settings):

  • Security > Execute Disable (set to On)
  • Performance > Virtualization (set to On)
  • Performance > VT for Direct I/O Access (set to On)
  • Performance > Trusted Execution (set to Off)

Please see the video: http://go.microsoft.com/fwlink/?LinkId=163578

 

If your still having problem, check the following

1. Start | Computer | Properties

 

Windows 2008R2 System Properties

2. Click on Advanced System Settings

WIndows 2008R2 Advanced Settings

3. Click on Settings under Performance 

Performance Settings in HyperV

 

4. On Data execution Prevention , if your a seeing the message “ Your computer’s processor does not support hardware-based DEP” you may not able to run virtual machine.  Go back to your BIOS and check it again.

Data Execution Prevention, Hyper V Settup

 

If the configuration are good in BIOS, you should see this

Supports Hardware-based DFP

Microsoft Virtualization Solutions – Free eBook


Free E-Book Offer: Microsoft Virtualization Solutions

Learn about the latest Microsoft Virtualization technologies, including Hyper-V and Windows Azure. Sign in and download Understanding Microsoft Virtualization R2 Solutions, written by industry expert Mitch Tulloch along with the Microsoft Virtualization team.

Original Publication Date: 10/21/2010


Follow

Get every new post delivered to your Inbox.

Join 109 other followers