Friday, April 24, 2009

Streaming Flash Video in 2003 (IIS6)

I don't know how many times I've come across this problem and remembered what the issue was, but not the solution. Scenario: Windows 2003 with IIS6. You have a page with an fla file that plays an flv video, but the video won't show up. Issue: IIS is missing the correct MIME type for FLV videos. Solution:
Open IIS Manager on the server:
  1. Expand the Local Computer Server.
  2. Right mouse click and choose 'Properties' of the local server
  3. Select the MIME Types tab.
  4. Click the 'New' button and enter the following:
    Associated Extension box: .FLV
    MIME Type box: flv-application/octet-stream
  5. Click Ok and restart IIS.
Update: This same solution can be used if the file you are streaming is an mp4 file. Mime type: video/mpeg

Monday, April 20, 2009

Expanding a Virtual Drive in VMWare Workstation

David Merrick and I ran into an issue today growing a windows 2003 WMWare disk partition running on VMWare workstation. Apparently, you cannot use the GUI tools in Workstation to increase the size of vmdx files. However, you *can* use the command line:

vmware-vdiskmanager -x 12GB “Windows Server 2003 Standard Edition.vmdk”

Where 12GB is the new size of the disk. Make sure you do this from the VMWare Workstation install directory.

Check out David's blog post on this for more details. After that, we used PMagic to inflate the partition to the new drive size.

Thursday, April 16, 2009

Can't Undo in Dreamweaver CS3

A few days ago Dreamweaver CS3 stopped allowing me the ability to undo things whether I was in code view or design view. I thought maybe restarting DWCS3 would fix it, but to no avail. I did some googling and found a post where people were saying you needed to delete the FileCache.dat file in the Macromedia application data folder for the user having the issue. This information did not hold so true for DW CS3, but it did lead me down the correct path.

My solution was to close DW and navigate to:

C:\Documents and Settings\<user>\Application Data\Adobe\Dreamweaver 9\Configuration

In there I found a file named: WinFileCache-AD76BB20.dat Your WinfileCache file might be named slightly different, but it's the only .dat file in that directory. Rename that file or delete it (I always err on the side of caution) and restart Dreamweaver.