A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

Important Notes on Troubleshooting .NET HTTP applications on the localhost.

This is from the fiddler website at:

Note: Important: Regardless of other settings, .NET will always bypass the Fiddler proxy for URLs containing localhost. So, rather than using localhost, change your code to refer to the machine name. For instance:

This URL will not appear in Fiddler:


This URL will appear in Fiddler: […]

Restore a MSSQL Database From A Network Drive

If you need to restore a SQL Database from a .BAK file that is stored on a network drive. Here is the script you can use to do it.

restore database DB_NAME from disk=’\\Server_Name\Backup_Folder\Backup_File’ with move ‘DB_NAME_Data’ to ‘C:\Path_To_MDF_File\DB_NAME.mdf’, move ‘DB_NAME_log’ to ‘C:\Path_To_LDF_File\DB_NAME.ldf’

Make sure to edit the fields to the correct names and paths […]

Death to Winzip!

At work I spend a decent amount of my day working with other peoples servers. Part of what I do requires me to extract hundreds or thousands of files from simple zip archives. On a new Windows Server 2003 or Windows Servers 2008 box this is no problem. However on servers this is difficult. Some administrators steeped in tradition still continue to download trial version of WinZip to their systems. These people do not seem to have caught on that Microsoft heard the message loud and clear years ago that a builtin zip solution was needed. The trial version of WinZip works great for the first few times it is used but then it wants you to register. It takes over all the archive extension associations and won’t let you use the builtin Zip handling. I am continually asking people to remove WinZip so that I can quickly and easily extract files.

For any administrators out there that read this let me suggest a few alternatives to the WinZip trial.

Built-In Zip Archive solution -¬ Windows XP, Vista, 7, 2003 & 2008 all include built-in support for server creating, modifying and extracting files from zip archives.
7-zip¬ – 7-zip is a wonderful FREE zip solution. Check it out.

Active Directory Logon Server

The Windows environment variable %LOGONSERVER% keeps the name of the server your PC used to the Active Directory with.

Applescript Notes

There are other variables available with system attribute: “HOME”: posix path to users home directory “SHELL”: posix path to users shell “USER”: users short name “LANG”: user system language as two-letter code e.g. “en_US” “PATH”: content of the PATH variable “__CF_USER_TEXT_ENCODING”: Don’t know the meaning of this


Netscape 7.2 Fix

Ok so there is the new IDN buffer overflow hole that has been discovered in all Mozilla products. I have played with it some and found that thankfully the same temp patch they released for FireFox 1.0.6 works for Netscape 7.2. The information page that contains the patch is located here: It also contains […]