Open DB Connections
Hi
Our application was developed using the Oracle 10g JDeveloper with Oracle 10g Database.
We deployed the application in Oracle 10g Application Server. The application worked fine. I had 13 Application Modules in my application and so 13 DB Connections were opened. But only 7 of the DB Connections were closed after log off. 4 Connections were still open even after 12 hours of logging off.
When I checked the Administration Section in the Application Server, I found that 4 Application Modules in the application pool and when I clicked them to see the details, I got the following message:
javax.servlet.jsp.JspException: java.lang.reflect.InvocationTargetException: java.lang.NullPointerException: when calling oracle.jbo.server.emd.BC4JEMConsoleImpl.getAppModuleInstances
at oracle.sysman.emSDK.eml.jsp.tlb.Utils.readBeanProperty(Utils.java:379)
at oracle.sysman.emSDK.eml.jsp.tlb.TableTag.getDataSource(TableTag.java:195)
at oracle.sysman.emSDK.eml.jsp.tlb.TableTag.doEndTag(TableTag.java:884)
at ias.oracle__bc4j._poolinfo._jspService(poolinfo.jsp:59)
[ias/oracle_bc4j/poolinfo.jsp]
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:275)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:837)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:222)
at oracle.sysman.emSDK.svlt.PageHandler.render(PageHandler.java:803)
at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:426)
at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:728)
at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:307)
at oracle.sysman.eml.app.Console.doGet(Console.java:271)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:837)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
The connections got closed only after I restarted the application server.
Can anyone please let me know what would be the reason the DB connections were not closed?
Thanks
Shoba
The max capacity for a data source is per node in the cluster (if it's targeted to the cluster).
So if you have 3 data sources, with max capacity of 20 each and two nodes in your cluster you should have around 3*20*2 = 120 connections.
Of course at startup WebLogic only creates the number of connections specified in the initial capacity.
Similar Messages
-
"Failed to open the connection" problem related to multiple tables in the report?
Post Author: Gadow
CA Forum: Data Connectivity and SQL
System specifics:
Web environment using ASP.Net 2.0 (from Visual Studio 2005 Professional)
Crystal Reports 2008, v. 12.0.0.549, Full
We have set up the following method for displaying reports via our website:
User is sent to a report-specific page. The user is given some filtering options specific to the report that will be viewed. When the user has specified the data filters, the user clicks a button.
The page wraps up the report parameters -- selection query, formula values, report location, the name to be displayed, etc. -- into a class which gets put into the Session object.
The page redirects to DisplayReport.aspx. ALL reports redirect to this page.
DisplayReport.aspx retrieves the report parameters from Session. A ReportDocument object is created and loaded, then set with the data from the parameters class.
A ConnectionInfo object is created and set with the relevant log on credentials. All of the reports draw from the same database, so the connection information is hard-coded as the same for all reports. The page then iterates through all of the tables in the Database.Tables collection of the ReportDocument and calls ApplyLogOnInfo to each table using the ConnectionInfo object.
The page is rendered and the user gets the filtered report.
We currently have seven reports. Five reports work fine and display the correctly filtered data with no error messages. Two reports generate a Failed to open the connection error and do not display. I have verified that the queries being sent to DisplayReport.aspx are valid, and as I said the connection information itself is hard-coded in the one page that displays the reports and this is identical to all reports.
The five reports that do work all have a single data table, either an actual database table or a single view. The two reports that do not work all have multiple tables. As far as I can tell, this is the only difference between the sets; all seven reports are based on the same DSN and I have verified the database on all of the reports. All of the reports were written using Crystal Reports 8, and all of the reports display fine in a Windows app I wrote some years ago using Crystal Reports 8. Again, the only difference between those reports that do work and those that do not is the number of tables used in the report: one table or view in the reports that display, more than one table (tables only, none use views) in the reports that do not display.
As for the code I am using, below are the relevant methods. The function MakeConnectionInfo simply parses out the components of a standard SQL connection string into a ConnectionInfo object. DisplayedReport is the ID of the CrystalReportViewer on the page.Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs)
Dim o As Object = Session("ReportParams")
Dim ReportURL As String = ""
'Verify that there is a ReportParameters object
If o Is Nothing OrElse o.GetType IsNot GetType(ReportParameters) Then 'Redirect to the error page
Response.Redirect("/errors/MissingReport.aspx")
End If
ReportParams = CType(o, ReportParameters)
'Verify that the report exists
ReportURL = "/Reports/ReportFiles/" + ReportParams.ReportName
ReportPath = Server.MapPath(ReportURL)
If Not File.Exists(ReportPath) Then
Response.Redirect("/errors/MissingReport.aspx?Report=" + ReportParams.ReportTitle)
End If
InitializeReport()
End Sub
Protected Sub InitializeReport()
Dim RD As New ReportDocument
Dim CI As ConnectionInfo = MakeConnectionInfo(DB_Bonus)
Dim RPF As CrystalDecisions.Shared.ParameterField = Nothing
RD.Load(ReportPath)
If ReportParams.SelectString <> "" Then
Dim Adapt As New SqlDataAdapter(ReportParams.SelectString, DB_Bonus)
Dim DS As New Data.DataSet
Adapt.Fill(DS)
RD.SetDataSource(DS.Tables(0))
End If
For Each kvp As KeyValuePair(Of String, String) In ReportParams.Formulas
Dim FFD As FormulaFieldDefinition = Nothing
Try
FFD = RD.DataDefinition.FormulaFields(kvp.Key)
Catch ex As Exception
'Do nothing
End Try
If FFD IsNot Nothing Then
Select Case FFD.ValueType
Case FieldValueType.DateField, FieldValueType.DateTimeField
If IsDate(kvp.Value) Then
FFD.Text = String.Format("Date()", Convert.ToDateTime(kvp.Value).ToString("yyyy, MM, dd"))
Else
FFD.Text = "Date(1960, 01, 01)"
End If
Case FieldValueType.StringField
FFD.Text = String.Format("""""", kvp.Value)
Case Else
'For now, treat these as if they were strings. If things blow up here,
'we will need to add the appropriate formatting for the field type.
FFD.Text = String.Format("""""", kvp.Value)
End Select
End If
Next
For Each T As CrystalDecisions.CrystalReports.Engine.Table In RD.Database.Tables
Dim TLI As TableLogOnInfo = T.LogOnInfo
TLI.ConnectionInfo = CI
T.ApplyLogOnInfo(TLI)
Next
DisplayedReport.ReportSource = RD
End Sub
Does this approach not work with reports containing multiple tables, or is there something I'm missing? Any meaningful suggestions would be much appreciated.Dear Dixit,
Please refer to the Crystal report landing page to get the details
information about the support for crystal report issues.
Please use the following thread to post your questions related to
crystal report.
SAP Business One and Crystal Reports
Regards,
Rakesh Pati
SAP Business One Forum Team. -
TCP active open: Failed connect() Error: Connection timed out SMTP
Hi,
Messaging server version is,
./imsimta version
Sun Java(tm) System Messaging Server 6.2-6.01 (built Apr 3 2006)
libimta.so 6.2-6.01 (built 11:20:35, Apr 3 2006)
SunOS bglbbmr1-a-fixed 5.9 Generic_118558-28 sun4u sparc SUNW,Sun-Fire-V440
17-Dec-2008 10:47:40.08 1730.8e.741
tcp_local Q 4 [email protected] rfc822;[email protected] [email protected] /mta/queue/queue/tcp_local/013/ZUg0i1t9I0ZG~.00 <[email protected]>; TCP active open: Failed connect() Error: Connection timed out SMTP/xyz.my-domain.in
I have been getting this above error on my mail server from last
4-5 days. I am getting complaints from end users that the users can't
send any mails using Outlook but I did check with my test user I can
send mail by using webmail.
The Failed MX lookup Errors also getting in my logs the error detail given bellow.
17-Dec-2008 10:47:39.65 1730.91.737
tcp_local - Y TCP|0.0.0.0||209.85.143.114|25 SMTP/airtelmail.in/aspmx.l.google.com
17-Dec-2008 10:47:39.92 1754.41.255
tcp_notify - Y SMTP/infomedia18.in/infomedia18.in
17-Dec-2008 10:47:39.92 1754.41.256
tcp_notify Q 7 rfc822;[email protected] [email protected] /mta/queue/queue/tcp_notify/017/ZXg0i1t3U_ZoD.00 <[email protected]>; Failed MX lookup; try again later
17-Dec-2008 10:47:39.94 1754.41.257
tcp_notify Q 6 rfc822;[email protected] [email protected] /mta/queue/queue/tcp_notify/010/ZXg0i1t3U_ZoF.00 <0KBZ003MRGU7MQ30@my-domain> Failed MX lookup; try again later
I tried stopping and starting msg service using stop-msg and start-msg to sort out this above problem but no result. :(
When I do check the tcp_local queue it has been growing every day as well the tcp_notification queue also.
/opt/SUNWmsgsr/sbin/imsimta qm su
Messages
Channel Queued Size (Kb) Oldest
tcp_notify 10741 1080610.61 16 Dec, 00:59:24
tcp_local 8334 733849.31 15 Dec, 00:19:00
tcp_lmtpcn 0 0.00
tcp_be 0 0.00
reprocess 0 0.00
process 0 0.00
conversion 0 0.00
Totals 19075 1814459.92
This queues are increasing day by day.
One more thing is that I cant see a service/channel called CONVERSION running on my server when i do use this command.
ps -aef | grep conversion
root 6144 6000 0 11:14:28 pts/1 0:00 grep conversion
When i try to start it using imsimta qm utility, output shows as
qm.maint>; start conversion
QM-I-STARTED, channel was not stopped
qm.maint>;
Later I stopped and started conversion channel
qm.maint>; stop conversion
QM-I-STOPPED, channel stopped
qm.maint>; start conversion
QM-I-STARTED, channel started
qm.maint>;
I can see that on other servers the conversion channel is running and few msges are in queue. I do have other servers which running the same messaging server. But I am not getting why don't on this server. Where both servers having the same configuration.
Please, help me to sort out this issue.
Thanks in advance....
BSKThanks Mr. Shane,
The server which is running conversion channel.
ps -eaf|grep conversion
mailserv 16824 8472 3 17:08:11 ? 0:48 /opt/SUNWmsgsr/lib/conversion
mailserv 28728 8472 0 17:17:30 ? 0:00 /opt/SUNWmsgsr/lib/conversion
root 1057 26387 0 17:18:12 pts/1 0:00 grep conversion
more /opt/SUNWmsgsr/config/conversions
in-channel=*; in-type=application; in-subtype=*; in-disposition=*;
parameter-symbol-0=NAME; parameter-copy-0=*;
dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
message-header-file=2; original-header-file=1;
override-header-file=1; override-option-file=1;
command="/opt/SUNWmsgsr/private/virusscan.sh"
in-channel=*; in-type=x-zip-compressed; in-subtype=*; in-disposition=*;
parameter-symbol-0=NAME; parameter-copy-0=*;
dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
message-header-file=2; original-header-file=1;
override-header-file=1; override-option-file=1;
command="/opt/SUNWmsgsr/private/virusscan.sh"
in-channel=*; in-type=image; in-subtype=*; in-disposition=*;
parameter-symbol-0=NAME; parameter-copy-0=*;
dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
message-header-file=2; original-header-file=1;
override-header-file=1; override-option-file=1;
command="/opt/SUNWmsgsr/private/virusscan.sh"
in-channel=*; in-type=audio; in-subtype=*; in-disposition=*;
parameter-symbol-0=NAME; parameter-copy-0=*;
dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
message-header-file=2; original-header-file=1;
override-header-file=1; override-option-file=1;
command="/opt/SUNWmsgsr/private/virusscan.sh"
in-channel=*; in-type=video; in-subtype=*; in-disposition=*;
parameter-symbol-0=NAME; parameter-copy-0=*;
dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
message-header-file=2; original-header-file=1;
override-header-file=1; override-option-file=1;
command="/opt/SUNWmsgsr/private/virusscan.sh"
Following entry from /opt/SUNWmsgsr/lib/config-templates/imta_tailor
IMTA_CONVERSION_FILE=<msg.RootPathUNIX>/config/conversions
The server which doesnt show running conversion channel
#more /opt/SUNWmsgsr/config/conversions
!in-channel=*; in-type=*; in-subtype=*; in-disposition=*;
! parameter-symbol-0=NAME; parameter-copy-0=*;
! dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
! message-header-file=2; original-header-file=1;
! override-header-file=1; override-option-file=1;
! command="/opt/SUNWmsgsr/private/virusscan.sh"
in-channel=*; in-type=application; in-subtype=*; in-disposition=*;
parameter-symbol-0=NAME; parameter-copy-0=*;
dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
message-header-file=2; original-header-file=1;
override-header-file=1; override-option-file=1;
command="/opt/SUNWmsgsr/private/virusscan.sh"
in-channel=*; in-type=x-zip-compressed; in-subtype=*; in-disposition=*;
parameter-symbol-0=NAME; parameter-copy-0=*;
dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
message-header-file=2; original-header-file=1;
override-header-file=1; override-option-file=1;
command="/opt/SUNWmsgsr/private/virusscan.sh"
in-channel=*; in-type=image; in-subtype=*; in-disposition=*;
parameter-symbol-0=NAME; parameter-copy-0=*;
dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
message-header-file=2; original-header-file=1;
override-header-file=1; override-option-file=1;
command="/opt/SUNWmsgsr/private/virusscan.sh"
in-channel=*; in-type=audio; in-subtype=*; in-disposition=*;
parameter-symbol-0=NAME; parameter-copy-0=*;
dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
message-header-file=2; original-header-file=1;
override-header-file=1; override-option-file=1;
command="/opt/SUNWmsgsr/private/virusscan.sh"
in-channel=*; in-type=video; in-subtype=*; in-disposition=*;
parameter-symbol-0=NAME; parameter-copy-0=*;
dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
message-header-file=2; original-header-file=1;
override-header-file=1; override-option-file=1;
command="/opt/SUNWmsgsr/private/virusscan.sh"
Following entry from /opt/SUNWmsgsr/lib/config-templates/imta_tailor
IMTA_CONVERSION_FILE=<msg.RootPathUNIX>/config/conversions
Is this above information u r asking?
As u wrote erlier, the conversion channel works some times and some times doesn't work.
Thanks lot...
BSKADAM -
Unable to open RFC connection - Err message
I all
I am trying to install SAP ERP 2004 SR1 on Microsoft Windows Server 2003, SQL Server 2000. I have successfully installed the Central Instance but when I try to install the Database instance after the database loading the following error is given:
FRF00007 - Unable to open RFC connection.
I have also tried to start the sap system. The message_server and igswd processed run ok, but the disp+work process is stopped.
I am also sending you the developer trace for this process.
Thank you a lot
Vasil
trc file: "dev_disp", trc level: 1, release: "640"
Mon Jul 27 11:24:48 2009
kernel runs with dp version 128000(ext=102000) (@(#) DPLIB-INT-VERSION-128000-UC)
length of sys_adm_ext is 524 bytes
systemid 560 (PC with Windows NT)
relno 6400
patchlevel 0
patchno 43
intno 20020600
make: multithreaded, Unicode
pid 2668
***LOG Q00=> DpSapEnvInit, DPStart (01 2668) [dpxxdisp.c 1100]
shared lib "dw_xml.dll" version 43 successfully loaded
shared lib "dw_xtc.dll" version 43 successfully loaded
shared lib "dw_stl.dll" version 43 successfully loaded
shared lib "dw_gui.dll" version 43 successfully loaded
Mon Jul 27 11:24:53 2009
WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c 3886]
MtxInit: -2 0 0
DpSysAdmExtInit: ABAP is active
DpSysAdmExtInit: JAVA is not active
DpShMCreate: sizeof(wp_adm) 10528 (1316)
DpShMCreate: sizeof(tm_adm) 2780232 (13832)
DpShMCreate: sizeof(wp_ca_adm) 24000 (80)
DpShMCreate: sizeof(appc_ca_adm) 8000 (80)
DpShMCreate: sizeof(comm_adm) 290000 (580)
DpShMCreate: sizeof(vmc_adm) 0 (372)
DpShMCreate: sizeof(wall_adm) (38456/34360/64/184)
DpShMCreate: SHM_DP_ADM_KEY (addr: 058C0040, size: 3192688)
DpShMCreate: allocated sys_adm at 058C0040
DpShMCreate: allocated wp_adm at 058C1B58
DpShMCreate: allocated tm_adm_list at 058C4478
DpShMCreate: allocated tm_adm at 058C44A0
DpShMCreate: allocated wp_ca_adm at 05B6B0E8
DpShMCreate: allocated appc_ca_adm at 05B70EA8
DpShMCreate: allocated comm_adm_list at 05B72DE8
DpShMCreate: allocated comm_adm at 05B72E00
DpShMCreate: allocated vmc_adm_list at 05BB9AD0
DpShMCreate: system runs without vmc_adm
DpShMCreate: allocated ca_info at 05BB9AF8
DpShMCreate: allocated wall_adm at 05BB9B00
MBUF state OFF
EmInit: MmSetImplementation( 2 ).
<ES> client 0 initializing ....
<ES> InitFreeList
<ES> block size is 1024 kByte.
Using implementation flat
<EsNT> Memory Reset disabled as NT default
<ES> 1131 blocks reserved for free list.
ES initialized.
rdisp/http_min_wait_dia_wp : 1 -> 1
***LOG CPS=> DpLoopInit, ICU ( 2.6.1 2.6 4.0) [dpxxdisp.c 1462]
***LOG Q0K=> DpMsAttach, mscon ( upayweb1) [dpxxdisp.c 9736]
CCMS: Initalizing shared memory of size 60000000 for monitoring segment.
Mon Jul 27 11:24:54 2009
CCMS: start to initalize 3.X shared alert area (first segment).
DpMsgAdmin: Set release to 6400, patchlevel 0
MBUF state PREPARED
MBUF component UP
DpMBufHwIdSet: set Hardware-ID
***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c 1025]
DpMsgAdmin: Set patchno for this platform to 43
Release check o.K.
Mon Jul 27 11:25:33 2009
ERROR => W0 (pid 3740) died [dpxxdisp.c 12187]
ERROR => W1 (pid 3748) died [dpxxdisp.c 12187]
my types changed after wp death/restart 0xbf --> 0xbe
ERROR => W2 (pid 3756) died [dpxxdisp.c 12187]
my types changed after wp death/restart 0xbe --> 0xbc
ERROR => W3 (pid 3764) died [dpxxdisp.c 12187]
my types changed after wp death/restart 0xbc --> 0xb8
ERROR => W4 (pid 3772) died [dpxxdisp.c 12187]
ERROR => W5 (pid 3780) died [dpxxdisp.c 12187]
my types changed after wp death/restart 0xb8 --> 0xb0
ERROR => W6 (pid 3792) died [dpxxdisp.c 12187]
my types changed after wp death/restart 0xb0 --> 0xa0
ERROR => W7 (pid 3800) died [dpxxdisp.c 12187]
my types changed after wp death/restart 0xa0 --> 0x80
DP_FATAL_ERROR => DpWPCheck: no more work processes
DISPATCHER EMERGENCY SHUTDOWN ***
increase tracelevel of WPs
killing W0-3740 (SIGUSR2)
ERROR => DpWpKill(3740, SIGUSR2) failed [dpxxtool.c 2468]
killing W1-3748 (SIGUSR2)
ERROR => DpWpKill(3748, SIGUSR2) failed [dpxxtool.c 2468]
killing W2-3756 (SIGUSR2)
ERROR => DpWpKill(3756, SIGUSR2) failed [dpxxtool.c 2468]
killing W3-3764 (SIGUSR2)
ERROR => DpWpKill(3764, SIGUSR2) failed [dpxxtool.c 2468]
killing W4-3772 (SIGUSR2)
ERROR => DpWpKill(3772, SIGUSR2) failed [dpxxtool.c 2468]
killing W5-3780 (SIGUSR2)
ERROR => DpWpKill(3780, SIGUSR2) failed [dpxxtool.c 2468]
killing W6-3792 (SIGUSR2)
ERROR => DpWpKill(3792, SIGUSR2) failed [dpxxtool.c 2468]
killing W7-3800 (SIGUSR2)
ERROR => DpWpKill(3800, SIGUSR2) failed [dpxxtool.c 2468]
NiWait: sleep (10000 msecs) ...
NiISelect: timeout 10000 ms
NiISelect: maximum fd=1625
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Jul 27 11:25:43 2009
NiISelect: TIMEOUT occured (10000 ms)
dump system status
Workprocess Table (long) Mon Jul 27 09:25:43 2009
========================
No Ty. Pid Status Cause Start Err Sem CPU Time Program Cl User Action Table
0 DIA 3740 Ended no 1 0 0
1 DIA 3748 Ended no 1 0 0
2 UPD 3756 Ended no 1 0 0
3 ENQ 3764 Ended no 1 0 0
4 BTC 3772 Ended no 1 0 0
5 BTC 3780 Ended no 1 0 0
6 SPO 3792 Ended no 1 0 0
7 UP2 3800 Ended no 1 0 0
Dispatcher Queue Statistics Mon Jul 27 09:25:43 2009
===========================
--------++++--
+
Typ
now
high
max
writes
reads
--------++++--
+
NOWP
0
3
2000
10
10
--------++++--
+
DIA
5
5
2000
5
0
--------++++--
+
UPD
0
0
2000
0
0
--------++++--
+
ENQ
0
0
2000
0
0
--------++++--
+
BTC
0
0
2000
0
0
--------++++--
+
SPO
0
0
2000
0
0
--------++++--
+
UP2
0
0
2000
0
0
--------++++--
+
max_rq_id 13
wake_evt_udp_now 0
wake events total 9, udp 8 ( 88%), shm 1 ( 11%)
since last update total 9, udp 8 ( 88%), shm 1 ( 11%)
Dump of tm_adm structure: Mon Jul 27 09:25:43 2009
=========================
Term uid man user term lastop mod wp ta a/i (modes)
Workprocess Comm. Area Blocks Mon Jul 27 09:25:43 2009
=============================
Slots: 300, Used: 1, Max: 0
--------++--
+
id
owner
pid
eyecatcher
--------++--
+
0
DISPATCHER
-1
WPCAAD000
NiWait: sleep (5000 msecs) ...
NiISelect: timeout 5000 ms
NiISelect: maximum fd=1625
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Jul 27 11:25:48 2009
NiISelect: TIMEOUT occured (5000 ms)
Shutdown server ...
DpJ2eeDisableRestart
DpModState: buffer in state MBUF_PREPARED
NiBufSend starting
NiIWrite: write 110, 1 packs, MESG_IO, hdl 3, data complete
MsINiWrite: sent 110 bytes
MsIModState: change state to SHUTDOWN
DpModState: change server state from STARTING to SHUTDOWN
Switch off Shared memory profiling
ShmProtect( 57, 3 )
ShmProtect(SHM_PROFILE, SHM_PROT_RW
ShmProtect( 57, 1 )
ShmProtect(SHM_PROFILE, SHM_PROT_RD
DpWakeUpWps: wake up all wp's
Stop work processes...
Stop gateway
killing process (3724) (SOFT_KILL)
Stop icman
killing process (3732) (SOFT_KILL)
Terminate gui connections
[DpProcDied] Process lives (PID:3724 HANDLE:1592)
waiting for termination of gateway
NiWait: sleep (1000 msecs) ...
NiISelect: timeout 1000 ms
NiISelect: maximum fd=1625
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Jul 27 11:25:49 2009
NiISelect: TIMEOUT occured (1000 ms)
[DpProcDied] Process died (PID:3724 HANDLE:1592)
[DpProcDied] Process died (PID:3732 HANDLE:1584)
DpHalt: cancel all lcom connections
MPI CancelAll 2 -> 0
MPI DeleteAll 2 -> 0
NiIMyHostName: hostname = 'upayweb1'
AdGetSelfIdentRecord: > <
AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
DpConvertRequest: net size = 163 bytes
NiBufSend starting
NiIWrite: write 562, 1 packs, MESG_IO, hdl 3, data complete
MsINiWrite: sent 562 bytes
send msg (len 110+452) to name -, type 4, key -
detach from message server
***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c 9962]
NiBufSend starting
NiIWrite: write 110, 1 packs, MESG_IO, hdl 3, data complete
MsINiWrite: sent 110 bytes
MsIDetach: send logout to msg_server
MsIDetach: call exit function
DpMsShutdownHook called
NiSelClear: removed hdl 3 from selectset
MBUF state OFF
AdGetSelfIdentRecord: > <
AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
blks_in_queue/wp_ca_blk_no/wp_max_no = 1/300/8
LOCK WP ca_blk 1
make DISP owner of wp_ca_blk 1
DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 19)
MBUF component DOWN
NiBufClose: clear extensions for hdl 3
NiBufSetStat: bufstat of hdl 3 changed from OK to OFF
NiICloseHandle: shutdown and close hdl 3 / socket 1596
MsIDetach: detach MS-system
EsCleanup ....
***LOG Q05=> DpHalt, DPStop ( 2668) [dpxxdisp.c 8495]
Good Bye .....Hi Juan <br>
I am sending you the log from dev_w0 <br>
<br>
Thank you a lot,<br>
Vasil
<br> <br>
<br>
<br>
trc file: "dev_w0", trc level: 1, release: "640"<br>
<br>
*<br>
ACTIVE TRACE LEVEL 1<br>
ACTIVE TRACE COMPONENTS all, M<br>
*<br>
B <br>
B Mon Jul 27 11:24:53 2009<br>
B create_con (con_name=R/3)<br>
B Loading DB library 'C:\usr\sap\UFT\SYS\exe\run\dbmssslib.dll' ...<br>
B Library 'C:\usr\sap\UFT\SYS\exe\run\dbmssslib.dll' loaded<br>
B Version of 'C:\usr\sap\UFT\SYS\exe\run\dbmssslib.dll' is "640.00", patchlevel (0.43)<br>
B New connection 0 created<br>
M systemid 560 (PC with Windows NT)<br>
M relno 6400<br>
M patchlevel 0<br>
M patchno 43<br>
M intno 20020600<br>
M make: multithreaded, Unicode<br>
M pid 3740<br>
M <br>
M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 3740) [dpxxdisp.c 1160]<br>
I MtxInit: -2 0 0<br>
M DpSysAdmExtCreate: ABAP is active<br>
M DpSysAdmExtCreate: JAVA is not active<br>
M DpShMCreate: sizeof(wp_adm) 10528 (1316)<br>
M DpShMCreate: sizeof(tm_adm) 2780232 (13832)<br>
M DpShMCreate: sizeof(wp_ca_adm) 24000 (80)<br>
M DpShMCreate: sizeof(appc_ca_adm) 8000 (80)<br>
M DpShMCreate: sizeof(comm_adm) 290000 (580)<br>
M DpShMCreate: sizeof(vmc_adm) 0 (372)<br>
M DpShMCreate: sizeof(wall_adm) (38456/34360/64/184)<br>
M DpShMCreate: SHM_DP_ADM_KEY (addr: 060C0040, size: 3192688)<br>
M DpShMCreate: allocated sys_adm at 060C0040<br>
M DpShMCreate: allocated wp_adm at 060C1B58<br>
M DpShMCreate: allocated tm_adm_list at 060C4478<br>
M DpShMCreate: allocated tm_adm at 060C44A0<br>
M DpShMCreate: allocated wp_ca_adm at 0636B0E8<br>
M DpShMCreate: allocated appc_ca_adm at 06370EA8<br>
M DpShMCreate: allocated comm_adm_list at 06372DE8<br>
M DpShMCreate: allocated comm_adm at 06372E00<br>
M DpShMCreate: allocated vmc_adm_list at 063B9AD0<br>
M DpShMCreate: system runs without vmc_adm<br>
M DpShMCreate: allocated ca_info at 063B9AF8<br>
M DpShMCreate: allocated wall_adm at 063B9B00<br>
X <br>
X Mon Jul 27 11:24:54 2009<br>
X EmInit: MmSetImplementation( 2 ).<br>
X <ES> client 0 initializing ....<br>
X Using implementation flat<br>
M <EsNT> Memory Reset disabled as NT default<br>
X ES initialized.<br>
M <br>
M Mon Jul 27 11:24:55 2009<br>
M calling db_connect ...<br>
C Thank You for using the SLOLEDB-interface<br>
C Using dynamic link library 'C:\usr\sap\UFT\SYS\exe\run\dbmssslib.dll'<br>
C dbmssslib.dll patch info<br>
C patchlevel 0<br>
C patchno 43<br>
C patchcomment View with literal containing (0x60) (786638)<br>
C np:(local) connection used on UPAYWEB1<br>
C Using Provider SQLNCLI<br>
C OpenOledbConnection: MARS property was set successfully.<br>
C Provider Release:9.00.1399.06<br>
C Using Provider SQLNCLI<br>
C OpenOledbConnection: MARS property was set successfully.<br>
C Cache sizes: header 68 bytes, 20000 names (31520000 bytes), 1000 dynamic statements (5672000 bytes), total 37192068 bytes<br>
C Using shared procedure name cache UPAYWEB1_UFTUFT_UFT_MEM initialized by another process.<br>
C Connected to db server : [UPAYWEB1] server_used : [np:(local)], dbname: UFT, dbuser: uft<br>
C pn_id:UPAYWEB1_UFTUFT_UFT<br>
C Not using MARS (on sql 8.0)<br>
B Connection 0 opened<br>
B Wp Hdl ConName ConId ConState TX PRM RCT TIM MAX OPT Date Time DBHost <br>
B 000 000 R/3 000000000 ACTIVE NO YES NO 000 255 255 20090727 112454 UPAYWEB1 <br>
C The IRow interface is supported by this OLEDB provider<br>
M db_connect o.k.<br>
I MtxInit: 0 0 0<br>
M SHM_PRES_BUF (addr: 0AD60040, size: 4400000)<br>
M SHM_ROLL_AREA (addr: 5EF60040, size: 160563200)<br>
M SHM_PAGING_AREA (addr: 0B1A0040, size: 72417280)<br>
M SHM_ROLL_ADM (addr: 0F6C0040, size: 1603610)<br>
M SHM_PAGING_ADM (addr: 0F850040, size: 525344)<br>
M ThCreateNoBuffer allocated 540152 bytes for 1000 entries at 0F8E0040<br>
M ThCreateNoBuffer index size: 3000 elems<br>
M ThCreateVBAdm allocated 12160 bytes (50 server) at 0F970040<br>
X EmInit: MmSetImplementation( 2 ).<br>
X <ES> client 0 initializing ....<br>
X Using implementation flat<br>
X ES initialized.<br>
C <br>
C Mon Jul 27 11:24:58 2009<br>
C The IRow interface is supported by this OLEDB provider<br>
B db_con_shm_ini: WP_ID = 0, WP_CNT = 8<br>
C Using Provider SQLNCLI<br>
C OpenOledbConnection: MARS property was set successfully.<br>
B dbtbxbuf: Buffer TABL (addr: 146900C8, size: 30000000, end: 1632C448)<br>
B dbtbxbuf: Profile: max_objects = 5000, displace = 1, reorg = 1<br>
B dbtbxbuf: request_unit = 2000, sync_reload = 5, inval_reload = 5<br>
B dbtbxbuf: protect_shm = 0, force_checks = 0<br>
B dbtbxbuf: tsize_retry = 14304000<br>
B ***LOG BB0=> buffer TABL started with length 30000000 bytes [dbtbxbuf#7 @ 15714] [dbtbxbuf1571 4]<br>
B dbtbxbuf: Buffer TABLP (addr: 163300C8, size: 10240000, end: 16CF40C8)<br>
B dbtbxbuf: Profile: max_objects = 500, displace = 1, reorg = 1<br>
B dbtbxbuf: request_unit = 2000, sync_reload = 5, inval_reload = 5<br>
B dbtbxbuf: protect_shm = 0, force_checks = 0<br>
B dbtbxbuf: tsize_retry = 5047296<br>
B ***LOG BB0=> buffer TABLP started with length 10240000 bytes [dbtbxbuf#7 @ 15714] [dbtbxbuf1571 4]<br>
B dbtbxbuf: Reading TBX statistics:<br>
B dbtbxbuf: Opening C:\usr\sap\UFT\DVEBMGS01\data\tbxnew failed (No such file or directory).<br>
B dbtbxbuf: Renaming C:\usr\sap\UFT\DVEBMGS01\data\tbxnew to C:\usr\sap\UFT\DVEBMGS01\data\tbxstat failed (No such file or directory).<br>
B dbtbxbuf: 0 object entries precreated<br>
C sloledb.cpp [ParamStmtExec,line 11888]: Error/Message: (err 8180, sev 0), Statement(s) could not be prepared.<br>
C Procname: [##Y3UPAYWEB1uft00000037400000000002112455]<br>
C sloledb.cpp [ParamStmtExec,line 11888]: Error/Message: (err 208, sev 16), Invalid object name 'DDLOG'.<br>
C Procname: [##Y3UPAYWEB1uft00000037400000000002112455]<br>
C ParamStmtExec failed. HR 80040e14 DBSL retcode 103. stmt: [SELECT MAX(SEQNUMBER) AS c FROM DDLOG ]<br>
C Conn_i:1 selection:1 singleton:1 flag_fupd:0 use_cursor:0 chksum: 112017<br>
C DbSlRead - Error 103 (dbcode 208) on open<br>
C DbSlRead - <##Y3UPAYWEB1uft00000037400000000002112455><br>
C DbSlRead - Error 103 (dbcode 208) on fetch<br>
C DbSlRead - <##Y3UPAYWEB1uft00000037400000000002112455><br>
B ***LOG BZY=> unexpected return code 103 calling SEL [dbsynseq#1 @ 255] [dbsynseq0255 ]<br>
B db_syinit failed<br>
M *** ERROR => ThCallHooks: event handler db_init for event CREATE_SHM failed [thxxtool3.c 252]<br>
M *** ERROR => ThIPCInit: hook failed [thxxhead.c 1901]<br>
M ***LOG R19=> tskh_init, ThIPCInit ( TSKH-IPC-000001) [thxxhead.c 1359]<br>
M in_ThErrHandle: 1<br>
M *** ERROR => tskh_init: ThIPCInit (step 1, th_errno 17, action 3, level 1) [thxxhead.c 9413]<br>
M <br>
M Info for wp 0<br>
M <br>
M stat = 4<br>
M reqtype = 1<br>
M act_reqtype = -1<br>
M rq_info = 0<br>
M tid = -1<br>
M mode = 255<br>
M len = -1<br>
M rq_id = 65535<br>
M rq_source = 255<br>
M last_tid = 0<br>
M last_mode = 0<br>
M int_checked_resource(RFC) = 0<br>
M ext_checked_resource(RFC) = 0<br>
M int_checked_resource(HTTP) = 0<br>
M ext_checked_resource(HTTP) = 0<br>
M report = > <<br>
M action = 0<br>
M tab_name = > <<br>
M <br>
M *****************************************************************************<br>
M *<br>
M * LOCATION SAP-Server upayweb1_UFT_01 on host upayweb1 (wp 0)<br>
M * ERROR tskh_init: ThIPCInit<br>
M *<br>
M * TIME Mon Jul 27 11:24:58 2009<br>
M * RELEASE 640<br>
M * COMPONENT Taskhandler<br>
M * VERSION 1<br>
M * RC 17<br>
M * MODULE thxxhead.c<br>
M * LINE 9589<br>
M * COUNTER 1<br>
M *<br>
M *****************************************************************************<br>
M <br>
M PfStatDisconnect: disconnect statistics<br>
M Entering TH_CALLHOOKS<br>
M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP<br>
M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c 730]<br>
M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 252]<br>
M Entering ThSetStatError<br>
M Entering ThReadDetachMode<br>
M call ThrShutDown (1)...<br>
M ***LOG Q02=> wp_halt, WPStop (Workproc 0 3740) [dpnttool.c 357]<br> -
We need to open the connection each time you read a message from the queue?
Hi
I have a doubt regarding my queue read data that contains those I create a session and connection.
Whenever I do this or you can create a connection and get all data from the queue and then close the connection and session
eg. I have 1000 files in the queue and I read all files but without creating a session and a connection every time you get a single figure, this can be done?
I read the 1000 files without having close the session or the connection
thanks for the help.I answered myself.
No need to open a connection and a session each to be read from a data queue to extract the entire contents of the queue with only one session and open a single connection. -
Failed to open the connection. Error in the Designer when copying ...
I have two different systems I am developing an application on.
I copy the entire directory from one system to the other. Both systems have the same environment:
Visual Studio 2010
Crystal Reports for Visual Studio 2010 (the production release, or I think it is the vesion is 13.0.2.0 is the version on the assemblies)
SQL 2008 R2
Today, I started adding Crystal reports to this VS solution. I have a reportdriver class that exports all the reports to an HTTP Stream, but we can sit that aside for now. The problem I am having is strictly with the integrated designer.
I have a bunch of existing reports written for an old Sybase databse. I have ported them to SQL and the table structure matches. I simply add the report to my project, point it to the new datasource (using "Set Datasource Location" - OLE ADO SQL) and then preview the report to be sure it runs.
I am just using "localhost" as my server name for the OLE connection so I...in theory... don't have to change the data source to view it on the other system. Both systems have SQL 2008 R2 installed locally. For my login credentials, I use SQL Security and use the same database login/password on both development machines andthe production server.
Today, I copied my entire project to the other PC (as I do almost every day).. When I open any of the reports (in VS) and try to preview them I get:
Failed to open the connection.
Details: ADO Error Code: 0x80004005
Source: Microsoft OLE DB Provide for SQL Server
Description: [DBNETLIB][ConnectionOpen (Connect().]SQL Server does not exist or access denied.
SQL State: 08001
Native Error: 17 [Database Vendor Code: 17]
I can only guess that I am using two different OLE ADO drivers on the two systems or there is something embedded in the rport or somewhere in my solution that "knows" I am not really on the same system that I initially set them up on and previewd them with.
Am I on the right track? Any idea how I can fix this? Obviously, I don't want to have to setup the datasource for every report in my application (if I do that, the report works) when I copy it from the development to the production server.
I am in a real bind here and under a fast aproaching deadline. Any help is much appreciated!!!
ShayneDon't use localhost as your server name. It's a reserved name and should not be used in code.
Try this also [Kbase |http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533353333333433363339%7D.do] SAP Note 1553469 - How to enable Database logging in Crystal Reports for Visual Studio 2010
Edited by: Don Williams on Jan 30, 2011 6:02 AM -
Crystal Server 2011 "Failed to open the connection" with 32 & 64 bit drivers are loaded
Brand new installation of Crystal Reports Server 2011 with CR Developer 2011 as well. Downloaded new Postgres and MySQL drivers for both the 32 and 64 bit ODBC definitions. Created a new report on the server to eliminate any migration driver incompatibility issues. Reports run fine in Developer but give the same "Failed to open the connection."
and still problems running the reports If I Save Data with the reports, I can click View to see the data, but they will not refresh.
All the articles I'm finding online seem to point to the issue with needing 32 & 64 bit drivers, but I've loaded both and built my ODBC connections with the 32 drivers in the SysWOW64 folder.
Logged in as Administrator. Any thoughts out there? Are there some new security measures?
Thanks in advance ...Yes, Designer and CRS are on the same machine.
Good catch with the 5.1 driver. I loaded up the mysql-connector-odbc-5.1.13-win32 driver and used that. It alone failed when I made the ODBC connection with it. I see on the CRS 2011 Feature Pack 3 .pdf file that it says "Only 64-bit database connector middleware is supported" ... I downloaded the other mysql-connector-odbc-5.1.13-winx64 64bit file, but teh .msi and .zip versions failed on the load. Do I need that if it says that or should the first one be enough?
I've been trying to use a normal User DSN, no? Apparently I don't have access as a machine Administrator to do it as I get "You are logged on with non-Administrative privileges. System DSNs could not be created or modified." Having our server guys get that straightened out and we'll see. Had not heard of that actually but will give it a go.
You say I should create the DSN entries in the 64 bit version of the ODBC Data Source Administrator ... located in the system32 folder, not the SysWOW64 folder, where the 32 bit drivers are found, yes? Isn't that the "wrong" location to use I've been reading? Or are System DSNs different from a User DSN?
BIG thanks for the replies. I owe you beers!!!!! -
CRS 2008 - Failed to open the connection.
I just recently installed the evaluation of CRS 2008 onto my server. I can access every function in CMC and can see all reports that were published in InfoView. However, when I attempt to view a report, I get an error that states "Failed to open the connection. <<Report_Name.rpt>> "
The server is a Windows 2003 R2 machine, with IIS 6.0 installed.
During installation, I had checked both IIS & Java (along with the installation of Tomcat 5.5)
I also installed Crystal Reports 2008, and all reports work perfectly in the developer. The database that the reports pulls data from is a Progress 9.1D database. Could the database be an issue even though I am connecting through an ODBC?Yes, the DSN is a system DSN and is located on the server that Crystal Reports Server 2008 is installed on. The Progress driver is also loaded. That driver is the MERANT 3.60 32-bit Progress SQL92 v9.1D.
When I run the diagnostics, Web Intelligence Tier fails with the following error:
"Error creating Dataproviders. null - Error viewing Web Intelligence Document. Cannot initialize Report Engine server. (Error: RWI 00226) - Scheduling Web Intelligence Report failed. --Document: " Diagnostic Web Intelligence Document Test" not found."
I'm hoping this can shed some light on what is wrong. -
Infoviewer Error - Failed to open the connection.
Hi,
I get the below error when tring to view a report from infoviewer?
Failed to open the connection. Products.rpt Details: [Database Vendor Code: 12154 ]
Also where can i find the log files for CMC and infoviewer?
Thanks in advanceHi! I'm getting a similar error.
Re: 08004:oracleodbcoraora-12154: TNS: could not resolve the connect ....
Posted: Aug 22, 2011 5:56 PM in response to: John Fleming
Edit Reply
I am receiving a similar error.
Failed to open the connection.
Details: 08004:OracleODBCOraORA-12154: TNS:could not resolve the connect identifier specified Database Vendor Code: 12154
I've seen all sorts of discussion on the intertubes about possible fixes however, none stated are practical or they do not address my error specifically. I've exhausted resources on the net as well as those available to me.
I'm currently running SAP Crystal Reports 2011 on WIN7 64bit and using Oracle in OraClient 10g_home1.
Please let me know what insight you have. I cannot roll back to previous versions of Windows nor less encryption.
Thank you for your time.
Thank you, again, for your time.
Jeff Embree. -
Error: Failed to open the connection
Hi all,
I have use Crystal Report 2008 to construct a report which access mySQL via ODBC. HOwever, I am fail to publish it to InfoView.
It always display the following error:
ERROR [PublishingService:HandlerPool-14] BusinessObjects_PublicationAdminErrorLog_Instance_2467 - [Publication ID # 2467] - Document job "Report2a.rpt" (id 2,475) scheduling failed: Failed to open the connection. ~tmp1356563301f0e10.rpt. (FBE60502)
My BOE(XI 3.0) is installed in SUSE Linux Enterprise 9 x86 and have tested the ODBC connection via isql and it can be connected.
Can anyone help to identify the problem? Or any procedure can be provided to publish the crystal report to InfoView.
Thank you so much.Hi all,
I have use Crystal Report 2008 to construct a report which access mySQL via ODBC. HOwever, I am fail to publish it to InfoView.
It always display the following error:
ERROR [PublishingService:HandlerPool-14] BusinessObjects_PublicationAdminErrorLog_Instance_2467 - [Publication ID # 2467] - Document job "Report2a.rpt" (id 2,475) scheduling failed: Failed to open the connection. ~tmp1356563301f0e10.rpt. (FBE60502)
My BOE(XI 3.0) is installed in SUSE Linux Enterprise 9 x86 and have tested the ODBC connection via isql and it can be connected.
Can anyone help to identify the problem? Or any procedure can be provided to publish the crystal report to InfoView.
Thank you so much. -
CrystalReportViewer Failed to Open the connection Unable to retrieve Object
I am getting the following Error on trying to view a report in the CMC and the Infoview.
CrystalReportViewer
Failed to Open the connection. ReportName
Unable to retrieve Object.
Failed to open the connection. ReportName
I have recently re-installed Crystal Reports Server XI on a server after a disk failure. I had a backup of my CMS database. I reinstalled the Crystal Servwer without atttaching this database, however crystal did not create a new db so I attached my old one.
I have deleted all my old ODBC connections and recreated them with new names and then reconnected my reports in Crystal Reports XI using the "Set Datasource Location" option and the report works fine.But as soon as I try to view it after uploading it as an object onto the server, I get the above error.
Any help would be appreciated.I am tagging into this unanswered question as well because I think I have a similar issue. In my case I have a report which runs correctly in Crystal Reports designer but when I move it to the scheduler it fails on a "Failed to connect" to the report. In have used "Set data location" to no avail. When I go to Admin Tools and look at the complete list of datasources for all my reports this particular datasource is listed twice. The group of reports under one of the datasources works correctly. The reports listed under the second datasource all fail. The two datsources are spelled exactly the same and when I sompare the database details for a successfull and a failing report using this datasource they are the same (in the console and in infoview).
I have also checked the ODBC connections on the Crystalserver and there is only one occureence.
Any ideas?
Thanks! -
Getting the following error when running CR2008 reports from web server:
"Failed to open the connection. Failed to open the connection. <report_name>{2585477E-FB02-4594-9DB5-FFBFF2ABE124}.rpt"
The web server is a Windows Server 2008 x64. The IIS7 application pool is configured for 32bit, which solved our initial problem. We are getting the above error if we use either CR2008 or CR2008 SP1. Same issue with CRRuntime_12_1_mlb.exe.
If we load CR2008 onto the web server, we can open and run the reports. Thus, there appears to be no problem with the reports or the data source (an Access database). Web application runs on development machine (windows xp).
Why is there a GUID in the report file name? How can we resolve this issue or what else should we check?
TIA, Gary.Figured it out. Turns out the ODBC data source name had been setup incorrectly. Became obvious when stepping through the code.
-
Error"Failed to open the connection" - Named Instance of SQL Server 2005
"Failed to open the connection" error, when connecting to the Named Instance of SQL Server 2005
The report is throwing error, when changing the logon information dynamically through C#.
Code
string reportPath = @"D:\NET\TestReport\TestReport.rpt";
ReportDocument reportDocument = new ReportDocument();
reportDocument.Load(reportPath);
foreach(CrystalDecisions.CrystalReports.Engine.Table table in tables)
TableLogOnInfo tableLogonInfo = table.LogOnInfo;
tableLogonInfo.ConnectionInfo.ServerName = @"TestServer\Instance1"; //Connnecting to Named instance of SQL Server 2005
tableLogonInfo.ConnectionInfo.UserID = "sa";
tableLogonInfo.ConnectionInfo.Password = "password";
tableLogonInfo.ConnectionInfo.DatabaseName = "TEST_DB";
table.ApplyLogOnInfo(tableLogonInfo);
crystalReportViewer1.ReportSource = reportDocument;
Error Message
Failed to open the connection.
Failed to open the connection.
C:\DOCUME1\PUGALE1\LOCALS~1\Temp\{DF9593A5-5C80-4CBC-ABC3-EC4EF204A7EB}.rpt
The error is occuring only whenever i am connecting to the Named Instance of SQL Server 2005.
Thanks in Advance
Edited by: pugalendran p on Feb 2, 2009 10:32 AM
Edited by: pugalendran p on Feb 2, 2009 10:43 AMHi,
Following solution might help you to resolve the issue.
Solution1:
Issue happens because universe connection to the Database is not responding and the Data Source Name is not configured to write SQL Server 2005 database.
Resolution
Created new DSN connection under SYSTEM DSN to SQL Server 2005 Database.
Import the universe from the designer.
Go to File->Parameters.
Edit Connection.
On the Database Middleware Page expand SQl Server 2005->Select SQL Server 2005 driver.
Change the DSN to new DSN connection
Test the connection.
Save the Universe and Export it to the repository.
Solution2:
I am taking Oracle as an example over here.
This can be caused when the SQLNET.ora is located in a remote location using mapped drives.
Resolution
To resolve,
check the registry [HKLM\SOFTWARE\ORACLE] you should see a folder called HOME0
look for any paths that contain a mapped drive partition
Change the mapped drive letter to a UNC path (
server\folder)
Open a command prompt and do a tnsping using the tnsname and verify the location of the SQLNET.ora or TNSNAMES.ora
If the path is not updated to the new path
Reboot the server
Regards,
Sarbhjeet Kaur -
Getting Error:Failed to open the connection while calling crystal report
I am getting the below error while calling the crystal report from dot net app. I am using OLEDB to connect to database. It is working perfectly in our DEV environment but as soon as I move it to production information after changing the logon information in the report it start giving the below error.
Failed to open the connection.C:\WINDOWS\TEMP{C2FD97D9-2ADE-41BB-88FF-23A4DF20BC6F}.rpt
Details: [Database Vendor Code: 17 ]Are you able to connect to the database from the production machine using a UDL file?
If you haven't tried this, here's how to do it. Take these steps on the machine that is hosting the application. Create a new text file on the desktop. Change the file extension to ".udl" (without the quotes). Double-click on this to bring up the OLEDB connection test: start on the Provider tab and select the appropriate provider. Click "Next" and on the following tab enter your connection information. Click the "Test Connection" button to test the connection. Does it connect to the database successfully?
If you click on "OK" to close the dialog and then open the UDL file with Notepad, you should see an OLEDB connection string. In this string should be the same property values for server, database, user id and password which you are providing through your application. If they are not the same, modify your application to use these values.
If testing your connection information with the UDL file works but your application is still failing when using the same credentials, try profiling or tracing the database. Do you see connection attempts from the application? Are there any errors?
If you're impersonating, have you set up windows authentication correctly for both the application and the database? -
Crystal report Error "Failed to open the connection."
I have an ASP.NET application that access a database through ODBC. There is a problem when I run Crystal Report " Failed to open the connection. Failed to open the connection". Can someone tell me how can i overcome ths problem.
Moved to .NET SDK forum.
Search here, lots of posts on how to debug database access through a WEB app.
Don -
CR2008:Failed to open the connection. Failed to open the connection. Report
Hi,
I've just upgraded from Crystal XI R2 to Crystal 2008. All my reports open happily in Crystal 2008. I have also deployed the Crystal 2008 runtime to a Windows 2003 SP2 R2 server running ASP.NET 1 and ASP.NET 2. Before the Crystal 2008 runtime was installed on top of the already present Crystal XI R2 Runtime I could view RPT files via the .NET report viewer (version XI). Now that Crystal 2008 runtime is installed I receive an error message when I try to view the reports, again, via the .NET report viewer (version 12), although no code has changed apart from all references changed from XI to 2008.
Code is:
CrystalDecisions.CrystalReports.Engine.ReportDocument oReportDocument = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
oReportDocument.Load(sReportFilename);
Tables oTables = oReportDocument.Database.Tables;
foreach (CrystalDecisions.CrystalReports.Engine.Table oTable in oTables)
TableLogOnInfo crTableLogOnInfo = oTable.LogOnInfo;
crTableLogOnInfo.ConnectionInfo.IntegratedSecurity = true;
crTableLogOnInfo.ConnectionInfo.DatabaseName = "DB" ;
crTableLogOnInfo.ConnectionInfo.ServerName = "server" ;
oTable.ApplyLogOnInfo(crTableLogOnInfo);
CrystalReportViewer1.ReportSource = oReportDocument;
this.DataBind();
Error message is: 'Failed to open the connection. Failed to open the connection'.
Any help would be great.
Regards
TonyYou are correct in that there are no database connectivity changes in CR 2008.
If you do not have SP0 for CR 2008, download it from here:
https://smpdl.sap-ag.de/~sapidp/012002523100007528552008E/cr2008_sp0.zip
If that does not help, I'd like to check if the correct dlls are loading when using CR 2008. To do that, download the modules utility from here:
https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip
Then do the following:
1) unzip the download
2) Run the app with the CR 2008 references
3) get the error. leave the error on the screen
4) Start modules
5) Go to the File menu, select New List -> Memory Modules
6) Expand "By process"
7) Find the app exe (or the .NET dev env)
8) Click on that
9) Go to the View menu and select Details
10) Look to see if there are any dlls loading form the CR XI r2 directory (c:\Program files\Business Objects\Common\3.5\bin)
Ludek
Maybe you are looking for
-
Hello there my problem is as stated above It's very annoying, because I can't do anything while my iPod is charging, I have no idea why and I'm very irritated as this is absolutely ridiculous -.- If anyone knows why this keeps happening and can help
-
Can You Change The Video Thumbnail In iTunes?
I have a few home made videos that are loaded on my itunes Movies. I would like to change the thumbnail view that iTunes displays. I know how to add thumbnail artwork by right clicking on the video file and selecting get info, but that is not what I
-
Special characters in search help
Hello Everybody I am having a problem with an SAP standard search help in polish language. As an example in transaction XD03 I use the F4 button to start a search and then use the register "Customers (general)". Of course I am logged in with PL (poli
-
Error: Cannot Display page
Hi All, I have a heavy transaction page with many LOVs, tables and view links. User would take more than 4-5 minutes to fill in all details. But I frequently get the following error when I am idle for 4 minutes. I specifically get error when I select
-
When I try to share a project to theater I get the message Your Theater could not be opened.There was a problem reading your movies from iCloud and the project does not share. Can anyone help?