Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports - Data Connectivity
Viewing all 269 articles
Browse latest View live

Connecting to SharePoint Lists via XML

$
0
0

Hi. I've worked with Crystal Reports quite a bit, but am fairly new with SharePoint and I'm having trouble setting up a connection to the lists within SharePoint. I've managed to figure out that I need to set up the connection as XML (as ODBC is quite messy the way the SQL tables are set up); however, I can't seem to figure out where I'm going wrong.

 

Would someone be willing to walk me through how I go about setting up this connection?

I am using Web Service Data Source and have my HTTP WSDL URL set up as: http://ourwebsitehere/_vti_bin/Lists.asmx?wsdl

I have the web service, port and method as follows:

Services: Lists

Ports: ListsSoap

Methods: GetListItems

(we don't know how our SharePoint schema is set up)

 

The Web Service Authentication User and Password are grayed out...I'm wondering if I need those to access the data on our server because when I click 'Finish', all I get is a 'GetListItemsReponse' which has no data in it. I don't get any tables.

 

I'd appreciate any help you can give me.

 

I am using CR XI and SP Foundations 2010.

 

Thanks,

Staci


connect Access 2010 with Crystal Reports XI

$
0
0

I am trying to connect a .accdb Microsoft Access Database with Crystal Reports XI and it is not seeming to work. I select ODBC and try adding a Microsoft Access Database then it asks me for a password? I am confused as to how I even pick up the test .accdb database I have on my desktop. What am I doing wrong?

Failed to update database connection information: Logon failed. Error in File {...}.rpt: Unable to connect: incorrect log on

$
0
0


Hi,

 

This error is about Maximo 6.2 - Crystal Server 2008 (Business Object Enterprise XI Product 12.1) integration.

I run a crystal report from Maximo6.2 but I receive error:

 

"Error running report: test.rpt
________________________________________
Failed to update database connection information: Logon failed. Error in File {8A866AB8-379B-4276-A2BE-99C9A600AC3A}.rpt: Unable to connect: incorrect log on parameters."

 


My crystal report (test.rpt is a simple report without parameters) works fine on SAP Business Object Central Management Console but gives error after publishing on Maximo (Report Administration application).

 

I used the following document for this integration solution:
http://www-304.ibm.com/support/docview.wss?uid=swg21462416&aid=1

 

Thanks in advance for your feedback.

 

 

Doru

Accessing a universe via Crystal Reports: protocol / ports?

$
0
0

I am not a new Crystal Reports user, but I universes are new to me.

 

We have a group who manages a universe we need to connect our local crystal reports (XI) desktop apps to.

 

We are fairly sure there is a firewall issue but there is some confusion if we need an ODBC connection or anything other than port 6400 opened.

 

We get the error:

 

"CMS Host ... address was resolved properly, but cannot be reached to establish a CMS connection. Verify that your router/firewall allows communication on port 6400"

Can anyone provide network level information on how crystal connects to a universe?

 

Thanks!

Crystal Reports 2008 and Stored Procedure

$
0
0

I want to create a crystal report based on a SQL Server 2008 R2 Stored Procedure. When I try to add a stored procedure to the report in the Database Expert a window appears to specify the parameters. Upon entering the parameters and clicking OK. I get the following error message:

Database Connector Error: 'Cannot obtain error message from server'.

 

Can anyone suggest why I get an error?

 

Version: 12.4.0.966

QueryBuilder creates invalid SQL string

$
0
0

Hello,

 

we are using Crystal Report Designer 2011 with a MySQL 5.5 database and the MySQL J/Connector to create report templates. And the Crystal Report Java Runtime 12.2.214 to export report templates.

 

Everything works fine. Even with other databases and JDBC drivers like SolidDB and PostgreSQL.

 

Now we switched to the MariaDB client library 1.0 for Java and we always receive a SQLSyntaxException.

Within the log files we saw that the "com.crystaldecisions.reports.queryengine.querybuilder" creates the following SQL string.

 

SELECT `new_table`.`test`

FROM   `def`.`test`.`new_table` `new_table`

 

Compared with the MySQL J/Connector the SQL string looks different:

 

SELECT `new_table`.`test`

FROM   `test`.`new_table` `new_table`

 

Why does the query builder adds a 'def'. in front of the FROM definition?

Attached you will find a log file. Hopefully someone can help us.

 

 

The seconds problem:


Within Crystal Report Designer 2011 we use the MariaDB driver to create a new JDBC connection. But we did not see the database schema.

No tables are visible! Same problem?

 

 

Thanks and best regards,

Heiko Tropartz

JDBC connection error from CR 2008

$
0
0

Hi,

 

I am new user to Crystal reports. I have CR 2008 Installed in my windows 7.0 machine. I also have java version 7 installed. when i try to connect to Oracle database from JDBC connection after keying in all relevant details, it gives me'Failed to open the connection. Details: JDBC driver not found'. error.

 

I then copied the ojdbc5.jar from Oracle folder to java\lib  and modified the CRConfig.XML by adding ojdbc5.jar to CLASSPATH

 

Note: I have even tried the above step with ojdbc6.jar

 

After this when i open Database expert and try to use JDBC connection it throws another exception ..

 

"'Invalid Argument provided'

Details: Java server startup failure. verify the PATH(JDK), CLASSPATH, and IORFileLocation properties in the CRConfig.XML. In addition verify that you are using JDK1.5"

 

I would like to know

 

1. Do i need to downgrade my JAVA version to JAVA 5? or CAN i work with JAVA 6.0 or 7.0. (legally my organisation dont use java 5.0)

2. Do I need to change the environment variable? if so what i am supposed to change?

3. Do i need to edit CRConfig.XML anywhere else?

4. How can i resolve this problems and get the CR in working state?

 

waiting for the immediate response .

Crystal Reports Issue and in need of advice.

$
0
0

Hello,

 

We are moving from Crystal Reports 7 to Crystal Reports 14 (2013). The problem I'm running into is our change in platform where the database is housed.

 

I'm going from an informix.table setup to having to remove the informix to get the reports to run.

 

Is there an easier way to remove the infomix. from the SQL Query or do I need to do this to every single report? I'm hoping to find an easier way, because manually changing 800+ reports will be rather time consuming.

 

Any help would be much appreciated.


Wrong order of parameters when CR 2008 runs stored procedure

$
0
0

Hello,

 

Can you please help to fix the issue with the reports which using stored precedures.

 

My report runs the SP wtih signature:

procedure [dbo].[crystal_AuditReport]

                     @AuditID nvarchar(100) = null,

     @DocumentRoot nvarchar(100) = null,

     @Stuff1 bigint = null,

     @Stuff2 bigint = null,

     @Stuff3 bigint = null as

 

But MS SQL profiler shows the following query:

exec "DBName"."dbo"."crystal_AuditReport";1 -5, N'{182c0093-fbb9-48e8-8ade-6e7ac45dfb39}', -5, N'C:\UPLOAD\ATTACHMENTS\', -5

 

As can you see the order is wrong. It leads to the error:

 

Source: CrystalDecisions.ReportAppServer.DataSetConversion

Exception Type: CrystalDecisions.CrystalReports.Engine.DataSourceException

Exception Message: Database Connector Error: 'ADO Error Code: 0x80040e07

Source: Microsoft OLE DB Provider for SQL Server

Description: Error converting data type nvarchar to bigint.

SQL State: 22018

Native Error: 8114 [Database Vendor Code: 8114 ]'

Error in File AuditTrailReport {2571BD2C-28AF-4F48-A7F6-C967674D1099}.rpt:

Database Connector Error: 'ADO Error Code: 0x80040e07

Source: Microsoft OLE DB Provider for SQL Server

Description: Error converting data type nvarchar to bigint.

SQL State: 22018

Native Error: 8114 [Database Vendor Code: 8114 ]'

InnerException: System.Runtime.InteropServices.COMException (0x800002C3): Database Connector Error: 'ADO Error Code: 0x80040e07

Source: Microsoft OLE DB Provider for SQL Server

Description: Error converting data type nvarchar to bigint.

SQL State: 22018

Native Error: 8114 [Database Vendor Code: 8114 ]'

Error in File AuditTrailReport {2571BD2C-28AF-4F48-A7F6-C967674D1099}.rpt:

Database Connector Error: 'ADO Error Code: 0x80040e07

Source: Microsoft OLE DB Provider for SQL Server

Description: Error converting data type nvarchar to bigint.

SQL State: 22018

Native Error: 8114 [Database Vendor Code: 8114 ]'

at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)

