IIS7 FastCGITimeouts

I recently had a problem with FastCGI timeouts and IIS7. After a bit of poking around I fixed the problem by running:

%windir%system32inetsrvappcmd set config -section:system.webServer/fastCgi /[fullPath=’c:{php_folder}php-cgi.exe’].ActivityTimeout:XXXX

where XXXX was the new timeout value in seconds.

CVSup vs Portsnap

Portsnap is a system for securely updating the ports tree by distributing signed compressed snapshots. This is the client half of that system; it downloads compressed snapshots into /usr/local/portsnap (“portsnap fetch”) and uses those to extract a ports tree into /usr/ports (“portsnap extract”) or update an existing tree (“portsnap update”).

In addition to operating entirely over HTTP, portsnap can use under a tenth of the bandwidth required by CVSup if a copy of the ports tree is being updated every few days.

CVSup update of the ports tree in one minute

CVSup is a software package for distributing and updating source trees from a master CVS repository on a remote server host.

CVSup uses the so-called pull model of updating. Under the pull model, each client asks the server for updates, if and when they are wanted. The server waits passively for update requests from its clients. Thus all updates are instigated by the client. The server never sends unsolicited updates. Users must either run the CVSup client manually to get an update, or they must set up a cron job to run it automatically on a regular basis.

The term CVSup, capitalized just so, refers to the entire software package. Its main components are the client cvsup which runs on each user’s machine, and the server cvsupd which runs at each of the FreeBSD mirror sites.

CVSup’s operation is controlled by a configuration file called the supfile. There are some sample supfiles in the directory /usr/share/examples/cvsup/.

The fastest, and certainly not most efficent way but will “suffice”, method to get up and running is to reuse one of the example files found here: /usr/share/examples/cvsup/

(If you have not installed CVSup use the sysinstall pkg method.)

In this case as we want to update the ports tree this particular one called “ports-supfile”

Just edit the host value around line 49 to “*default host=cvsup99.FreeBSD.org” after pinging the hsot to see if it is up…

then run “cvsup /usr/share/examples/cvsup/ports-supfile” and wait for your tree to update.

Maemo: Pushing camera optics to a new level?

I like Maemo, it’s roots are solid, it is the underdog when viewed against Google and Apple. But most of all because Nokia are making some solid decisions. Nokia recently licensed Kodak’s imaging technology, which coupled with Carl Zeiss optics with improved low-light performance, should take image quality on phones to the next level. Maybe not a huge deal, but certainly noteworthy especially as my love of the iPhone is being seriously diluted by the monthly whack to my pocket.

Fyi: Dreamspark: Free Microsoft Software for Students just got better

Microsoft Dreamspark added some new applications to its arsenal of Microsoft designer and development tools that are targeted at budding professionals.

  • Expression Studio 3
  • Robotics Developer Studio 2008 R2
  • XNA Game Studio 3.1

have joined the ranks and are now available to any eligible high school and university students. Previous versions of these programs are no longer available for download from Dreamspark.

The Dreamspark offering as of now has 16 tools available:

  • Microsoft Visual Studio 2008 Professional Edition
  • Microsoft SQL Server 2008 Developer
  • XNA Game Studio 3.1
  • Microsoft CCR and DSS Toolkit 2008 R2
  • Microsoft Robotics Developer Studio 2008 R2
  • Windows Server 2008 Standard
  • Microsoft Expression Studio 3
  • Windows Server 2003
  • Microsoft Visual Studio 2005 Professional Edition
  • Microsoft Visual Studio 2005 Express Edition
  • Microsoft SQL Server Express
  • Microsoft Virtual PC
  • Microsoft Visual Basic 2008 Express Edition
  • Microsoft Visual C++ 2008 Express Edition
  • Microsoft Visual C# 2008 Express Edition
  • Microsoft Visual Web Developer 2008 Express Edition

In case you are not aware of it, the Microsoft Dreamspark program offers students around the world free software, and became available 02/2008 and opened up to high schools 03/2009 worldwide in over 100 countries.

How to: turn the left navigation in SharePoint into an accordion style one

Add this code to your master page. Add the Google JS to a local address if you don’t want to keep making remote calls. I’ve edited the code so that it will render on the page by changing:

  • “<" - "< "
  • “>” – ” >”

< type="text/javascript" src="http://www.google.com/jsapi">< /script >
< type="text/javascript">
// Load jQuery
google.load(“jquery”, “1.2.6”);
< /script >
< type="text/javascript">
//initialize menus
var menuRows = $(“[id$=’QuickLaunchMenu’] > tbody > tr”);
var menuHd = menuRows.filter(“[id!=”]:has(+tr[id=”])”);
//set img path for when submenu is hidden
var closedImg = “/_layouts/images/Menu1.gif”;
//set img path for when submenu is visible
var openedImg = “/_layouts/images/ptclose.gif”;
var cssInit = {
“background-image”: “url(‘”+closedImg+”‘)”,
“background-repeat”: “no-repeat”,
“background-position”: “100% 50%”
var cssClosed = {“background-image”: “url(‘”+closedImg+”‘)”}
var cssOpen = {“background-image”: “url(‘”+openedImg+”‘)”}
//hide submenus
//apply initial inline style to menu headers
menuHd.click(function () {
var styleElm = $(this).find(“td:last”)
var nextTR = $(this).next(“tr[id=”]”);
if (nextTR.is(‘:visible’)) {
} else {
< /script >

PerformancePoint: BI for the masses.

Microsoft wants to bring BI to the masses and based on customer feedback they decided to put it together with the next version of SharePoint. They have decided to consolidate the scorecard, dashboard and analytical capabilities from Office PerformancePoint Server into Microsoft Office SharePoint Server Enterprise and rebrand them as PerformancePoint Services for SharePoint. Overall an equally good and bad thing in my opinion.

  • Good, because it will allow people to use BI with their SharePoint environments.
  • Bad, because it will allow people to use BI with their SharePoint environments

More information here:

Exam 70-542: Study recommendations

Subject Link
Excel Services http://msdn2.microsoft.com/en-us/library/ms519581.aspx
Search No special recommendation. I had taken a class on search earlier this year and real-world experience carried me through. Work with the “search center” component of MOSS.
BDC http://msdn2.microsoft.com/en-us/library/ms563661.aspx
Audiences http://msdn2.microsoft.com/en-us/library/ms496822.aspx
Profiles http://msdn2.microsoft.com/en-us/library/ms496822.aspx
Content Mgmt http://www.sharepointblogs.com/tonstegeman/archive/2007/02/01/moss-custom-policies-part-1-creating-a-custom-information-management-policy.aspx



BI Hands-on working with KPI’s in MOSS.
Workflow http://msdn2.microsoft.com/en-us/library/aa830816.aspx
Info mgmt http://msdn2.microsoft.com/en-us/library/bb397403.aspx
Variations http://aspnetcoe.wordpress.com/2007/02/09/customize-variation-root-landing-logic/
Records mgmt http://blogs.msdn.com/recman/archive/2006/06/16/633393.aspx
Infopath http://msdn.microsoft.com/msdnmag/issues/06/08/infopath2007/default.aspx