FileDocVersion Error

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

FileDocVersion Error

Postby Saki » Tue Oct 28, 2014 10:50 am

Hello,

i am using the IDEALSoftware.VpeCommunity.dll, Version 7.00 in DynamicsNAV (integrated IDE, .NET compatible with own but simple syntax as you can see below).

My goal is to convert an existing .vpe to a .pdf File:

VPE := VPE.VpeControl(); //Instantiation
VPE.OpenDoc;
IF VPE.ReadDoc('\\SourceServerPath\File.vpe') THEN
VPE.WriteDoc('\\DestinationServerpath\File.pdf')
ELSE
MESSAGE(STRSUBSTNO('%1',VPE.LastError));
VPE.CloseDoc;

It runs into the ELSE statement with an error of "FileDocVersion".
According to the Documentation this error means that the file iam trying to read is of a newer version, but i am using the latest dll version 7.00.

Will an upgrade from the Community Version solve this, or has anybody else an idea for this?

Thanks in advance!

Saki
Saki
 
Posts: 2
Joined: Tue Oct 28, 2014 10:13 am

Re: FileDocVersion Error

Postby IDEAL Software Support » Wed Oct 29, 2014 8:44 am

It does also mean the file has been created with a higher edition. Lower editions can not read files of higher editions, as they contain unknown objects.
IDEAL Software Support
 
Posts: 1621
Joined: Thu Nov 18, 2004 4:03 pm

Re: FileDocVersion Error

Postby Saki » Thu Oct 30, 2014 9:52 am

The File i am trying to open is generated by VLOG (shipping engine) by Manufacturer MHP. Could it be possible that they have their own deployment with unknown objects?
I am still wondering as i can open the existing .vpe-File with the latest VPE-VIewer, which is also 7.00.

Thank you for your response!
Saki
 
Posts: 2
Joined: Tue Oct 28, 2014 10:13 am

Re: FileDocVersion Error

Postby IDEAL Software Support » Thu Oct 30, 2014 12:16 pm

We do not provide information about our customers. Please ask the customer directly what edition they are using.

It is not possible to store "unknown objects" in VPE document files.

You can also check what edition is used, by scanning the application directory (and the Windows directory) for "vpe*.dll".

The 4th letter of the DLL name indicates the edition:

c = Community Edition
s = Standard Edition
x = Enhanced Edition
p = Professional Edition
e = Enterprise Edition
i = Interactive Edition

Otherwise, you need to install each edition one after the other and try to open the file until it works.
IDEAL Software Support
 
Posts: 1621
Joined: Thu Nov 18, 2004 4:03 pm

Re: FileDocVersion Error

Postby IDEAL Software Support » Thu Oct 30, 2014 12:23 pm

Please note that the Enterprise Edition and Interactive Edition are part of "dycodoc" in our download section.
IDEAL Software Support
 
Posts: 1621
Joined: Thu Nov 18, 2004 4:03 pm


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 12 guests

cron