Deadlocked error message when running crystal report

Hi All,
I need a bit of guidance as to the following problem.
Seems there is a lock being created in SQL when running some crystal reports.
When trying to run a report the following message is displayed:
Database connection Error L 'ADO Error Code: 0x
Source: Microsoft SQL Native Client
Description: Transaction (Process ID 302) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
SQL State: 40001
Native Error: [Database Vendor Code: 1205 ]'
The error is happening intermittently when refreshing the report. It does not seem to happen when no users are using the system.
Is there any way to stop this from happening? Or is this some kind of limitation with crystal and how it accesses the database?
Many Thanks,
Matt

Hi Matt
I have had this problem with long running queries as well.  I ended up doing the main part of the query in a view using WITH (NOLOCK) for each table and then reporting on the view.
This had extra benefits of making the report much simpler and often making the query more efficient and easier to test as well.
Rob

Similar Messages

  • Unusual error message when running any report on R12 (fresh installation)

    Hi,
    I managed to install R12 on W2k3 finally and got several problems since. Now I am getting below message in log file, every time I run any report. It seems it works for other other concurrent programs (tried Workflow Definitions Loader). Below log is for the report run in AP module, but I also tried others and they do not work.
    Payables: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    APXBABAL module: Bank Account Listing
    Current system time is 23-JUL-2011 19:57:52
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_ORDER_BY_PAR='Bank,Branch,Account Name'
    P_BANK_ACCOUNT_PAR='Both'
    P_EFFECTIVE_DATE='2011/07/23 00:00:00'
    P_SET_OF_BOOKS_ID='125'
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.WE8MSWIN1252
    LOG :
    Report: j:\oracle\VIS\apps\apps_st\appl\ap\12.0.0\reports\US\APXBABAL.rdf
    Logged onto server:
    Username:
    Program exited with status 1
    Cause: The program terminated, returning status code 1.
    Action: Check your installation manual for the meaning of this code on this operating system.
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 5812766.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 23-JUL-2011 19:57:55
    Any idea what is wrong? Any additional steps after installing? Some service need to run?
    Regards
    Piotr

    Any idea what is wrong? Any additional steps after installing? Some service need to run?Can you reproduce the issue with "Active Users" or "Active Responsibilities" concurrent programs?
    Have you defined a dummy printer at the OS level? If not, please do so and check then (bounce the CM before submitting the request again).
    Thanks,
    Hussein

  • ERROR MESSAGE WHEN  RUNNING THE REPORT

    Hi Team
    REP-0118: Unable to create a tempory file i am getting error when i am runnig the report ,
    It is not problem in my system, i check in other system also same problem is comming
    What to do?
    Thanks

    Hello,
    CHeck the value of REPORTS_TMP.
    Else, you can test with rwrun60 / rwrun and use tools like :
    Windows : filemon
    UNIX : truss / strace
    To get more info about this error
    Regards

  • Error Message when running BI Publisher

    Hi-
    Getting the following error message when running a custom report, report has been defined but still getting the error message in HCM 9.2 with PeopleTools 8.53
    Template definition MAC_CONF_STM not found in the report definition. (235,2012) PSXP_RPTDEFNMANAGER.ReportDefn.OnExecute Name:GetTemplate PCPC:15048 Statement:325
    Called from:PSXP_RPTDEFNMANAGER.ReportDefn.OnExecute Name:GetTemplateRuntime Statement:1778
    Called from:PSXP_RPTDEFNMANAGER.ReportDefn.OnExecute Name:ProcessReport Statement:1115
    Called from:BA_VALIDATION.ConfirmStmtPrint.OnExecute Name:PrintConfirmStmt Statement:53
    Called from:W3EB_ENR_SUMMARY.GBL.W3EB_ENR_PB_WRK.ODEM_CONF_STMT_PB.FieldChange Statement:2
    Any idea regarding the error message
    Regards,
    MACD

    Did your custom report ever ran successfully in the environment you are getting the error.
    Most of the time not all the report definition and associated definitions are migrated to the next environment.
    Have a look at following doc:
    E-BI/XMLP: How To Migrate BI/XML Publisher File Definition Objects? (Doc ID 659919.1)

  • Error message when running the FSPCCURR - PS/Fin MultiCurrency Process

    error message when running the FSPCCURR - PS/Fin MultiCurrency Process
    =====================================================
    2011-03-21-17.21.39.660000 INFO(5870,1) PI(785156) Program(FSPCGLMC) GL MultiCurrency processing has begun.
    2011-03-21-17.21.40.820000 INFO(5870,4) PI(785156) Program(FSPCSTEP) Beginning processing, Step CURPER in Group NONREVAL for Business Unit NAMER.
    2011-03-21-17.30.14.520000 INFO(5870,4) PI(785156) Program(FSPCSTEP) Beginning processing, Step USD_USD in Group NONREVAL for Business Unit NAMER.
    2011-03-21-17.30.53.000000 SEVERE ERROR IN PGM:(5870,58) PI(785156) Program(FSPCPROC) Edit journal fails for Business Unit NAMER and Step USD_USD.

    Hi 841037,
    We are facing this same issue in our environment. We are on FSCM 9.1 bundle #24.Please let me know how you resolved this issue at your end. Any help or pointers regarding this issue is highly appreciated. Thanks.

  • Error message when running form

    hi everybody,
    im getting this error message when running a simple form.
    Positional Parameter after key command line.
    Can anyone please help.
    thnk u

    Check the path to your form. Forms does not like spaces in the path or fmx filename, but the error doesn't explain the problem at all!

  • I get an error message when running a back-up from my Macbook Pro: The backup disk image Macbook.sparsebundle could not be accessed (error-1) and the backup did not complete? What is the issue?

    I get an error message when running a back-up from my Macbook Pro: The backup disk image Macbook.sparsebundle could not be accessed (error-1) and the backup did not complete? What is the issue?

    Try Here  >  http://pondini.org/TM/C12.html
    More Info here  >  http://pondini.org/TM/Time_Capsule.html

  • Receiving Error Message when running sh rep_populate.sh

    Following directions at http://www.oracle.com/technology/tech/linux/htdocs/yum-repository-setup.html
    Receiving Error Message when running sh rep_populate.sh trying to create local yum repositories and configure up2date and yum to install and update packages from them.
    THIS PROGRAM IS DEPRECATED!
    You should be generating xml metadata instead.
    Please see http://linux.duke.edu/metadata
    After executing following instructions and replacing server name with our server name.smmj.com
    Client Setup
    1. Import the GPG key
    rpm --import /usr/share/rhn/RPM-GPG-KEY
    2. Configure up2date to use the yum repository. Edit /etc/sysconfig/rhn/sources. Comment out line
    up2date default
    to
    #up2date default
    and add the following lines. Replace <repository_server> with the hostname of the machine that is hosting the yum repository. Comment and uncomment individual repositories as needed.
    Enterprise Linux 5
    (commented uncommented)yum el5_$ARCH_latest http://<repository_server>/yum/EnterpriseLinux/EL5/latest/$ARCH/
    (commented uncommented)yum el5_$ARCH_addons http://<repository_server>/yum/EnterpriseLinux/EL5/addons/$ARCH/
    #yum el5_$ARCH_oracle http://<repository_server>/yum/EnterpriseLinux/EL5/oracle/$ARCH/
    #yum el5_ga_$ARCH_base http://<repository_server>/yum/EnterpriseLinux/EL5/ga/base/$ARCH/
    #yum el5_u1_$ARCH_base http://<repository_server>/yum/EnterpriseLinux/EL5/1/base/$ARCH/
    #yum el5_u2_$ARCH_base http://<repository_server>/yum/EnterpriseLinux/EL5/2/base/$ARCH/
    #yum el5_u3_$ARCH_base http://<repository_server>/yum/EnterpriseLinux/EL5/3/base/$ARCH/
    #yum el5_ga_$ARCH_patch http://<repository_server>/yum/EnterpriseLinux/EL5/ga/patch/$ARCH/
    #yum el5_u1_$ARCH_patch http://<repository_server>/yum/EnterpriseLinux/EL5/1/patch/$ARCH/
    #yum el5_u2_$ARCH_patch http://<repository_server>/yum/EnterpriseLinux/EL5/2/patch/$ARCH/
    #yum el5_u3_$ARCH_patch http://<repository_server>/yum/EnterpriseLinux/EL5/3/patch/$ARCH/
    and running additional instructions
    2. Run up2date to install python-urlgrabber.
    up2date -i python-urlgrabber
    Receiving following error
    There was some sort of I/O error: <urlopen error (-2, 'Name or service not known')>
    Further when trying to replace /etc/yum.repos.d/ULN-Base.repo ULN-Base.repo unable to find file, file that is there
    is called public-yum-el5.repo
    Made following changes in that file
    Enterprise Linux 5
    [el5_latest]
    name=Enterprise Linux $releasever - $basearch - latest
    baseurl=http://<repository_server>/yum/EnterpriseLinux/EL5/latest/$basearch/
    gpgcheck=1
    enabled=1
    [el5_addons]
    name=Enterprise Linux $releasever - $basearch - addons
    baseurl=http://<repository_server>/yum/EnterpriseLinux/EL5/addons/$basearch/
    gpgcheck=1
    enabled=0
    [el5_oracle]
    name=Enterprise Linux $releasever - $basearch - oracle
    baseurl=http://<repository_server>/yum/EnterpriseLinux/EL5/oracle/$basearch/
    gpgcheck=1
    enabled=0
    [el5_ga_base]
    name=Enterprise Linux $releasever GA - $basearch - base
    baseurl=http://<repository_server>/yum/EnterpriseLinux/EL5/ga/base/$basearch/
    gpgcheck=1
    enabled=0
    [el5_u1_base]
    name=Enterprise Linux $releasever U1 - $basearch - base
    baseurl=http://<repository_server>/yum/EnterpriseLinux/EL5/1/base/$basearch/
    gpgcheck=1
    enabled=0
    [el5_u2_base]
    name=Enterprise Linux $releasever U2 - $basearch - base
    baseurl=http://<repository_server>/yum/EnterpriseLinux/EL5/2/base/$basearch/
    gpgcheck=1
    enabled=0
    [el5_u3_base]
    name=Enterprise Linux $releasever U3 - $basearch - base
    baseurl=http://<repository_server>/yum/EnterpriseLinux/EL5/3/base/$basearch/
    gpgcheck=1
    enabled=0
    [el5_ga_patch]
    name=Enterprise Linux $releasever GA - $basearch - patch
    baseurl=http://<repository_server>/yum/EnterpriseLinux/EL5/ga/patch/$basearch/
    gpgcheck=1
    enabled=0
    [el5_u1_patch]
    name=Enterprise Linux $releasever U1 - $basearch - patch
    baseurl=http://<repository_server>/yum/EnterpriseLinux/EL5/1/patch/$basearch/
    gpgcheck=1
    enabled=0
    [el5_u2_patch]
    name=Enterprise Linux $releasever U2 - $basearch - patch
    baseurl=http://<repository_server>/yum/EnterpriseLinux/EL5/2/patch/$basearch/
    gpgcheck=1
    enabled=0
    [el5_u3_patch]
    name=Enterprise Linux $releasever U3 - $basearch - patch
    baseurl=http://<repository_server>/yum/EnterpriseLinux/EL5/3/patch/$basearch/
    gpgcheck=1
    enabled=0
    Then ran following commands
    up2date -u
    Output
    There was some sort of I/O error: <urlopen error (-2, 'Name or service not known')>
    yum update
    http://<ice.smmj.com>/yum/EnterpriseLinux/EL5/addons/x86_64/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
    Trying other mirror.
    http://<ice.smmj.com>/yum/EnterpriseLinux/EL5/latest/x86_64/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
    Trying other mirror.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: el5_latest. Please verify its path and try again
    We would like a simple and correct way of doing this or we will be forced to switch to another os and another provider
    Thanks, for your help

    We purchased Licensed version of Red Hat Linux Oracle for our network server. My boss wanted a simple way of installing Samba on it so that the server can be used for file and printer sharing. We have an active directory on our network and couple of other Windows servers as well as other Red Hat servers. He wants to install Samba on that licensed version so that it can primarily be used for file storage and sharing, he wants to be able to connect with gui type interface to this server from windows machines and linux machines and he wants for this Red Hat Linux Oracle machine to show up in active directory.
    Aparently when we went to Applications, Add Remove Software in Red Hat Fedora Samba was not in there.
    When we go to System, Administration, Server Settings, Services, Samba is also not there.
    Nowhere can we find an easy way of installing samba on this Linux OS.
    I went to your site, signed in, (previously there was only 1 channel available there, I have just recently found and added all the channels that were aplicable to our system) and downloading them now to another version of the same type of Licensed Red Hat Linux Oracle. Hopefully when I use Software Updater in System Tools it will load the packages we are loking for (from the channels I selected on your website). Once that is done I think I could just go to add remove software and install the packages that I need from there.
    I am still not sure why I set out to install repositories on this version of Linux, perhaps I mistakenly thought that once everything is installed (according to directions at http://www.oracle.com/technology/tech/linux/htdocs/yum-repository-setup.html) on the machine in question I would be able to use that same machine to get the packages for that same machine. We were in such a rush and desperate to put the server on to the network it did not dawn on me that this scenario is designed to have one serve on the network that holds repositories and other machines connect to it for packages.
    I think I am on the right track in my logic, log in to your site with the CSI number, user name and password, select ALL the channels versus only one, save the search, then from the machine update packages, then add new software and Samba Should be in there. I would like to hear your thoughts on this.
    This version of Linux seem like a very reliable version of OS and I would hate to give up on it, especially since we already bought licenses for it, its just that we don't have that much experience with it and I would upreciate all the info that you can give us for it. I am sure that everyone at SMMJ will upreciate you for it.

  • Error message when running Transaction Code = ME84

    hi,
    i am getting an error message when running Transaction Code = ME84
    Error is 'No processing (error message P5 017), No data for chosen selection'
    can someone please guide me on this ?

    Hi Mahendra,
    There are several reasons for the release not happeneing.
    1. The issue could be in the selection of release type
    2. Scope of selection
    3. Strategy profile
    Please check whether the selection parameters are considered are right for release to happen.
    Regards,
    Harish

  • Error when running crystal report

    i saw the error in log file 'Only TrueType fonts are supported. This is not a TrueType font' and 'Error while running Crystal report'
    Help me to fix this problem.Thanks inadvanced.
    I used some software developed in vb6.It changed some system font when running :D.
    i want to run both that soft   and sap.

    Hi,
    Please refer to the link, [Re: CR XI R2, Crystal Report Viewer Opentype Font not supported|Re: CR XI R2, Crystal Report Viewer Opentype Font not supported].
    What is the version of your crystal report, we will try to apply some service packs.
    Regards,
    Clint

  • Error message when run a query

    I got an error message when I run one of the query on the portal:
    Root Cause
    The initial exception that caused the request to fail was:
    Termination message sent
    INFO
    No connection to system BI_SAP_QUERY available
    com.sap.ip.bi.shared.SharedText system_not_found
    BI_SAP_QUERY
    No connection to system BI_SAP_QUERY available
    com.sap.ip.bi.shared.SharedText system_not_found
    BI_SAP_QUERY
    ABEND BRAIN (892): 1 SIDs from characteristic USITM are missing (CL_RSDM_READ_MASTER_DATA->_SIDVAL_DIRECT_READ2)
      MSGV1: 1
      MSGV2: USITM
      MSGV3: CL_RSDM_READ_MASTER_DATA->_SIDVAL_DIRECT_READ2
    What problem is this? How to fix it? Thanks in advance!

    Hi Zheng,
    Import Support Package 04 for Release 3.50 (BW3.50 Patch 04 or SAPKW35004) into your BW system. The Support Package will be available when note 0693494 with the short text "SAPBWNews BW 3.50 Support Package 04", describing this Support Package in more detail, is released for customers.
    Regards,
    Anil

  • Error message when running updates

    I keep getting an error message when updating my CS programs. "This update from the internet cannot be completed. Please try again later."
    I bought a Canon 6D and the Adobe Camera Raw won't work because it isn't the latest version and that it needs the latest PS version to run the latest Raw version and I can't get either update. Help?

    Cameras by ACR version:  Camera Raw plug-in | Supported cameras
    Programs by ACR version: Camera Raw-compatible Adobe applications
    You should be able to update CS5 without getting an error which is ostensibly what this thread is about, but you are correct in needing CS6 to use ACR 7.3 which is the minimum version of ACR that supports the 6D natively.  You can use the DNG Converter to make DNGs that the older ACR will read, but that has nothing to do with images already processed in LR, because LR knows newer adjustments than your CS5's ACR 6 does.
    To go from LR to PS you'll need to use Edit In PS CS5 and when you see the message about ACR being too old, choose Render using LR Adjustments and Don't Ask Again if that is also an option.  This will cause LR to render a TIF or PSD (whatever you've chosen in the External Editing area of LR Preferences).  If you don't see a message about ACR being too old because you've selected Don't Ask Again previously then you can click the Reset Warning Dialogs button in Preferences and get a chance to answer the question differently if need be.

  • Error message when running Business rules

    Hello,
    We are having the following error message when launching the business rules; cannot calculate - analytic server error (1013131): Failed to start Asynchonous thread. When looking att he Essabse log, we find the following errors around the same time we got this error:
    [Wed May 06 22:01:45 2009]Local/ESSBASE0///Info(1051037)
    Logging out user [brlpo], active for 63 minutes
    [Wed May 06 22:02:45 2009]Local/ESSBASE0///Info(1051001)
    Received client request: Get Substitution Variable (from user [essbaseadmin])
    [Wed May 06 22:02:45 2009]Local/ESSBASE0///Error(1051083)
    Substitution variable AOP.Finance.CurrFcst does not exist
    [Wed May 06 22:02:45 2009]Local/ESSBASE0///Warning(1051003)
    Error 1051083 processing request [Get Substitution Variable] - disconnecting
    [Wed May 06 22:02:45 2009]Local/ESSBASE0///Info(1051001)
    Received client request: Get Substitution Variable (from user [essbaseadmin])
    [Wed May 06 22:02:45 2009]Local/ESSBASE0///Info(1051001)
    Received client request: Get Substitution Variable (from user [essbaseadmin])
    [Wed May 06 22:02:45 2009]Local/ESSBASE0///Error(1051083)
    Substitution variable AOP.Finance.Curryr does not exist
    [Wed May 06 22:02:45 2009]Local/ESSBASE0///Warning(1051003)
    Error 1051083 processing request [Get Substitution Variable] - disconnecting
    Would you have an idea of reason of error code?
    Thierry

    Hi,
    Looks like the substitution variables its looking for are missing.
    Can you check that?
    Regards,
    Amol

  • Error when run crystal report viewer page

    Hi I created form using vb 2008 contains crystalreportviewer and in load sub I wrote the following code to show the report:
    Dim r_select As String
        Dim MyReport As New CrystalDecisions.CrystalReports.Engine.ReportDocument
        Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
            r_select = "Select Innovative_Form.* from Innovative_Form"
            Dim da As OleDbDataAdapter = New OleDbDataAdapter(r_select, System.Configuration.ConfigurationManager.ConnectionStrings("ConnectionString").ToString())
            Dim da33 As New System.Data.DataSet
            da.Fill(da33, "DataTable1")
            MyReport.Load(Server.MapPath("CrystalReport.rpt"))
            MyReport.SetDataSource(da33)
            Me.CrystalReportViewer1.ReportSource = MyReport
            Me.CrystalReportViewer1.DisplayGroupTree = False
            Me.CrystalReportViewer1.DataBind()
            Me.CrystalReportViewer1.ShowFirstPage()
        End Sub
    when run I got the following error
    Server Error in '/Innovation Last Version-10-1-10' Application.
    Object reference not set to an instance of an object.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
    Source Error:
    Line 34:
    Line 35:
    Line 36:         Dim da As OleDbDataAdapter = New OleDbDataAdapter(r_select, System.Configuration.ConfigurationManager.ConnectionStrings("ConnectionString").ToString())
    Line 37:
    Line 38:
    Source File: C:\Users\kisruser\Desktop\PROJECTS\Innovate Project\Innovation Last Version-10-1-10\Report.aspx.vb    Line: 36
    Stack Trace:
    [NullReferenceException: Object reference not set to an instance of an object.]
       Report.Page_Load(Object sender, EventArgs e) in C:\Users\kisruser\Desktop\PROJECTS\Innovate Project\Innovation Last Version-10-1-10\Report.aspx.vb:36
       System.Web.UI.Control.OnLoad(EventArgs e) +99
       System.Web.UI.Control.LoadRecursive() +50
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
    Version Information: Microsoft .NET Framework Version:2.0.50727.4200; ASP.NET Version:2.0.50727.4016
    SO WHAT IS THE PROBLEM?????

    What version of CR are you using?
    What CR updates are you using?
    See sample apps here:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
    in particular check out vbnet_win_pass_dataset_main_sub.zip
    The [Crystal Reports for Visual Studio 2005 Walkthroughs|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2081b4d9-6864-2b10-f49d-918baefc7a23] will also be good to look at.
    Ludek
    Follow us on Twitter
    http://twitter.com/SAPCRNetSup

  • Error when run crystal report with store procedure in JSP

    I try to run report which is developed by crystal report XI and store procedure (SQL 2005) with JSP.
    But it occurs error that is "com.crystaldecisions.reports.reportengineinterface.JPEReportSource - failed to process getPage request: No results were returned by the query."
    How can I do for solving this problem? Pls, help me !!!!!
    (In other report which is not used store procedure I can run fine.)
    Message was edited by:
    Bonds_Identity

    What version of CR are you using?
    What CR updates are you using?
    See sample apps here:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
    in particular check out vbnet_win_pass_dataset_main_sub.zip
    The [Crystal Reports for Visual Studio 2005 Walkthroughs|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2081b4d9-6864-2b10-f49d-918baefc7a23] will also be good to look at.
    Ludek
    Follow us on Twitter
    http://twitter.com/SAPCRNetSup

Maybe you are looking for

  • CIN tax procedure TAXINN

    hi all, in Logistics - General - Tax on Goods Movements - India - Basic Settings - Determination of Excise Duty - Select Tax Calculation Procedure if i choose to have tax procedure TAXINN, in Logistics - General - Tax on Goods Movements - India - Bas

  • Is there a way I can connect my mp3 player to my AV Receiv

    Is there a type of wiring that I need to buy? Can anyone help me?

  • Custom transfer in File Format

    Hi, I have this need to use the SFTP to get the txt files from a UNIX system and the Data Services is in the windows. The SFTP exe is stored in the unix server Any Suggestion of how to go through with this.

  • Playback loop dropping out  before end of song!!  Please help!!

    Just started using mainstage 2 (latest version). I'm trying to set up some playback to perform live with, but for some strange reason, some of the playback stems always drop out before the end of the song. (usually 2 t 4 bars before ending.) It happe

  • IPhone 3GS poor performance following update

    I had a perfectly good iPhone 3GS which is now performing very poorly after IOS 6.1.6 update. Pls advise how to return it to former abilities.