KBase ID 344488: Logon failed when connecting to universe in Crystal Report
My question is related to [KBase Article ID:344488|http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=344488&sliceId=&dialogID=24618166&stateId=1%200%2024614949]
Article refers to: Crystal Reports XI
Symptom
When attempting to create a connection to a universe in Crystal Reports, after clicking OK in the Database Expert Query Panel, the following error message appears: "Logon failed".
The query is not generated. In the Universe folder of Database Expert, the following message appears: "u2026no items found".
I'm running BOE XI and Crystal Report XI R2 with MS SQL Server 2005 using ODBC.
The resolution psoted in the KBase Article ID:344488 does not resolve the issue in my case. Does anyone have any ideas on what to look at next?
Hello Donald,
I'll describe the process flow when Crystal Report reports off of a Universe, in hopes the info will help narrow down your issue.
When you create a Crystal Report and open an Universe, it connects to the Enterprise system and uses a Report Server on Enterprise to generate the SQL Statement. After you create the Query in the Query Panel, and add the Query to the report, the SQL Statement is sent to the Crystal Report Designer.
The Crystal Report Designer makes a local connection to the database and sends the SQL Statement to retrieve data.
You're using ODBC connectivity. If the defined ODBC isn't identical between the server where the Report Server is running, and the client where the Crystal Report Designer is running, then you'd get the Logon failed error.
Other than checking the drivers, I'd recommend that the ODBC connection on both server and client point to the same database, and allow use of the same database logon credentials.
Sincerely,
Ted Ueda
Similar Messages
-
Failing to connect to Oracle from Crystal Reports
We have a client attempting to connect to 10g using crystal reports. They are getting ora-08001 as an error reported to them. Any ideas what could be causing this?
I don't know Crystal Reports and what it sends to and requests from the database, but that's the formal description of this error:
Error: ORA 8001
Text: maximum number of sequences per session exceeded
Cause: An operation requested a resource that was unavailable.
The maximum number of user sequences per session is specified by the
initialization parameter DC_SEQUENCES.
When this maximum is reached, no more requests are processed.
Action: Try the operation again in a few minutes.
If this error occurs often, shut down Oracle, increase the
DC_SEQUENCES parameter in the initialization parameter file, and
restart Oracle. -
Logon failed when connecting to XML data source over HTTP
I am trying to create a report using the standard report creation wizard:
1) new, standard report
2) create new connection
3) xml and web services
4) xml data source
When using the sample from the SAP site, it works fine:
http://resources.businessobjects.com/support/downloads/samples/cr/customer_db/customer.xml
I have an HTTP source that generates XML. I have a schema that describes this XML. If I save the XML to a local file it works fine as a data source with the schema. However, when I try to access the same data via HTTP, I get the following error:
Logon failed.
Details: Cannot open file
Server returned HTTP response code: 401 for URL: http://localhost:8004/report.xqy?Validate%20XML=0&Use%20WS-Security%20Config%20File=&WS-Security%20File%20Location
However, if I enter that URL in a browser it works fine. And even if I disable security on the HTTP source, it produces the same error.
Does the URL for the HTTP data source have to conform to some specific pattern? For example, must the URL end in .xml?
KellySorry Brian,
This is a public forum, if no one can help you do have the option to purchase a support case:
http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551
Thank you
Don -
Logon failed when connecting to Crystal Reports XI
Hello
Is there anyone who can help me on the above? Well here is the problem am facing for couple of days and am trying all the R&D but in vein.
Am trying to connect Crystal Reports XI but am getting logon error when making a connection to the database. The datasource used is OLE DB and throws an error "Logon failed.Details:IM006:[Microsoft][ODBC Driver Manager]Driver's SQLSetConnectAttr failed"
How do I resolved this?
Regards
CaiveruHey Cauvery,
Just check whether ther required database drivers are installed properly, where the SQL might be your database.
Try with other type of connection and check .
As some database's wont allow specific type of connections.
Thanks,
Naveen. -
Connecting to Universe from Crystal Report XI
Hello all,
I am trying to connect to a Universe from my Crystal Report. I get an error "Service CDZHome not found" when I try to select the Universe datasource.
I read elsewhere that I will need Crystal 2008 for this. I tried this with a trial version of 2008 and it does work fine.
I came across the link below which indicates that it should work for Crystal XI also. Though there are some limitations.
https://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/20984c2b-17f1-2b10-1091-d18977f7cd8f&overridelayout=true
We are not ready to move to Crystal 2008 yet. So I need to make it work with Crystal XI. And as per the documentation I should be able to. Any help or pointers will be much appreciated.
Thanks,
Sanjay1. Crystal report version - 11.0.0.2495
2. BOE Server version - SAP BusinessObjects Edge Series 3.1 (Product: 12.1.0 © 2008 Business Objects)
3. Tried with Sample universes (eFashion, Activity etc). Also tried with a universe based on SQLServer database. All of these work with Crystal 2008 Designer.
4. Thru' the BOE explorer window in the Designer
5. Its happening to all universes
6. Unfortunately I don't have BOE installed on any other box. I am currently evaluating BOE for our organization.
Thanks,
Sanjay -
Logon failed when trying to connect to a SAP BW related universe
Hi,
when I try to connect to my SAP BW related universe, I simply get the error message "Logon failed".
I have the SAP integration kit for BO. Furthermore I have set the connection appropriate to OSS note 1182409.
Nevertheless I get this error message.
The universe and the connection settings to SAP BW themselves are working correctly.
So e. g. I can set up a connection to my universe from the WebIntelligence tool.
Do you have any idea to solve this problem?
Best Regards,
Thomas
Edited by: Thomas Seifert on Nov 18, 2008 9:41 AMHi Ingo,
I do not get any error while using the Universe Designer, I get this error when trying to connect a SAP BW related universe in Crystal Reports. There is no problem at all with WebIntelligence by the way. It is possible to connect a SAP BW related universe in WebIntelligence.
I use BO XI 3.0 with Crystal Reports 2008 and the SAP Integrations Kit client components are installed on the client machine.
Nevertheless the BO Enterprise system is not configured with SAP Authentification, but with an own authentification.
Best Regards,
Thomas -
Database logon failed when opening report with parameter values in CrystalReportViewer
Hi,
I designed 2 crystal reports: report A contains parameter fields and report B did not contain any parameter
I can open both reports in development site using CrystalReportViewer control. When I open the reports in testing site,
I can open report B but can't open report A. It display error message "Database logon failed". When I set EnableDatabaseLogonPrompt
to true and try to open the report A again, it shows database connection data which was created on report.
In addition, it is strange that it displays error "Database logon failed" when I click an item in group tree panel of the report B. This indicates that it can load data from database
in testing site but it connect to development database when clicking items in group tree panel
All reports connect to database using Windows Authenication. It use dynamic database connection at runtime
How to ensure the report always connect database using login data dynamically at runtime?
Below is my code about database connection:
string strServerName = null;
string strDatabaseName = null;
ReportDocument rptDoc = new ReportDocument();
rptDoc.Load(strFilePath);
ConnectionInfo connInfo = new ConnectionInfo();
TableLogOnInfo logonInfo;
for (int i = 0; i < rptDoc.Database.Tables.Count; i++)
logonInfo = rptDoc.Database.Tables[i].LogOnInfo;
ReportHelper.GetReportConnection(ref strServerName, ref strDatabaseName, strSystemType);
logonInfo.ConnectionInfo.ServerName = strServerName;
logonInfo.ConnectionInfo.DatabaseName = strDatabaseName;
logonInfo.ConnectionInfo.IntegratedSecurity = true;
rptDoc.Database.Tables[i].ApplyLogOnInfo(logonInfo);
rptDoc.Database.Tables[i].Location = rptDoc.Database.Tables[i].Location.Substring(0, rptDoc.Database.Tables[i].Location.Length - 2);
crvViewer.ReportSource = rptDoc;
crvViewer.DataBind();
Development environment:
- SAP Crystal Reports 2013 Support Pack 1
- Visual Studio Professional 2012
- .NET Framework 3.5
- DDL
CrystalDecisions.Shared (v 13.0.8.1216)
CrystalDecisions.Web (v 13.0.8.1216)
CrystalDecisions.CrystalReports.Engine (v 13.0.8.1216)
Database connection in crystal report:
- Database Type: OLEDB (ADO)
- Provider: SQLOLEDB
- Integrated Security: True
Thanks and Regards,
TonyHi Tonylck
Try to pass login info to crystal report dynamically as follows:
using System;
using System.Windows.Forms;
using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.Shared;
namespace WindowsApplication1
public partial class Form1 : Form
public Form1()
InitializeComponent();
private void button1_Click(object sender, EventArgs e)
ReportDocument cryRpt = new ReportDocument();
TableLogOnInfos crtableLogoninfos = new TableLogOnInfos();
TableLogOnInfo crtableLogoninfo = new TableLogOnInfo();
ConnectionInfo crConnectionInfo = new ConnectionInfo();
Tables CrTables ;
cryRpt.Load("PUT CRYSTAL REPORT PATH HERE\CrystalReport1.rpt");
crConnectionInfo.ServerName = "YOUR SERVER NAME";
crConnectionInfo.DatabaseName = "YOUR DATABASE NAME";
crConnectionInfo.UserID = "YOUR DATABASE USERNAME";
crConnectionInfo.Password = "YOUR DATABASE PASSWORD";
CrTables = cryRpt.Database.Tables ;
foreach (CrystalDecisions.CrystalReports.Engine.Table CrTable in CrTables)
crtableLogoninfo = CrTable.LogOnInfo;
crtableLogoninfo.ConnectionInfo = crConnectionInfo;
CrTable.ApplyLogOnInfo(crtableLogoninfo);
crystalReportViewer1.ReportSource = cryRpt;
crystalReportViewer1.Refresh();
Ref
http://csharp.net-informations.com/crystal-reports/csharp-crystal-reports-dynamic-login.htm
Mark as answer if you find it useful
Shridhar J Joshi Thanks a lot -
Logon failed error : connection is OK in Designer but error in CR and CMC
Hi,
BOXI 3.1 SP3 installed
Crystal Report 2008 SP3 installed.
Windows 2003 R2 SP2 64 bits
The data source location is SQL Server 2005 SP3/Windows 2003 R2 SP2 64 bits
I defined a connection (OLEDB secured) and a universe which uses this connection. I export the universe to make it available.
In Designer, everything works fine: i can access the data.
In CR 2008, when i create the connection within Database expoert, i access the universe, select the fields but there is an error message 'logon failed" when i validate the choice.
I have also made a test with an ODBC driver with no success.
I have checked ODBC and MDAC version.
Important to note: from CR, i can define datasource with ODBC/OLEDB driver directly from the SQL Server.
The rror message occurs when i access the universe to access the DB.
I have also made a test by applying CR 2008 SP4 but with no success.
Please someone help me ? give me some suggestions ?
Thanks in advance.
Regards,
MarcThanks to CA Technologies Suppport !
The password was containing a '='.
I have removed it from the password and now it works fine. -
CDZHome Error when trying to connect universe from Crystal Reports XI R2
I am getting the below error message when I am trying to connect a universe from Cyrstal Reports.
CDZHome not found on server, IRAPPS437.WebIntelligenceProcessingServer
I am using below versions:
Universe - Business Objects XI 3.0 Enterprise Edition
Crystal Reports - Cyrstal Reports XI R2 SP4.
If you notice the error is related to Web Intelligence when I am not doing anything related to Web Intelligence. So I suspect that Cyrstal Reports XI R2 is not compatible with BO XI 3.1 or Vice Verse.
Any input on this is appreciated.
Cheers,
KannaHello All, I am working on BO version migration. Presently we have BO XI 3.1 in which we have Java process through which we gets connected to BO server and generates an report.
as we need to move to migrate BO version to SAP Business Objects BI Platform 4, we need to accomodate connecting to new BO server. I have upgraded all JAR which has been given by "SAP Business Objects BI Platform 4" installation still i am getting below exceptions and one of them is almost same as this POST so thought od posting my question here rather than opening an new POST.
Caused by: com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$ServiceConnection: Unable to connect to service CDZHome from server LONWS20055.WebIntelligenceProcessingServer via CMS LONWS20055.EUROPE.NOM:6400 (FWM 01006) -
Connecting R/3 for Crystal reports
Hi,
I was reading Blogs posted by Ingo on business objects. I am asking very basic questoins. What is the software neeed to for crystal report? Where I can download? Is it a free version available? (I have downloaded the Crystal reports viewer 2008 from Crystalreports.com). I tried to connect existing R/3 system, but it was asking web serive URL and it is failed. Is it the right software to work on crystal reports? If not please let me know the place for software download. Please provide basic information to connect R/3 to Crystal reports and will help me to follow all blogs on business objects. Thanks for your help in advance.
Best regards
NagarajanHi,
this should help to get started:
Getting started
https://www.sdn.sap.com/irj/boc/business-objects-for-sap?rid=/webcontent/uuid/20f83c7e-3f2a-2c10-7dbf-a5ec14611a1e [original link is broken]
Software / Installation
https://www.sdn.sap.com/irj/boc/business-objects-for-sap?rid=/webcontent/uuid/a02d2792-452a-2c10-7c8f-ddd50dad779b [original link is broken]
Content Library
https://www.sdn.sap.com/irj/boc/business-objects-for-sap?rid=/webcontent/uuid/70041b55-b52a-2c10-87a3-e4fa3c3acdaa [original link is broken]
you need to have Crystal Reports, BusinessObjects Enterprise and the SAP Integration Kit.
Ingo -
Error message when trying to view/print Crystal reports in B1
I get the following Error message when trying to view/print crystal reports in SAP B1/Crystal Reports Integration Tool for SAP Business One:
" Could not load file or assembly 'Crystal Decisions Windows Forms, version=12.0.2000.0, Culture=neutral, Public Key Token=692fbea551e1304' or one of its dependencies. The system cannot find the file specified. ????Hi
Common issues for this :
1. Once you install crystall add on ,you need to go to Crystal report Administration >Account setup .
Put on the user name and password and click on creating ext tables
Try then running the report .
If not the case ,
make sure you install runtime .
You need :
1.Crystal report basic from SAP download -(Not necessary if you want only report viewer >
2.You need to have crystal integration addon (I think service pack is SP1)
3.Make sure you have runtime install
When you are installing ,make sure you restart your PC before you do or remove temporary file s
Hope this solves your issue
Bishal -
Logon fail when creating Connection in Crystal Reports SP3
Greetings,
I am working on an issue where we have installed the SAP GUI 7.10, Crystal reports 2008 SP3, and SAP IK FP 3.1.
We are testing the access to ECC. We have setup the server in the GUI and can successfully logon to the server in the GUI. We open Crystal Reports, select File -> New -> Standard Report, scroll down to SAP Table, Cluster, or Function, and the SAP System Logon window pops up.
Select the ECC system, click Next, and input the logon info for the system. Click Next and do not check the box for generating a RFC trace file, then click finish.
This results in a new window popping up. The title is Crystal Reports, and the contents of the window are as follows...
Logon failed.
Details: <bunch of Chinese characters>.<more Chinese characters>
We are using the language setting of EN on the SAP server, and in the GUI configuration. Not sure why we are getting Chinese (we have verified it as Chinese with a person here who can read some Chinese. he says that the first part is "something about server not valid")
We asked a user who does have a working install using CR 2K8 SP2 and SAP IK SP2 to try the login and he had the same results on this system.
We can use the same SAP account to login to InfoView without an issue.
Any suggestions?i had the same problem.
it has something to do with the sap gui logon settings.
1. go to your SAP logon ECC-properties (start sap-logon; right-click on your ecc connection)
2. go to the Codepage-Tab
3. set Language to default (standard)
then it should work.
br
thomas -
"Program terminated in remote system NONE: Logon failed" when adding a new table
Hello,
I set up a replication flow from a SAP ERP 6.0 EHP7 with SAP ASE 16.0 source to SAP HANA 1.0 rev 82 target
I am using a standalone SLT system NetWeaver 7.0 with DMIS 2011_1_731 (with SP 1 to 7).
I have 100 tables to replicate.
I succeeded to set up replication for 57 tables. These tables are replicating properly.
Whenever I try to add a new one (with LTRC transaction, Data Provisioning -> Start Replication), the new table is marked as 'Failed' after a little while.
When I press 'Show Error Log' button I got an obscure error message:
"Program terminated in remote system NONE: Logon failed "
I do not understand this message. I checked both on SAP ASE source and SAP HANA target. I am still able to connect against both source and target.
Can you please tell how to troubleshoot this error.
Thanks in advance,
ChristianFirst thank you for answering my questions. I really appreciate your answers.
I rechecked the documentation.
"Application Operations Guide SAP Landscape Transformation Replication Server Document Version: 2.3 – 2014-07-08"
Page 29 - 30
3.5.2.2 Data Transfer Jobs
This section explains the relationship between the number of data transfer jobs and the number of available background work process.
Data transfer and data transformation processing on SLT server system is accomplished by the background work processes of the underlying SAP NetWeaver ABAP application server. Each job occupies 1 background work process in the SAP LT Replication Server system. For each configuration, the parameter Data Transfer Jobs restricts the maximum number of data load job for each mass transfer ID (MT_ID). In total, a mass transfer ID (MT_ID) requires at least 4 background jobs to be available:
One monitoring job (master job)
One master controller job
At least one data load job
One additional job either for the migration objects definition, access plan calculation or to change configuration settings in the Configuration & Monitoring Dashboard
Example
If you set the parameter Data Transfer Jobs to 04 in a configuration “SCHEMA1”, a mass transfer ID 001 is assigned. As a result, the following jobs should be in the system:
1 Master controller job: /1LT/IUC_REP_CNTR_001
At most 4 parallel jobs for MT_ID 001: /1LT/IUC_LOAD_MT_001_001/~002/~003/~004
When configuring your data load or replication scenario, consider the following:
Do not define more data transfer jobs than the number of available application server background work processes. If all available background work processes are already occupied by jobs, any other job will have to wait until a free work process becomes available. This can lead to long wait times until a new activity (for example creating triggers) can start, and can also result in significantly increased latency times for data replication.
The number of dialog work processes in the source system corresponds 1:1 with the number of data transfer jobs in the SAP LT Replication Server system.
Besides the work processes allocated by the data transfer jobs you need to provide additional available work processes for controller and monitoring jobs, the migration objects definition, access plan calculation or to perform configuration changes, and so on.
Sizing for SAP LT Replication Server involves determining how many work processes are required to perform the initial load of data into the target system within an acceptable timeframe, and accomplish the change capturing and the transfer of data changes to the target system within expected latency times.
Ensure that you add enough additional work processes to allow other required SAP LT Replication Server jobs to run.
Finally, you map the number of required application server work processes to their system resource consumption (CPU, memory, disc space) using the formulas provided by the SLT Sizing Guide.
With the simple formula below, you can calculate the number of required application server work processes (WPs) on the SLT Server for each active SLT configuration.
The number of required work processes can be determined by adding
The Number of required data transfer jobs ,
plus one background work process for Central Master (Monitoring) Job (only one per system!),
plus one background work process for Master Controller Job,
plus 3-5 additional empty background work processes (recommended per configuration),
plus approx. 3 dialog work processes (recommended for each configuration).
Note: A lack of available free application server work processes can negatively affect the data load or data replication processes.
To summarize everything, the number of 'Data Transfer Jobs' must be set depending of the number of source tables, it is not the actual number of tables.
Assume that for my 100 tables I use 10 'Data Transfer Jobs' :
- The number of work processes on the SLT server would be 20. I took the simple formula of the documentation:
10 data transfer jobs ,
+ 1 background work process for Central Master (Monitoring) Job (only one per system!),
+ 1 background work process for Master Controller Job,
+ 5 additional empty background work processes (recommended per configuration),
+ 3 dialog work processes (recommended for each configuration).
- The number of dialog processes on the source server would be 10 ( equal to the number of 'Data Transfer Jobs')
Am I correct ?
Regards,
Christian -
Getting Logon Failed error connecting to SAP R/3 with Crystal
I have Crystal Reports 2008 and also the SAP Integration Kit installed on my desktop. I've imported the transports into my DEV and QAS systems and am trying to connect directly to R/3 from Crystal using the SAP Table, Cluster or Function choice.
I receive the error:
Logon failed. Details: You do not have the necessary rights to design reports against the SAP system. Please check with your system administrator.
I'm using a logon that has full rights within SAP. It recognizes my password because when I try a password that I know is wrong I get a different error message: Logon failed. Detail: Name or password is incorrect. I receive the same error in PRD even though I have not imported the transports into that client.
I have Crystal Server but am not trying to use that at the moment. Just Crystal Reports as a standalone product. If I've left something out please let me know.
Thank you,
Kevin ScheelerHi Kevin,
take a look at the Installation Guide for the SAP Integration Kit which includes a detailed list of authorizations per use case in the appendix
the documentation is available on help.sap.com
Ingo Hilgefort -
SAP_CMINIT3 : rc=20 Connect to SAP gateway failed when connecting SAP CR
Dear SAP Gurus,
I have the follwowing issue when I try to access SAP Crystal Reports 2011 on my desktop.
I can access the SAP ERP 6.0 back-end system without problem, but when I try to connect to SAP Crystal Reports, as soon as I enter my login details, I get the following error message:
Logon Failed.
Details: SAP_CMINIT3 : rc=20 > Connect to SAP gateway failed
Connect_PM GWHOST=192.12.353.12, GWSERV=sapgw00, SYSNR=00
LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR partner 192.12.353.12:3300' not reached
TIME Thu Oct 27 12:02:17 201
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -10
MODULE nixxi.cpp
LINE 2823
DETAIL NiPConnect2
SYSTEM CALL connect
ERRNO 10060
ERRNO TEXT WSAETIMEDOUT: Connection timed out
COUNTER 3
I can login to SAP Crystal Reports using other desktops, but cannot access using my own. This is the same for other people, they also cannot access using my desktop.
Thanks in advance, MarcHI Mark,
Are you and Ramish working together?
See this post for your answer: Connection keeps failing
Don
Maybe you are looking for
-
Helli dear Friends please help me i have macbook air and the IT HAS windows inside along with os x THE PROBLOM IS THAT Windows is realy "BLURRED" from some reason while the osx operating system is just fine !!! WHAT SHOULD I DO ?!!
-
Unable to get the Edit Original Action ID
Hi all, I am trying to intercept the Edit original and Edit with functionalities.After going through forum and samples,came to know that it is possible only by using ActionFilter. After implementing the ActionFilter ,I am able to catch Edit With>Oth
-
Can't setup our iPad as new device - resets after Find my iPad
I decided to wipe our iPad mini so I can set it up with my 4yr son's apple id from scratch. I have already set him up with apple id, apple email and he is part of my family sharing. So, when I wiped it out I proceeded with setup - all normal dialogs
-
I can't get my homepage changed.
I uninstalled IMESH but somehow it remains my homepage and firefox allows me to change my homepage, but then the next time I start firefox, IMESH pops up as my homepage.
-
Just transferred my system from Ibook to MacBook. Used Migration, for files and settings, not applications. "Space Used" info in Hard Drive states 30G. Total of all folders in Hard Drive listed in Finder states only 20G when they are totaled. Big dif