at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)

StackTrace: at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)

at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)

at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)

at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)

at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export()

at CrystalDecisions.CrystalReports.Engine.ReportDocument.Export()

 

Please note the report was developed using CR 9, now I'm using CR 2008 sp 3 runtime.

 

Thank you

"Connection is Busy" Error When Upgrading ODBC Driver to SQL Server Native Client 11.0

$
0
0

We are using Crystal Reports XI (tied to that version by a vendor product) under Windows 7 with SQL Server 2012 SE as a data source. We have been using the old SQL Server ODBC Driver, SQLSRV32.DLL (version 6.01.7601.17514), with no problems. We recently tried to upgrade to the new SQL Server Native ODBC driver 11.0 (SQLNCLI11.DLL), and some of our existing reports starting failing with this error message:  “Failed to retrieve data from the database. Details: HYOOO:[Microsoft][ODBC Driver 11 for SQL Server] Connection is busy with results from another command.”

 

What these reports have in common is that use individual tables as well as a SQL command object (all hitting a single SQL Server 2012 database).  We don't get the error if the report using only tables, or only a SQL command object. The problem seems to be that Crystal is sending two separate commands on the same connection, one for the SQL query command object and one for the other tables. This is supported in the old SQL Server driver, but not in the new Native Client driver. One thing I tried, without success, is to create a separate connection for the SQL command object.

 

