Everything SharePoint and XAML

My continuous learning of SharePoint, XAML, Silverlight, Windows Phone 7, Windows 8, 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 | 1 Comment »

Links (12/28/2008)

Posted by Steve Pietrek on December 28, 2008

  1. Which views can be used when Creating an Alert?
  2. SharePoint Using event handler to make a column unique
  3. Dev Tip: Throwing SPExceptions
  4. The Long Running Operation Status list
  5. Why SQL Server 2008 with SharePoint
  6. Get domain\username instead of user full name?
  7. Creating a SharePoint List Parent / Child Relationship – Out of the Box
  8. MSDN SharePoint Classes 25 More SharePoint Class Documented On MSDN
  9. Custom Content Editor Web Part for SharePoint
  10. Logging levels in SharePoint and STSADM
  11. Installing Adobe PDF iFilter and registering the PDF Icon for SharePoint 2007 (Moss/WSS)
  12. Security Trimming a List View
  13. How To: Add/remove the action from EditControlBlock(ECB)
  14. Code snippet: Copy list data between sites programmatically
  15. Highlight SharePoint List rows conditionally
  16. SharePoint Record Management with RecordPoint

Posted in SPLinks | Comments Off

Links (12/21/2008)

Posted by Steve Pietrek on December 21, 2008

  1. Leveraging SharePoint as a Document Management System
  2. Records Management for Microsoft Office SharePoint Server
  3. Item-level permissions: ‘Only their own’
  4. Forcing the download of a SharePoint Document
  5. Color Picking in SPD
  6. Ensuring a Valid SPContext via Feature Activation
  7. Custom List Views and WSS 4.0’s XSLT-based List View
  8. Custom Field Types and WSS 4.0’s XSLT-based Field Type
  9. JQuery for Everyone: Cleaning Windows Pt1
  10. KPIs for Masses – Part 2 and Part 3
  11. Team-Based Development in Microsoft Office SharePoint Server 2007 – Part 2 – Building a development lab
  12. SharePoint on the iPhone
  13. Warm up your Project Server and SharePoint VPC in seconds!
  14. Announcing the CodePlex release of ShUIE (SharePoint User Interface Extender) - ShUIE is an addition to Microsoft SharePoint that allows a developer to inject JavaScript and CSS fragments depending on the context of the page being displayed. JavaScript and CSS injected can be optionally minified, and jQuery is included to increase functionality

Posted in SPLinks | Comments Off

Links (12/18/2008)

Posted by Steve Pietrek on December 18, 2008

  1. How to create custom navigation menu in SharePoint with XML data source
  2. Event Handler for Renaming List Item Attachments
  3. SharePoint 2007 (MOSS/WSS) – Adding header and footer in Word Document (.docx) with ItemAdded Event Receiver using OpenXML
  4. Images slideshow in SharePoint 2007 using jQuery
  5. Showing random images in SharePoint 2007 using jQuery
  6. JQuery for Everyone: Dressing-up Links Pt3
  7. SharePoint + jQuery = Stay Here Feature
  8. Article about improving the print experience using jQuery
  9. Getting values of internal properties in SharePoint 2007
  10. Displaying PDF icons in search results
  11. Save files from SharePoint document library to File System
  12. Announcing the WSRP Toolkit for SharePoint
  13. Top 25 Downloads For SharePoint On Codeplex
  14. Iterate SharePoint list items using SharePoint web service
  15. SharePoint 2007 Event Receiver and Enterprise Library: TargetInvocationException
  16. The December cumulative update for WSS V3 and MOSS 2007
  17. Documenting Your SharePoint Application Design-Part 1
  18. Announcing December Cumulative Update for Office SharePoint Server 2007 and Windows SharePoint Services 3.0
  19. SharePoint Automated Setup, Product Software Updates, and “Single-Click” Deployment
  20. SharePoint Slideshow Web Part
  21. SharePoint Best Practices Podcast with Jeremy Thake
  22. 100 SharePoint People to Follow on Twitter
  23. How to remove the rolloverimage of the toolbar
  24. Changing fields by code – common oversight
  25. CQWP, QueryOverride and Columns of type ‘User’

Posted in SPLinks | Comments Off

Links (12/14/2008)

Posted by Steve Pietrek on December 14, 2008

  1. An approach towards centralized web.config management in WSS/MOSS
  2. Modifying Open XML Documents using the SharePoint Object Model
  3. Site Collection-Safe CQWP XSL Links
  4. SharePoint jQuery deployment feature
  5. Discover SharePoint Context within an Integrated SSRS report
  6. Display PDF document in SharePoint
  7. People Search Content Editor Web Part
  8. The Best Free SharePoint Downloads
  9. DevExpress’ SharePoint Control Demo Site
  10. STSADM Command – What is using my Content Types?
  11. PowerShell Dispose-All

Posted in SPLinks | Comments Off

Links (12/11/2008)

Posted by Steve Pietrek on December 11, 2008

  1. Unit testing MOSS part 2 (of 2)
  2. SharePoint WebPart Versioning
  3. UrlAction Tokens of the CustomAction Feature
  4. Implementing LINQ Where for SharePoint
  5. Implementing LINQ Select for SPWebCollection
  6. Is it a good idea to use lambda expressions for querying SharePoint data?
  7. User Profile MySite Redirect via Delegate Control
  8. Using User control (Web service call ) in SharePoint Web part
  9. Office 2003 documents opening as “read-only” from MOSS 2007 document libraries
  10. PDF iFilter Battle! FoxIT vs.. Adobe, 64bit version
  11. SharePoint Feature to Provision Robots.txt File
  12. Change an item content type with a SQL Query
  13. PowerShell SharePoint deployment scripts
  14. Developing a Deployable App to Access SharePoint Information – Part Two
  15. 64-bit PDF iFilters Update
  16. Web Part Error : Cannot deserialize the Web Part
  17. Deploying WebParts with a DelegateControl
  18. SharePoint 2007 (MOOS/WSS) – Custom CAPTCHA (Antispam) Field
  19. Create a SharePoint AJAX-refreshable Web Part which wraps an ASP .NET Chart Control
  20. Add Web Parts to DispForm, EditForm or NewForm.aspx
  21. JQuery for Everyone: Print (Any) Web Part
  22. New Tool for Evaluating Your Site: Now you can’t say you didn’t know
  23. How to place an other icon in front of the add new link
  24. JQuery for Everyone: HTML Calculated Column

Posted in SPLinks | Comments Off

Links (12/7/2008)

Posted by Steve Pietrek on December 7, 2008

  1. **** Best practices: SharePoint Timer Jobs
  2. **** The New Definitive SPSite/SPWeb Disposal Article
  3. **** Disposing SPWeb and SPSite objects
  4. Reorder SharePoint list fields from code
  5. Getting started with custom SharePoint Event Receivers
  6. Read Word Document Properties from SharePoint property bag
  7. SharePoint 2007 (MOSS/WSS) – how to remove “Download a Copy” context menu from a Document Library
  8. Programmatically setting the default value of a SPFieldBoolean field
  9. Finding all the roles of group for user with Reader by using Elevated Privileges

Posted in SPLinks | Comments Off

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 | Comments Off

 
Follow

Get every new post delivered to your Inbox.