on 06-04-2009 7:46 AM
Use Crystal XI version 1, vb6 and access.
Sometimes (not always) when I print generare a error -2147189176 Access danied
Do not print and are forced to exit from the application.
The istruction generare error is Report.printout False,2
I have upgrade with sp4 but the problem is not solved.
Tank you for help
Two things I'd recommend:
1) Ensure you are setting the report object to nothing once you are done with it
2) Upgrade to CR XI release 2
CR XI r2 can be downloaded from here:
https://smpdl.sap-ag.de/~sapidp/012002523100006008462008E/crxir2.zip
Uninstall CR XI r1 first, then install r2. Use the same keycode you used with your current r1. Then apply SP 5 from here:
https://smpdl.sap-ag.de/~sapidp/012002523100013876392008E/crxir2win_sp5.exe
Ludek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here is the link:
https://smpdl.sap-ag.de/~sapidp/012002523100004610732009E/crxir2fp52_rdc_mm.zip
I'll update the wiki asap.
Also, remember you can search for any downloads here:
https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm
Ludek
The problem is the same.
I removed crystal report XI R1.
I have installed crystal report XI R2 and SP5.
I modficato objects.
Dim Report As CRAXDRT.REPORT
Set Applicazionereport = CreateObject ( "CrystalRuntime.Application")
Dim tbl As CRAXDRT.DatabaseTable
For Each tbl In Report.Database.Tables
tbl.SetLogOnInfo db_name
Next
Report.RecordSelectionFormula = FILTRO_RPT
VIEW.ReportSource = Report
VIEW.ViewReport
Done so at times (not always) gives me ERRCODE -2147189176 "Access denied"
What can I do?
tbl.SetLogOnInfo db_name
That method has been deprecated since version 8.5 of Crystal Reports. In version 9, the whole database engine was rewritten and you now have to use the connection properties bag. [This|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00635998-751e-2b10-9cba-f50ee1e4ef81] article describes connection properties in detail. Also, see the developer help file:
C:Program FilesBusiness ObjectsCrystal Reports 11.5Helpen dcsdk_com_dg_docdoc dcsdk_com_dg.chm
The [notes|https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_ossnotes&query=&adv=true]
database is a great resource also.
Ludek
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.