cancel
Showing results for 
Search instead for 
Did you mean: 

Login Failed... after I save the report for x reason

Former Member
0 Kudos

Hi,

Very strange, I have a small application that open and run a crystal report XI and this Windev program (like VB) will modify the report value connection to SQL with the setlogOnInfo... at this point everythings is good and work correctly but if I open the report with Crystal and just do a small modification like move a text and save the report the application will show me a Login Failed?? I have to copy back a backup to make the application work again... and if a try the report in crystal not error ?

I have the same error if a create a new report and try to make the programm use it

the program is very simple:

Oreport = pautOappli>>OpenReport (fCurrentDir()+"\Item.rpt")

FOR i = 1 TO Oreport>>Database>>tables>>count

Oreport>>Database>>tables>>item(i)>>SetLogOnInfo("SERVER","DB","USER","PWD")

END

AX_ActiveX>>ReportSource = Oreport

AX_ActiveX>>ViewReport

Wow! I just did a test on an other computer that have Crystal XI and create a new report like I done on my computer before and copy this report on my computer and it's working with the application but not if I open it with my crystal and save it

Edited by: AlainC on Aug 23, 2011 4:56 PM

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hello,

Dev tool are you using? I don't recognize that syntax...

What version and what report engine are you using, OCX, crpe32, craxdrt ( RDC ) or .NET

Don

Former Member
0 Kudos

Hi Don,

Windev is a french software made in France it's like Visual Basic, Delphi... I have Crystal Report XI Release 1, and in my program I have a ActiveX field (Crystal Active X Report Viewer Control 11.0) and Craxdrt.dll (never try anythings else).

I sure the bug come from the Crystal Report on my computer because for the last few week when I open a Report in it and I drag the crystal report windows in my other screen (work with 2 screen) the application freeze and close when I drag a formula on the report? and it'sn't the first windev application that I create that use crystal report (they always work)

Alain

0 Kudos

Hi Alain,

Moved your post to the Legacy SDK forum also...

First thing is to upgrade to CR XI R2 for free:

http://downloads.businessobjects.com/akdlm/crystalreports/crxir2_sp4_full_bld_0-20008684.exe

http://downloads.businessobjects.com/akdlm/crystalreports/CRYSTALREPORTS06_0-20008684.EXE

Use your XI Keycode to install but contact Sales to get a R2 keycode for distribution.

After upgrading then test again. If it works you can go to our download page and get CR XI R2 Fix Pack 6.4 Redist package to deploy your app if you need to.

The RDC has been deprecated now so R2, which is also end of life, is your only option now. If that doesn't fix the issue then you'll have to upgrade to .NET CR Assemblies.

Don

Edited by: Don Williams on Aug 23, 2011 1:42 PM

0 Kudos

Also, CR doesn't support dual screens.

Don't drag it to the other screen....

Don

Answers (0)