Crystal reports 10 and Enterprise sql nolock

Post Author: Dis1931
CA Forum: Data Connectivity and SQL
Occasionally we have an issue where it seems the Crystal Reports Enterprise server causes a lock on one of our databases.  Doesn't happen all the time and we have not been able to narrow it down.  This prevents all users from connecting to the database and working...this is obviously not good.  When we find out we kill the PID in sql that is causing the lock.  Then all is fine. 
My question is whether there is a way to perform a query using nolock in Crystal Reports 10 or of configuring it on the Enterprise server?  Is this called something else in Crystal? 
I realize that this could lead to reading uncommitted data or that data may change while I am reading it, etc...but I would rather have a bad report every once in a while than to have it lock up the database every once in a while.  If there are other problems resulting from using nolock or a similar command let me know.  Is this possible? 
I looked into connection strings as well and couldn't find a way to specify locking or in this case no locking. 
I would change the SQL query in Crystal Reports but this functionality seems to have been removed since version 8.5.  If there is a way to edit the query directly that would be acceptable as well.
Any help would be greatly appreciated.  Thanks in advance.

Post Author: kevans
CA Forum: Data Connectivity and SQL
Did you ever find a solution to this?  I just upgraded from Crystal 8 to 10 and of course didn't discover this issue during my testing, never thought of it, but then locks (in sql it shows as blocking) started showing up during production locking people out of the database and bringing production to a hault.  I have searced for two days and cannot find a way to stop this, I was hoping there was a setting in Crystal to preventing blocking, or maybe something I could add to the select statement, someone said I could add 'noblock' but I can't find any info on this.