Does any one know how to fix this error? Any help would be much appreciated!

 

Thank you,

 

Steve

Does Crystal Reports 2013 support Sub Reports to SQL Azure?

$
0
0

I am having problems using Crystal Reports XI R2 with SQL Azure with reports that contain Sub-Reports. Any report that doesn't contain sub reports is working fine.

 

Others have posted that Crystal Reports will call "sp_procedures_rowset" and "sp_columns_rowset", which are not existing in SQL Azure. I am wondering if we upgrade will this issue still be an issue or not when using the newer report viewer?

 

Is there a recommend work around for reports that require to do master detail groupings? Or is there another solution?

 

With thousands of reports changing ever one of them probably isn't an option.

 

Thank you,

 

Jeff

Using CR 2011 newly installed on a PC

$
0
0

I hope someone can help.


I have not been able to generate reports from CR 2011 using reports previously created in CR 2008 and saved on our network for two brand new computers. Others who were simply upgraded to CR 2011 are fine, so I tried loading the old software and doing an upgrade to no avail.


All of the ODBC connections are in place wirh a SQL Driver for the database because I can create new reports on the same machines (Win7 Service Pack) with no problem. The reports come up blank for any of the old reports when I refresh.

 

I also receive a message that one of my data files has changed and am asked if I want to fix the report. However, the data file has not been changed and this message does not appear for any computers that previously ran CR 2008 before upgrading to 2011. Again, this only occurs on our two new pc's with CR2011 installed.

 

Any suggestions and help is appreciated.

Error when linking to DB (DAO) Error Code 0xbd4

$
0
0

Hi forum,

 

I'm currently experiencing an issue with my brand-new installation of Crystal Reports XI when trying to connect to a database to preview my report.

CRXI Error.png

I recently had to format and reinstall the OS. Prior to this, it was working fine, however now it doesn't work.

I can no longer link CR to any database (MS Access) and thus, cannot get any work done.

 

Any help would be greatly appreciated

 

Here are the specs of what I'm running:

Crystal Reports XI (11.0.0.1282)

Windows 8 Pro 64bit

MS Office 2013

