Archive for November, 2009

Nov 17 2009

WSPBuilder Project Migration Errors

Published by under .NET,Programming

Today I tried migrating a Visual Studio WPSBuilder project from one machine to another.  The originating machine was 32bit Windows Server 2008 the destination machine was 32bit Windows Sever 2003 Standard.

To migrate the project I simply zipped the solution folder and copied it across to the destination machine, unzipped and opened in Visual Studio.

However, when I came to build the SharePoint solution file using the Tools -> WPSBuilder -> Build WSP, I got the following error in the output window:
“Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection”

When Googling the the error message the only result was on the WSP Builder CodePlex site and was about 64bit versions of the Cablib.dll assembly.  As neither of my machines is 64bit I figured this wasn’t the issue.

I’m not sure exactly what was causing the problem but this was the solution:

  • Open the project folder in Explorer
    • Delete the bin folder
    • Delete the obj folder
    • Delete the wsp file in the project folder.
  • Re-open the project in Visual Studio
    • Compile the project
    • Build the WSP (Tools -> WPSBuilder -> Build WSP)

After this everything was back to normal.

7 responses so far

Nov 03 2009

HowTo: Find WiFi Passwords In Snow Leopard

Published by under Technology

One of the neat features that I used frequently in MacOS X Leopard & Tiger was the ability to use the wifi connection tool to get the passwords for wifi networks that you have already connected to.  Being a consultant I am constantly hopping networks and using different devices (Laptop, iPhone, etc.), plus I also often get requests from family as to what their wifi passwords are.

This handy password re-call feature was removed from MacOS X Snow Leopard.  Once you entered a password in the wifi connection dialog box you couldn’t go back there to retrieve it.  This is probably a security measure, as it didn’t require the user to enter a password to get at the wifi password.

Well, I have just figured out how to get at them again.  All the wifi passwords are stored in your Keychain.  You can access the information using the Keychain Access application that is located in /Applications.

Wifi Keychain

You need to look in the System keychain, there you should find all the AirPort network passwords for all the wifi networks you have connected to.  Just double click on the one you want to see and click the “Show password” checkbox.  You will be prompted to enter your administrator password before being shown the wifi password in plain text.

Enjoy :-)

10 responses so far