Hello,
I have here a little print app created, which is called via commandline with parameters. Called from cmd, I get back an error 5 = RPT_ErrFileOpen.
When its run in debug mode out of the ide, everything works fine.
Has anybody an idea to what file the RPT_ErrFileOpen refers?
Any hint is appreciated
Best regards
Johann
SalReportPrint error RPT_ErrFileOpen
-
- Founder/Site Admin
- Posts: 3218
- Joined: 24 Feb 2017, 09:12
- Location: Gouda, The Netherlands
Re: SalReportPrint error RPT_ErrFileOpen
Probably an issue with the PATH setting to the report?
Regards,
Dave Rabelink

Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel
Dave Rabelink

Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel
Re: SalReportPrint error RPT_ErrFileOpen
ok, I'm a step ahead, there was a dll missing which I found.
But now I get RPT_ErrLoadDLL = 1 which means a report dll is missing. I do not want to install the Deployment on that machine, but need to know which dlls from TD are necessary to be able to print with SalReportPrint() function
Regards
Johann
But now I get RPT_ErrLoadDLL = 1 which means a report dll is missing. I do not want to install the Deployment on that machine, but need to know which dlls from TD are necessary to be able to print with SalReportPrint() function
Regards
Johann
Re: SalReportPrint error RPT_ErrFileOpen
I use Dependency Walker to check for DLLs to deploy. Just be warned that Gupta.NET-DLLs from TD won't be found to be used by your exe.
Regards,
Peter
Regards,
Peter
You do not have the required permissions to view the files attached to this post.
Re: SalReportPrint error RPT_ErrFileOpen
Hello Peter,
thanks for the hint. The most of the Gupta.TD.Runtime.... are not in the installation dir. Where can I find the rest of them?
Best regards
Johann
thanks for the hint. The most of the Gupta.TD.Runtime.... are not in the installation dir. Where can I find the rest of them?
Best regards
Johann
Re: SalReportPrint error RPT_ErrFileOpen
Mine are in "C:\Program Files (x86)\Gupta\Team Developer 6.3\", "C:\Program Files (x86)\Gupta\Team Developer 6.3\netbin\" and "C:\Program Files (x86)\Gupta\Team Developer 6.3\netbin\de".
Gupta.TD.wpf.Common.dll seems to be outdated. It was part of TD 6.2.
Gupta.TD.wpf.Common.dll seems to be outdated. It was part of TD 6.2.
Who is online
Users browsing this forum: [Ccbot] and 0 guests