Kevin,
I feel very embarrased right now. You are 100% percent correct. ExportToDisk() does exactly what it says it exports to disk and Export() is not needed in this case. I guess what happend was that I had originally copied your method into my class and it didn't work so I started modifying it without thinking too much and after a while there was over a screen of code with lots of lines commented out (I cleaned it up before I posted it here but I still did not catch it).
Anyways thank you very much for your help again.
Sincerely,
Einar
>Hey, Einar,
>
>I might really be missing something...but if you're already running ExportToDisk()....is it necessary to run Export()?
>
>Running Export usually assumes you've populated an export options object, format object, etc....that might explain why the exporttodisk() works, and then you're getting the exception. Try removing the call to export() and see if that works...
>
>Kevin
Semper ubi sub ubi.