64 bit macro - Problem running

I just wrote a macro on a newly installed 64 bit version of SW2009. The macro begins running, a couple message boxes pop up and then a dialog pops up saying, "Cannot open "

I also cannot run the macro under the debugger.

Does anybody have any thoughts regarding these two problems. I'm just getting my feet wet in .NET.

SolidworksApi macros