Dev Guy

Dev Guy

Tuesday, May 10, 2011

SharePoint Demo Image gets error message “IE cannot display web page” for all sites

Goal 
You need to demo SharePoint 2010. You have downloaded the SharePoint Value Pillars 2010 Demo vhd to do this.     
Environment
 Windows Server 2008 R2 with Hyper-V installed.
Issue
           You follow the instructions to install this image. Once complete you can load the admin page http://demo2010a:2010 but any other site will not load on the image. You get the generic error message the Internet Explorer cannot load the web page.
            The instructions basically have you create a internal Network connection so that the box is not exposed to the network.  

Resolution
            The instructions for install of the virtual image have you setup a network connection that goes nowhere for the image. They have you name it internal and give it a bogus ip address.  They have you change the network connection for the image to the internal connection.    
         To get around this issue I
1)      changed the network connection of the image to the network card.
2)      On the image itself I went into the network connection and change the ip to my new address. I assigned a free address.  
3)      Assigned dns server and wins server to the same ip address (The image is its own domain, dns and wins). 
4)      Finally I went into DNS, changed the Host Ip, reloaded and restarted.

Change the Network Connection:
            Open Hyper-V Manager. Click on the image (Demo2010a) and click on settings. Click down to the Network Adapter (see Image). Use the drop down to change the setting from internal to what you actual network card is.


On Actual image change ip addresses:
            Click on Start. Right Mouse on Network. Click on the Local Area Connection 3.
Click on properties button. Select Internet Protocol Version 4. Click on properties button.
Change IP Address, sub net and dns server (See Image)

Click on advanced and change DNS and Wins Sever (See Image)


On DNS change Host Address:
            Click on Start. Click on Administration Tools. Click on DNS.  Under Forward Lookup find Host Record and change ip address (See Image).

Right Mouse on contoso.com and select all tasks then reload.
Go to top of tree and select right mouse then restrart.

Conclusion 
            The instructions of the installation of the VHD image for SharePoint 2010 seems to go to great length to preserve internal ip addresses when that isn’t necessary. Just change it in all the right places and the image will work fine.

2 comments:

  1. Thanks for the article. Exact problem I had with a fresh install of the VHD using VirtualBox. Same problem to a tee.

    Just to clarify for anyone else having an issue with getting it to work with VirtualBox, don't worry about setting up or using a VirtualBox Network. Just select the Bridged Adapter and use your host adapter. Then inside the VM use an IP address in the range of you network as per the above instructions. This has the obvious issue of having the VM connected to the Internet but...

    I spent hours on this. There are a few articles out there but this was exactly my issue (and solution)

    Thanks again.

    ReplyDelete
  2. Awesome. This had me scratching my head and my errors differed from other folks posts too. Thats why I posted it. Save people some time. Your welcome.

    ReplyDelete