cancel
Showing results for 
Search instead for 
Did you mean: 

Error: 536 Error in File <report filename> Unable to connect: incorrect log

Former Member
0 Kudos

Hi

I am getting the above error on a client's machine when executing the following code

for i := 0 to crpe.Subreports.Count - 1 do

for j:=0 to crpe.Subreports<i>.Tables.Count - 1 do

crpe.Subreports<i>.Tables[j].Path := path;

crpe.Subreports[0]; {This line points the VCL back to the main Report}

for i := 0 to crpe.Tables.Count - 1 do

crpe.Tables<i>.Path := path;

The path and the tables exist. The above code also fails when connecting to a report with no subreports.

I cannot see why it is given me incorrect log on parameters as they are just Paradox tables. On other machines it works just fine.

I am distributing Crystal Reports 2008 SP3 runtime. I am using Delphi 2007 to run the reports.

Any ideas?

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

Using CR 2008, where did the VCL you are using come from?

Does this work on your development computer with CR 2008 runtime?

Ludek

Follow us on Twitter http://twitter.com/SAPCRNetSup

Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

Former Member
0 Kudos

Hi

I found a library here http://ftp1.businessobjects.com/outgoing/products/vcl/crystalvcl11.zip and I just changed the code to point the registry to the correct version of Crystal.

It works fine on my development environment and also on other computers with XP SP2 and SP3, and Windows 7

former_member183750
Active Contributor
0 Kudos

The library crystalvcl11.zip is specific to crystal reports 11.

If you want to use CR 2008, see [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80c191b8-6664-2b10-498e-e1295146891f] article. Note that you are in a completly unsupported environment.

Also, consider using the CR Assemblies for .NET. See the below resources:

/people/trevor.dubinsky/blog/2009/10/09/introduction-to-delphi-prism-applications-development

/people/trevor.dubinsky/blog/2009/10/19/delphi-prism-how-to-setup-the-environment-for-crystal-reports-2008-and-bobj-enterprise-r3-development

/people/trevor.dubinsky/blog/2009/10/26/crystal-reports-and-enterprise-net-developer-resources

Ludek

Former Member
0 Kudos

Hi

Thank you for the information.

I was hopeful that we could still get a solid solution using this version of Crystal and it is a pity that SAP has stopped all support of Win 32 API. We really cannot justify rewriting the application in a .NET language as we want to continue with a Win32 solution for the near future.

What is frustrating is the fact that it works on various computers with similar OS.

On the particular computer we are having the problem I could not really see any differences in the files loaded in memory apart from this one entry

icudt30.dll ICU Data DLL IBM Corporation and others 3.0.0.1

The version I have loaded in memory is

icudt30.dll ICU Data DLL IBM Corporation and others 12.3.1.684

This dll is installed by Crystal in

C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86

Do you know anything about this DLL?

former_member183750
Active Contributor
0 Kudos

Yah. I guess it's time to move on with the times.

I have no info on that dll. Like I said, unsupported environment. Sorry.

Ludek

Former Member
0 Kudos

Hi

Thank you.

As a temporary measure, do you think I could downgrade to Version 11? and if so where can I find the Win32 runtime version.

former_member183750
Active Contributor
0 Kudos

Version 11.0 (XI R1) probably no. Version 11.5 (XI R2) is still available. You can take a look here for it;

http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx

But going to XI R2 is hte same as 12.x. You still have to recompile the VCL as per the instructions in the article I linked to in my previous post. E.g.; do not use the CR XI R1 VCL with CR XI R2.

Ludek

Answers (0)