Everything SharePoint/Silverlight

My continuous learning of SharePoint, Silverlight, Office, VSTO, C#…

Archive for December, 2008

Access Guest Virtual Machine from Host

Posted by Steve Pietrek on December 29, 2008

Typically I have no need to access my guest (Windows Server 2008) virtual machine from the host (Vista Business). I have all my applications and tools in the virtual machine. Getting ready for a demo today; however, I ran into issues where I could not upload a PowerPoint slide deck to a slide library. After I selected my slides, I would receive an error that the site was not accessible because it was not present or I did not have the correct rights. What??? The site url was valid and I was logged in as the system administrator but no dice. Thinking the problem was similar to the InfoPath issue not having a site at the root, I created a blank team site at the root (instead of under sites) but that did not work either. No errors in the event log nor in the SharePoint logs. Oh well, need an alternative. How about uploading the slide deck from the host?

Below are the steps I ran through to get this working. I am running VMware Workstation 6.5.1 build 126130:

  1. Open your virtual machine’s settings and set the Network Adapter to NAT.
  2. Install BGInfo to get the correct IP Address in your guest virtual machine. I ended up using the Default Gateway IP address.
  3. Open a Command Prompt, as an administrator, and ping the IP address to ensure you have the correct one.
  4. Open the hosts file in the C:\Windows\System32\Drivers\Etc folder in a Command Prompt. Since I am running Vista Business as my host OS, I need to run the Command Prompt as an administrator. Add the guest’s IP address to the hosts file and save the file.
  5. Open you guest’s Firewall settings. You will need to add the port which you are currently running the SharePoint site. Although I don’t run any sites under port 80, if memory serves me, you do not need to add the port if you want to access port 80.
  6. Test the URL in the host.

Posted in Infrastructure | Leave a Comment »

Links (12/28/2008)

Posted by Steve Pietrek on December 28, 2008

Posted in SPLinks | Leave a Comment »

Links (12/21/2008)

Posted by Steve Pietrek on December 21, 2008

Posted in SPLinks | Leave a Comment »

Links (12/18/2008)

Posted by Steve Pietrek on December 18, 2008

Posted in SPLinks | Leave a Comment »

Links (12/14/2008)

Posted by Steve Pietrek on December 14, 2008

Posted in SPLinks | Leave a Comment »

Links (12/11/2008)

Posted by Steve Pietrek on December 11, 2008

Posted in SPLinks | Leave a Comment »

Links (12/7/2008)

Posted by Steve Pietrek on December 7, 2008

Posted in SPLinks | Leave a Comment »

Links (12/4/2008)

Posted by Steve Pietrek on December 4, 2008

  1. SharePoint Downloads
  2. OneNote and SharePoint – the basics
  3. SmartTools.DockNavigation: Cool SharePoint Navigation using jQuery
  4. Unit testing MOSS part 1 (of 2)
  5. Moss 2007 StsAdm Reference Poster by Microsoft
  6. Enumerating items counts in lists
  7. Infopath Item Level Security
  8. Access denied or Cannot complete this action error message when you try to connect to a Windows SharePoint Services Web site
  9. How to add a new list item to SharePoint using the List Item web service
  10. Adding a Second Global Navigation to Pages in SharePoint
  11. The Link Conductor
  12. Using Flash to display data from SharePoint
  13. Best Practices for SPList access and Web Part development
  14. SharePointDevWiki.com comes alive
  15. The file is currently checked out or locked for editing by another user
  16. SharePoint Quick Start FAQ Part 1
  17. Using scripts to automate SharePoint Server 2007 installation
  18. Creating List definitions with content types
  19. Hyper-V SharePoint Development Image: USB 2.0 vs. eSATA vs. C: shootout
  20. SharePoint – It’s all about making the right choices and decisions – Part II – One or multiple site decisions
  21. Creating a custom SharePoint Lookup field – making it multivalued
  22. Adding a link to the site in SharePoint search results
  23. Emptying a verrrrry large SharePoint recycle bin
  24. Dumping the RAW CQWP Query Results (or How To Change the ContentQueryMain.xsl)
  25. SharePoint Policies in PowerShell
  26. Customizing High Confidence Search Result for People search in MOSS 2007
  27. Use a Microsoft Asp .Net Chart Control in a SharePoint Web part
  28. Take Advantage of Lambdas with RunWithElevatedPrivileges
  29. Best Practice: Don’t Iterate SPListItems for IQueryable Support
  30. Thing that should or should not be done to SharePoint admin account
  31. 3D Silverlight Charts in SharePoint: SmartTools.Charts

Posted in SPLinks | Leave a Comment »