i5 processor

8GB memory

 

Mark

I tried to connect to my Oracle database and entered the correct password and received the following messages:

$
0
0

Failed to open the connection.

Details: ORA-12154: TNS: could not resolve the connect identifier

  1. unspecified.

(Database Vendor Code 12154)

 

 

Failed to open connection

Details: (Database Vendor Code 12154)

 

About Crystal Reports:

 

CR Developer

Version: 12.0.0.683

Product Type: Full

This product is registered to : Aluminum Precision Products

 

Registration Number: 8886439509

Keycode: CFK00-EFRZS2M-00UFAFF-N43M

 

 

The location of my TNSNAMES:

 

C:\oracle\product\10.2.0\client_1\NETWORK\ADMIN

 

 

TNSNAMES:

 

# tnsnames.ora Network Configuration File: D:\oracle\product\10.2.0\client_1\network\admin\tnsnames.ora

# Generated by Oracle configuration tools.

Passing table name as a parameter

$
0
0

Hi:

I have a question regarding passing part of a table name to crystal. I have table getting created everyday and the dynamic part being Table_<date in yymmdd format>, for e.g. - Table_20140225 for table created on 02/25/2014

I have written query like "select * form Table_{@DT}". This used to work in Crystal 11.5.8.826. but recently we upgraded to 12.2.0.290. In this version of Crystal it is not working and giving me error "com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Missing parameter values.---- Error code:-2147217394 Error code name:missingParameterValueError".

 

Can you please suggest to get around this problem. Running a stored procedure with REFCURSOR is not an option.

 

i tried another solution, where i just wrote a stored procedure to do a insert into a table handling the dynamic table in stored procedure. but to my surprise, the stored procedure doesn't execute all the time.


Any help on this is much appreciated...


crdb_adoplus.dll could not be loaded

$
0
0

Have CR Developer 14.0.2.364 RTM, Type=Full

Windows XP SP3, 32-bit machine

 

Can not see ADO.NET (XML) in list of datasource locations

 

Have existing report create by other developer that uses ADO.NET (XML).

 

1) I want to update the datasource location but ADO.NET (XML) is not a choice.

2) If I try to preview the report, I get crdb_adoplus.dll could not be loaded.

 

crddb_adoplus.dll does exist in win32_x86 folder.  I did select ADO.NET (XML) in Add/Remove programs, Change, Modify, Data Access

CR Over erp

$
0
0

hallo,

 

Am facing problem when am trying to connect CR2011 over ERP direct tables, it retrieve back no data from feilds of the table , although that

tables& fields containing data in the erp!!!

 

thanks

CR over ERP

$
0
0

hallo,

 

Am facing problem when am trying to connect CR2011 over ERP direct tables, it retrieve back no data from feilds of the table , although that

tables& fields containing data in the erp!!! also it didnot give any error message.

thanks

Failed to update database connection information: Logon failed. Error in File {...}.rpt: Unable to connect: incorrect log on

$
0
0


Hi,

 

This error is about Maximo 6.2 - Crystal Server 2008 (Business Object Enterprise XI Product 12.1) integration.

I run a crystal report from Maximo6.2 but I receive error:

 

"Error running report: test.rpt
________________________________________
Failed to update database connection information: Logon failed. Error in File {8A866AB8-379B-4276-A2BE-99C9A600AC3A}.rpt: Unable to connect: incorrect log on parameters."

 


My crystal report (test.rpt is a simple report without parameters) works fine on SAP Business Object Central Management Console but gives error after publishing on Maximo (Report Administration application).

 

I used the following document for this integration solution:
http://www-304.ibm.com/support/docview.wss?uid=swg21462416&aid=1

 

Thanks in advance for your feedback.

 

 

Doru

SAP Crystal Report : Log on failed

$
0
0

Hi,

 

I'm trying to connect sap system from crystal report.

but i'm getting error of "Logon  failed. Details : You do not have the necessary rights to design reports against the sap system.Please check with you system administrator."

 

Regards,

Chetan Chavan.

Viewing all 269 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>