User login

Who's online

There are currently 1 user and 86 guests online.

Online users

Advertisements


SourceForge.net Logo

Double File Extension

Submitted by s_peetz on Thu, 2008-03-27 22:42.

I'm getting different results when running some code on laptops (two tested so far using Win XP) vs. running it on a server (Win 2003 using Terminal Services). When run on the laptops the pdf gets generated as expected (filename.pdf). But on the server the file extension is getting doubled (filename.pdf.pdf).

All are running the same version of PDFCreator. I have uninstalled and reinstalled the server copy. I made sure all the settings are the options are set the same on the laptops and sever - they're the default settings.

I'm passing PDFCreator parameters through code. If you want details, I'm using Microsoft Dynamics NAV (Navision). I've setup variables using automation controls and I am passing PDFCreator the filename (including the extension) to use. On the laptops, no problem. On the server double file extensions. As a test I adjusted the code to remove the .pdf from the filename passed to PDFCreator - that works. But from a bigger picture standpoint, users may sometimes be working on a PC and sometimes the terminal server (working from home for example). This will be very difficult for me to control.

Does anyone have any idea why a second .pdf is being appended to the filename I'm specifying??

Thanks in advance for any help.

© 2006 by pdfforge.org :: Contact us

Validate XHTML or CSS.