Tuesday, November 30, 2010

Setting content expiration on IIS 7

See also Mike Knowles post on SharePoint IIS Content Expiration settings.
On IIS Manager, click on the site under the "Sites" folder.
Expand to show the subfolders under the site.
Click to select the subfolder you want to modify.
Go to Features view on the main panel.
Open the "HTTP Response Headers" feature.
Under "Actions" on the right column, click on "Set Common Headers..."
You should see the content expiration settings in the popup ("Set Common HTTP Response Headers") that appears.

Thursday, November 18, 2010

Error: "Could not load file or assembly ... or one of its dependencies. The system cannot find the file specified."

Created a class with common functions and included it in a SharePoint solution.  Deployed successfully.  But when browsing a page on the site it gets the "could not load file or assembly..." error.  The class dll isn't getting in the GAC.  Got the solution from this stackoverflow thread:
Add an Assembly element for the missing dll into the manifest.xml by double-clicking on Package.package on Visual Studio, going to the "Advanced" tab, and adding the assembly.

Wednesday, November 17, 2010

Site columns deployment error

Was getting this VS deployment error on a SharePoint 2010 solution:
"Error occurred in deployment step 'Activate Features': The field with Id {guid1} defined in feature {guid2} was found in the current site collection or in a subsite."

Found that workaround #1 from this article worked for me.

Tuesday, October 19, 2010

Converting a virtual drive from Virtual PC (.vhd) to VirtualBox (.vdi)

I wanted to make a copy of a Windows 7 virtual drive.  It was created with Virtual PC (.vhd) and had been running under VirtualBox as-is.  Can't make a simple copy because the Virtual Media Manager will complain about duplicate UUIDs.  So might as well convert it into VirtualBox's .vdi format--the process will also generate a new UUID.  Use the CloneVDI tool.

Sunday, October 17, 2010

Team Fortress 2 Crafting Blueprints

The TF2 Backpack Examiner page provides a great summary of crafting blueprints.  Hover over the images to see the name and description of each item.