Category: Microsoft

For months I've thought about the power of virtual machines. I use them all the time now for production and staging servers and in the past I've used them for QA purposes in a lab. However I have never run a VM instance on my own box.

Recently I purchased a VMWare Workstation 6.5 license on the cheap and on a re-wipe of my laptop decided to put it into use. I now have multiple XP VMs, a Win Server and an OpenSUSE distro. I am now able to have multiple server setup options at my fingertips with ease.

Setup
After several setup attempts I think I have found a great mix.

  1. All of my development tools and code are located on my real machine.
  2. All of my services are located on a VM
  3. All of my services via UNC paths call on files from the HOST machine.
    • This allows me to have multiple servers from multiple VMs reference [easily] the same code set.


Things To Pay Attention To

  1. Setting up the networking can be difficult the first time, but it really is easy. I choose to run everything in NAT mode; just make sure your firewall settings are all correct. I've also made all of my Windows machines part of the same workgroup to make some file browsing easier.
  2. Permissions: In my case I created a VMUser in my VMs that was an admin/root and on my main box created that same user. I made sure VMUser had read/write too all of the relevant files. I then made sure all of my services were running as that user.
  3. Flex / Flash Development and Debugging: Because you will be launching your debugging on an IP such as 192.168.248.x instead of 127.0.0.1 your Flex Builder will be unable to attache to the debug tool from the browser. When you launch your flash/flex app right click on the flash app area. When you click you will see a menu item "Debugger"; click it. You will get the following pop-up. When you do change the selected option from localhost to other machine and enter 127.0.0.1. Viola, your debugger will now attache!


So far my experience is extremly positive. I recomend a minimum of 4 gigs; this is what I currently have and I would want no less. My next laptop will definetly have either 6 or 8 gigs to allow me to run multiples at the same time, or maybe even make a VM my full time editing area. VMs can do multi-monitor BTW! I would love to have my base OS be basically naked and be able to more easily do snapshots and go backwards in time. For me, setting up all the servers takes the most time. Now I can just backup my VMs and on a future wipe of my box, literally be up and running in say an hour instead of 5 or 6.

I have several ColdFusion sites on the same VPS box. SiteA (this blog) has a CFLOCATION in the "/index.cfm" file that points to "/". SiteB about once a day will start throwing 404 errors. When your go to www.SiteB.com i get the index.cfm file from SiteA (this has been verified with a dump/abort); that cflocation tries to send you to /blog. Except magically it's in the correct folder now and /blog doesn't exist. It is very important to note that while I'm currently running Apache 2.2 on windows, this happened on IIS as well. This event is what caused me to switch to Apache thinking it was IIS Stability issue. The problem goes away instantly on a reboot of either service respectfully.

My folder structure is as follows:

Hard Drive Root
      wwwroot
            SiteA Base Folder
                  Blog
            SiteB Base Folder

My Apache setup order is

  1. Default Virtual Host
  2. SiteB Virtual Host
  3. SiteA Virtual Host

The last time this error occured I outputed the client header information (from CF) and everything looks as though it should. Despite the fact that I was getting content out of the base folder for SiteA, I was in fact calling correctly for SiteB. If someone was to explain this error to me I think I would call them nuts.

Can someone PLEASE help me with this?

 

I have Office 2007, a purchase I regret every single time I open any Office document. I then have an Excel Spread sheet that is a ".xls" file; the document is encrypted (in my documents) and has password protection. I get this pop-up every time I save this document after making changes trying to get my to save into MS' Open Office format that I refuse to move to. Under no circumstances do I wish to convert this file to Office XML format (or any other format).  I have scoured the web in search of a resolution to this annoyance and I will gladly award anyone who can help me shut this pop-up off with an Amazon gift card.

 

This document is both encrypted and password protected. The Office Open XML Formats available in the 2007 release provide stronger encryption. Do you want to increase the security of this document by converting to an Office XML format


I really think this is going to result in one thing: Uninstall 2007 and go back to 2000-2003 Office. Do you think they offer a downgrade option?