Similar Messages

  • Query Engine report error with Crystal Report 9 And MS SQL SErver 2000

    Hi,
    Currently I m doing a report with Crystal Report 9 and MS SQL as back End.I used a stored procedure to fetch data from DB.The Stored procedure works properly with query analyzer . But when I take report through application
    "Table Not Found" Error is coming.Later I Found that In stored procedure for certain conditions only this error comes.But I cant resolve it.
    Can any One check any pblm with this query
    ELSE IF ISNULL(@intSourceID,0) = 10 Or ISNULL(@intSourceID,0) = 11 Or ISNULL(@intSourceID,0) = 12 Or ISNULL(@intSourceID,0) = 13 Or ISNULL(@intSourceID,0) = 14  
    BEGIN
    IF ISNULL(@intSchemeID,0) <> 0  
    BEGIN
    Select* From table
    END 
    ELSE IF ISNULL(@intSchemeID,0) = 0  
    BEGIN
    Select 
    END 
    END
    When I comment the above codes , report works fine....
    Can any one help me....plz....I m in such a critical situation...

    Hi,
    Currently I m doing a report with Crystal Report 9 and MS SQL as back End.I used a stored procedure to fetch data from DB.The Stored procedure works properly with query analyzer . But when I take report through application
    "Table Not Found" Error is coming.Later I Found that In stored procedure for certain conditions only this error comes.But I cant resolve it.
    Can any One check any pblm with this query
    ELSE IF ISNULL(@intSourceID,0) = 10 Or ISNULL(@intSourceID,0) = 11 Or ISNULL(@intSourceID,0) = 12 Or ISNULL(@intSourceID,0) = 13 Or ISNULL(@intSourceID,0) = 14  
    BEGIN
    IF ISNULL(@intSchemeID,0) <> 0  
    BEGIN
    Select* From table
    END 
    ELSE IF ISNULL(@intSchemeID,0) = 0  
    BEGIN
    Select 
    END 
    END
    When I comment the above codes , report works fine....
    Can any one help me....plz....I m in such a critical situation...
    Refer the above statement highlighted in BOLD. That statement is WRONG. Select what ???? Try any one of the below statement,
    select ''
    --or
    select 0
    --or
    select null
    Regards, RSingh

  • Crystal Reports 9 and SQL Server 2005 default parameter values

    We're using Crystal Reports 9 and upgraded from SQL Server 2000 to SQL Server 2005.
    I'm noticing a very weird problem which I wonder if anyone else has experienced (and hopefully found a resolution for). It appears that in using Crystal with SQL Server 2005 stored procedures, if we have default parameter values in the stored procedures, the default parameter values get completely ignored if you pass in a NULL value from Crystal!
    For example, if you have a stored procedure that begins like this:
    ALTER          Procedure [dbo].[StoredProcedure]
    @Param1 VarChar(200) = '',
    @Param2 VarChar(200) = ''
    AS ...
    both @Param1 and @Param2 have a default value of an empty string, and therefore should become empty strings if nothing (NULL values) gets passed in for them.
    But, like I said, what I'm finding is that with Crystal calling the stored procedure with NULL @Param1 and @Param2 values, they never become empty strings, but rather remain as NULLs.
    This was never a problem with SQL 2000.
    Very perplexing. Anyone else every experience this?
    Thank you.

    Please ignore my earlier post -- answered my own question.
    NULL parameter values do not get replaced by default values in SQL -- that is normal behavior in both SQL 2000 and SQL 2005. Just goes to show, that no many how many years programming experience you have, you can still get tripped up sometimes : (

  • Crystal report 11 and IIS

    Post Author: lijolawrance
    CA Forum: Exporting
    Hi to all
    We are using crystal report 8.5 for my application till now. The reports are viewed online using IIS and report viewer. Due to some technical infeasibility, we have planned to switch to crystal report 11. Can anyone tell me that how can i migrate to this using the IIS. I want to open my report online like (http:
    localhost:8099\report.rpt user earlier)./can anyone help me in that

    Post Author: iamtgo3
    CA Forum: Data Connectivity and SQL
    I just purchased Crystal Reports 2008 and it still does not seem to recognize access 2007 *.accdb files. So I have same answer as above will there be a patch or upgrade of some sort to make Crystal Reports recognize Access 2007 *.accdb files.

  • Crystal Report viewing and Printing Issue

    Hi Experts
                    I use crystal Reports for PO,AR Invoice,Delivery and many other documents.It takes more than 5 mins to view layout from crystal report and print sequence printing takes more than 10mins.Please Help me to rectify this issue..
    Regards
    Naresh Kumar

    Hi Naresh,
    What is your SAP version and Patch Level ?
    I believe in new version this issue has been addressed by SAP. Also note SAP B1 8.81 PL 07 has some issues in crystal Report, it asks for SQL user id and password, SAP is aware of this issue. So if you plan upgrade to latest PL then ensure that Crystal report issue is resolved, otherwise you will be in trouble.
    BR
    Samir Gandhi

  • Crystal Reports hanging in Enterprise

    Just suddenly we are facing issues with some of the crystal reports . they were working fine in Business objects up to yesterday but today they are hanging , even when we try to open/modify parameter they hang. we are using Crystal report 2008 and BO R3.1.
    evnthough some reports hangs the others just run fine.
    we noticed that , the reports which are stopped working are the ones that have  " Printer Option" unchecked in Crystal Report designer . when we open these reports in designer and check that option on pagesetup and  save them back in enterprise they are working.
    I have no luck to find the rootcause of this issue. what have changed that caused this issue.
    It is happening on both test and production environments. I read somewhere on forum that it might be  related to printer driver, but we haven't updated any driver and nothing seems to be changed.
    any ideas?

    In the page setup put the option Microsoft XPS Document Writer in the Printer option before publishing it to BO Server .

  • Crystal Reports 2011 and connection to Universe or repository

    Hello,
    i have CRW2011 Beta and Interactive Analysis and want to connect to a created universe (which i created with the univrese designer from Interactive analysis).
    I don't have any SAP Business Objects server etc...
    How can i connect to my created univers. If i try to do, CRW2011 he asks me for a server.
    As i remember a SAP technologist do a statement, that this is possible in CRW2011 but was not possible in earlier versions.
    Or what is the minimum installation base a need on a local machine?
    I need this solution, that i must not declare Business logic for every report again. And this solution should be for
    small-size customers.
    Customer side environments
    - Crystal Reports Server 2008 (if available 2011)
    - Crystal Reports Designer / Viewer
    - Pervasive SQL DBMS
    Regards
    Andreas
    -SysTek GmbH-

    Hi Andreas,
    Universes can only be connected to by logging onto a BOE Server. It's always been this way and I don't recall anyone saying that has changed. BOE 4.0 is using a new Universe file name and format so any older Universes will be upgraded.
    As for off line Universe support that won't be supported in the current release and I don't recall anyone telling me it will ever be.
    Who told you you could?
    Thank you
    Don

  • Crystal Reports export and print fails with SSL / https but works with http

    Windows 2008 Server, 32-bit (IIS7)
    ASP.NET 2.0
    Ajax 1.0
    Crystal Reports version 10.5.3700.0
    http:  printing works, export works
    https:  printing not working, only export to MS Excel and MS Word work.
    I am able to generate reports using both http and https, and the toolbar icons are all showing.  However, I am unable to print or export properly with SSL.
    Printing prompts me with a select printer window, and then a window 'Retrieving Page 1' follow by two messages from Crystal Print Control both stating:
    A communication error occured.  Printing will be stopped.
    Exporting generates various errors depending on which export method is being selected (however Excel and Word work over https).
    I've found the same problem on this site and other forums, but never a resolution to get exporting and printing to work with SSL.  Will someone please provide me assistance or possibly relay what settings they're using if they have Crystal Reports export or printing working over SSL in IIS7?  Everything works fine when I change the address from https to http.
    Please let me know if I can help by providing further information.  We've gone through a great deal of possible solutions with code and I'm currently looking in to IIS settings again.
    Thank you.

    Thanks Ludek. I got it by searching KB number.
    Unfortunately, it didn’t fix my problem even my IE (IE8 and IE 9) has correct setting.  I double check my version. PrintControl.CAB is version 10.2.0.1146. we use VS 2005 Crystal report and VB .NET. It works fine on HTTP. But when we use HTTPS (SSL Certificate from go daddy).
    1: Crystal report export
                Export to MS Excel, Word: pop us “File download”, then click “Save”. It says “Internet Explorer cannot download ReportView.aspx from my site. Internet Explorer was not able to open this internet site. the requested site is either unavailable or cannot be found. Please try it again later”
                Export to RPt, Rich text format: It says “Internet Explorer cannot download ReportView.aspx from my site. Internet Explorer was not able to open this internet site. the requested site is either unavailable or cannot be found. Please try it again later”
                Export to PDF : nothing happened.
    2: Print:
                Pop up dialog to select printer, click “Print” “. Shows windows “Crystal Report Viewer” and pop us error message box. Title is “Crystal Print Control”. Message is “An communication error occurred. Printing will be stopped”. Click “OK” and pop up error message box again.
    Please advise.
    Thank you very much!

  • Scheduling Crystal Report in BO Enterprise -- running Failed with an error

    Hi all,
           I have scheduled a crystal reprt which is published in BO Enterprise. I have scheduled such that it should run right now. when i choose schedule, in the History screen of that particular Report Document, it  is showing the status as Failed.
           I cecked the Instance Details of that particular instance in History Screen, it is giving me this error message:
    " Error in File ~tmp1f905fddf0fb274.rpt: Unable to connect: incorrect log on parameters ".
           I have choose ' set to null ' to all parameters in the Parameteers Screnn while scheduling, as all the parameters are optional.
    Please suggest how to go ahead with this error. I am new to BO Enterprise, I have to schedule crystal report in the Enterprise.
    Thanks in advance !

    hey i got this error resolved by giving server details in Data Base Configuration screen.

  • Crystal Reports 9 and Dot Net 2 SP2

    We have a VB6 application that uses Crystal Reports 9 and makes a call to DB2. When we patched the Windows 2003 server it runs on to Dot Net 2 SP2, the call to DB2 would hang. If we removed the patch, the problem goes away. Microsoft said this is a Crystal issue not a dot net issue so they referred me to this site. Has anyone seen anything like this or have any suggestions as to how to get around this? Our Infrastructure Admins would like to get Dot Net 2 SP2 on ths server so I can't leave it unpatched indefintiely. Thanks

    Hi Brian,
    Moved your post to the Legacy SDK forum.
    Which report engine are you using in your app?
    Cr 9 is end of support long time ago so nothing we can do to fix this other than to upgrade to CR for .NET components. Or possibly CR XI R2 and the RDC if that is what you are using.
    What error do you get?
    Don

  • Crystal Reports 2008 and Postscript

    Hello,
    I think I have to start a new thread for this. Originally I described the problem here:
    Printing Crystal Report to Postscript
    Now we upgraded our Crystal Reports for Visual Studio 2005 to the latest version - CR 2008 SP0. We had purchased the full version to be able to print the postscript files correctly, without any prompts for the file name, because I've read that this was a bug in the old versions, but it had been fixed. But I still cannot do this.
    I'm trying to print my reports to the postscript file:
    PrinterSettings ps = new PrinterSettings();
    ps.PrinterName = "TRADEPOSTSCRIPT";
    ps.PrintFileName = txtPath.Text.Trim() + "
    " + txtFormNo.Text.Trim() +
    ".ps";
    ps.PrintToFile = true;
    rpt.PrintOptions.CopyFrom(ps, ps.DefaultPageSettings);
    rpt.PrintToPrinter(1, true, 0, 0);
    I'm still getting prompt for the file name.
    This doesn't make any sense - the path and file name are specified in my code. The whole project will be useless for us if the users will be getting prompts.
    Could you please help me how to solve this issue?
    Thank you,
    Peter Afonin

    Hi,
    I am trying to print and specify a filename to a postscript printer as well. However, my version of crystal reports in Visual Studio 2008 does not come with this method....
    reportDocument.PrintToPrinter(printerSettings, pageSettings, True) ?  
    I have checked and there does not exist an overloaded method in the object browser for this 'PrintToPrinter' method that would accept PrinterSettings object??
    The only method I have is as below:
    ===============================
    public virtual void PrintToPrinter(int nCopies, bool collated, int startPageN, int endPageN)
        Member of CrystalDecisions.CrystalReports.Engine.ReportDocument
    Summary:
    Prints the specified pages of the report to the printer selected using the PrintOptions.PrinterName property. If no printer is selected, the default printer specified in the report will be used.
    Parameters:
    nCopies: Indicates the number of copies to print.
    collated: Indicates whether to collate the pages.
    startPageN: Indicates the first page to print.
    endPageN: Indicates the last page to print.
    ===============================
    My version is Crystal Reports Basic and is what comes with VS 2008 (not upgraded):
    From  the GAC:
    CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0
    FileVersion: 10.5.0.1943
    .NET FRAMEWORK v3.5 SP1
    Please help.
    Thanks,
    EM

  • Converted to Crystal Reports 2008 and now have an issue with deployment

    Post Author: lwager
    CA Forum: Deployment
    I have converted my application to Crystal reports 2008 and I have that as a prerequisite in my set up program but everytime I try to install the software package on the client's machine I get this error when it is trying to install Crystal Reports
    Verifying file integrity of C:\DOCUME1\lauriew\LOCALS1\Temp\VSD1B7B.tmp\CrystalReports 12.0\CRRuntime_12_0_mlb.msiWinVerifyTrust returned 0File trustedError: Setup has detected that the file 'C:\DOCUME1\lauriew\LOCALS1\Temp\VSD1B7B.tmp\CrystalReports 12.0\CRRuntime_12_0_mlb.msi' has changed since it was initially published.
    Does anyone know why I am getting this error?  Thanks in advance for your help.

    I'm having the same problem ! Can someone help me with this problem ????

  • Crystal Reports 11 and 8.5

    I have a 8.5 Crystal Report Server and need to update reports. We can't find our 8.5 license and needed to know if I can run a Cyrstal report written in version 11 and run on a 8.5 server.

    Hi Tom,
    No, Crystal Reports 8.5 file format can be read by CR 9 and above but CR 9 and above reports cannot be read by CR 8.5 and below. We updated CR 9 to fully support UNICODE and therefore the file format in CR 9 and above is not backward compatible or readable by CR 8.5.
    Only option is to try to find an old copy of CR 8.5 and valid license.
    Thank you
    Do

  • Crystal Reports 11 and 8.5 Compatibility

    Post Author: mcneillb
    CA Forum: Deployment
    Can an application running Crystal Reports 11 and a legacy application running Crystal Reports 8.5 co-exist on the same system?  The legacy application is a vb6 app and just uses the crystal report viewer.  If they canu2019t what needs to be fixed or otherwise changed?
    It appears if the legacy app is installed last, then the Crystal Reports 11 application is broken (its report viewer doesnu2019t work).
    ThanksBlake

    Hello Javier,
    There isn't going to be much, if any, DLL files that are compatable with both. When version 9 was made it was redesigned from the ground up to be Unicode compliant. When this was done all DLL files that worked with the old versions would not work with the new versions.
    -Sean

  • Crystal Reports - Saving and the transport request screen

    Good morning BI people,
    Has anyone had this annoyance?
    You are creating a Crystal report(2008 v12.2.7.598) with connection to sap bi(7.01) and when you save, the transport request screen doesn't come up front of crystal reports, it is created behide the screen. so, you sit and look at the hour glass for 5 mins, move on to other things, and then you realize that the transport screen is behide the crystal reports screen. and, it is not like you can minimize the crystal screen. you have to minimize all your screens and then click on the crystal screen from you tool bar and then, the transport screen comes up.
    anyone have a fix for this?
    or am i alone....
    thx,
    Erik

    Hi Brad
    I'm not sure that Modules would show us anything in this case, so let's try a few other things:
    1) Make sure you are using SP 1 for Crystal Reports Basic Runtime for Visual Studio:
    Crystal Reports for VS 2005 and VS 2008 Updates & Runtime Downloads
    2) Seeing as this works on dev, this may be some db inconsistency so enabling the report option "Verify on 1st Print" will be a good idea.
    3) Double check the database client and make sure the same client is used on dev and deployed systems. Actually I take back my Modules negative as this is where it may prove useful. Once you have the Modules logs, look at who is loading the crpe32.dll, then look at that process and see the client dlls.
    4) Check the printer driver; see if there are any updates. Try a different printer driver.
    Ten subreports is not too bad, though not that good either as you are loading the report engine with at minimum 11 simultaneous reports (each subreport is considered to be a report). If a subreport is in a details section and the details section returns a 100 records, you are running 100 + 1 reports. This may lead to memory issues, which may lead to the error.
    If I was a betting man, I'd put most of my money on the printer driver (based on your last addition to your post). What ever money I had left would go to some database issue (be it actual data or client related).
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

Maybe you are looking for

  • Is it possible to print the layer name on file/copy when print or export file?

    Hi, I produce a large number of pages in InDesign. In each document there are 5 layers. 1 layer with images and 4 layers with language-editions. For safety and quality control I would like to print out the layer name together with the crop-marks. Lik

  • R12: is iExpence multi org enabled?

    Hi, We are implementing iExpense in R12.0.4. Most of the setups have been done. However, while creating expense reports , we are finding that there is no Operating Unit selection field. We have setup MO: Security Profile for the responsibility. Just

  • How to make changes in standard transaction ME51N.

    Hi,    Can anyone tell me how to make changes in standard transaction ME51N.    I want to call transaction AS01 by clicking on standard button create asset. Please do the needful. Regards. Aniruddha

  • Eap-tls configuration

    how do you select certificate for enterprise wireless authentication? Our wireless is nb-ssid and when I enter the config, I only get the option for username and password.  Not to select certificate per the documentation ATT Pre Plus Post relates to:

  • IPods and iTunes?

    Hello, can two iPods share one iTunes? I read somewhere that an iPod can only link to one iTunes library on one Mac but can multiple iPods in one house share one iTunes library? Thanks to all who reply.