Crystal Reports 13 for VS2013 Hangs when report deployed via Clickonce

Hi,
We have upgraded from vs2008 to vs2013 one of our .net C# projects. Project consist of a Server and a windows client. Reports are run in the client, and data transported with disconnected Datasets ( No direct connection to the database ). We use Microsoft clickonce to deploy this application to our users.
The problem we have is that after the migration clients deployed with clickonce experience a delay of about 1 minute while the report is shown with a message "please wait while the document is processing". However if we run the application directly from the filesystem the report is shown immediately.
running the clickonce deployed shows the following message using process monitor, however after ~1 minute the report displays correctly.
6:08:05.5863138 PM
ECMWin.exe
18156
CreateFileMapping
D:\Users\o\AppData\Local\Temp\2\temp_6a4d2478-2cab-45d5-8e21-af5d5d3a761a {56013444-9297-4F76-A8DE-00A08C289BBF}.rpt
FILE LOCKED WITH WRITERS
SyncType: SyncTypeCreateSection, PageProtection:
Code:
        CrystalReport1 c = new CrystalReport1();
        public Form1()
            InitializeComponent();
            c.Load();
        Stopwatch s = new Stopwatch();
        private void Form1_Load(object sender, EventArgs e)
            if (c.IsLoaded)
                crystalReportViewer1.ReportSource = c.FileName.Replace("rassdk://", ""); ;
                Console.WriteLine("crystalReportViewer1.ReportSource = c;:" + s.Elapsed.TotalMilliseconds.ToString());
* Note:
1. the report from the code above is empty and has no connections to database.
2. Using Vs2013
3. Using SAP Crystal Reports, developer version for Microsoft Visual Studio - Service Pack 9 - Fixed Issues and updates - Busines…

Hi,
Finally found the issue:
Our windows application every 20 minutes ( 1 minute in debug ) check for clickonce updates in an independent thread using CheckForDetailedUpdate method and then it sleeps.
public void ApplicationUpdateTimerThread()
  int updateInterval = applicationUpdateTimer.Interval = 1200000; // 20 mins
  if (ApplicationDataAccess.IsDebug) { updateInterval = 60000; }
  while (true)
     UpdateCheckInfo updateInfo = appDeployment.CheckForDetailedUpdate();
     Thread.Sleep(updateInterval);
Doing this was locking the filesystem where now Crystal is putting their temporary report files and therefore preventing file access until the thread was active again ( The reason for the 60 seconds delay )
So Creating a new thread to only check for update and let it die inmediately fixed the issue.
public void ApplicationUpdateTimerThread()
  int updateInterval = applicationUpdateTimer.Interval = 1200000; // 20 mins
  if (ApplicationDataAccess.IsDebug) { updateInterval = 60000; }
  while (true)
  System.Threading.Thread t1 = new System.Threading.Thread (delegate()
  { UpdateCheckInfo updateInfo = appDeployment.CheckForDetailedUpdate(); });
  t1.Start();
  Thread.Sleep(updateInterval);

Similar Messages

  • Form call report,but form hang when report sun slowly,how to set server?

    In version 10.1.2
    Form call report, form hang when report sun slowly,
    finally the report will done,I can see the output in the server disk,but form hang,
    I think it's out of the report session, ,how to set server?
    thanks for any help!
    lind

    Hello,
    If you are using the "Paper Layout", check the Reports's "Before Report Value" property:
    Before Report Value :
    <meta http-equiv="Content-Type" content="text/html; charset=&Encoding">
    If you are using the "Web Layout", take a look to the document :
    http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_nls.htm#i1006142
    18.3 Specifying a Character Set in a JSP or XML File
    Regards

  • Need to run the report for All Values when Null is passed in parameter

    Hi All,
    In my BIP report, I am using a parameter :asset with Type as Text, which means user will type the values for the parameter in the text box.
    Now, this parameter can take multiple comma separated values. I have a requirement to run the report for All Values when user doesn't enter any value in the parameter text box and if user enters any value(s) then the report will run for those values . The way, I tried to handle that in the query using couple of ways was :
    IMP : My Database is SQL Server
    where
    (table.asset = isnull((:asset), table.asset) or table.asset in (:asset))
    Now this works fine when I give a single asset number but when I give multiple values separated by comma like 123, 345 in the text box, then the statement fails saying 'encountered ,'
    I also tried simply
    table.asset in isnull((:asset),table.asset) -- but this doesn't work as it doesn't allow me to use in operater while using isnull and if i will use = operater then it won't work in case of multiple values
    Any suggestions on how can I handle this? Any help would be highly appreciated.
    Thanks,
    Ronny

    thanks for replying, but i tried this option too, it did not work for me, neither isnull nor coalesce. I mean, the solution work for single value but when i pass multiple values then separated by a comma then it doesn't work and shows me an error like "Incorrect Syntax ','". I am using SQL server as DB and bip is 10.1.3.4.1
    also please share the SR number, so i can also check the same.
    can there be any other work around to this?
    thanks,
    ronny

  • Please any one provide crystal report for  Location wise sales report with GP

    Please any one provide crystal report for  Location wise sales report with GP.Please its urgent

    A report writer tool like Crystal reports is not available due to the cost involved in its licenses.Do you think that Oracle Reports is free then? It's $$$$.
    You can download and test it for free, but if you want to use it in production you have to buy a license.

  • Whts the corresponding BW report for AP Liability Reconciliation report?

    HI All,
    Whts the corresponding BW report for AP Liability Reconciliation report?
    R/3 report is: S_ALR_87012082 u2013 provides vendor balances that make this up.
    Whts the BW report for validating the R/3 data.
    Please Reply.
    Thansk in Advance.

    Hi,
         Yes, I was getting partial results. I got rid of it by unchecking the the options in the 'SQL' tab in the Universe parameters.
         Thanks for the help.
    Regards,
    Alok.

  • Windows 8.1 Broken Windows/Metro apps when WIM deployed via MDT

    Windows 8.1 u1 Broken Windows/Metro apps when WIM deployed via MDT
    Windows 8.1 Enterprise - update 1, x64bit with latest updates installed.
    I am having a similar problem to thread (Sysprep
    and Windows 8.1 -- missing Metro apps after reboot?).  Although slightly different so starting a new one.  Not missing however a set of them do not install completely and display "error - this app cant install".  Certain windows
    apps fail install, mail, video,  We use vmware ESX 5.5 to capture our image.   When I deploy the image to VMware environment, all apps install successfully, when we deploy to any laptop, certain apps
    fail to install.  They display X beside them.  The workaround is to sign into windows live account and install them. 
    I do have a custom start layout installed via a deploy task sequence (using command POWERSHELL -NonInteractive -Command Import-StartLayout -LayoutPath .\CustomStartLayout.bin -MountPath %SystemDrive%\)
    Disabling the custom layout import does not solve the issue. 
    Any ideas? 
    RZ

    Sorry, here it is
    <launcher version="2"><view name="Start"><group name="GT Apps"><tile AppID="{7C5A40EF-A0FB-4BFC-874A-C0F2E0B9FA8E}\Microsoft Office\Office14\OUTLOOK.EXE" size="square150x150" FencePost="0"/><tile AppID="{7C5A40EF-A0FB-4BFC-874A-C0F2E0B9FA8E}\Microsoft
    Office\Office14\WINWORD.EXE" size="square150x150" FencePost="0"/><tile AppID="{7C5A40EF-A0FB-4BFC-874A-C0F2E0B9FA8E}\Microsoft Office\Office14\EXCEL.EXE" size="square70x70" FencePost="1"/><tile AppID="{7C5A40EF-A0FB-4BFC-874A-C0F2E0B9FA8E}\Microsoft
    Office\Office14\POWERPNT.EXE" size="square70x70" FencePost="0"/><tile AppID="{7C5A40EF-A0FB-4BFC-874A-C0F2E0B9FA8E}\Microsoft Office\Office14\ONENOTE.EXE" size="square70x70" FencePost="0"/><tile AppID="Microsoft.Windows.Explorer" size="square70x70"
    FencePost="0"/><tile AppID="{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\SnippingTool.exe" size="square150x150" FencePost="0"/><tile AppID="{7C5A40EF-A0FB-4BFC-874A-C0F2E0B9FA8E}\Adobe\Acrobat 11.0\Acrobat\Acrobat.exe" size="square150x150" FencePost="0"/><tile
    AppID="{7C5A40EF-A0FB-4BFC-874A-C0F2E0B9FA8E}\Fastrack\AdminCode\AdminDisplay.exe" size="square150x150" FencePost="0"/><tile AppID="\\ntnas\it\Images and SOEs\G+T PRINTER.exe" size="square70x70" FencePost="1"/></group><group name="WIndows
    Apps"><tile AppID="Microsoft.Windows.Desktop" size="square150x150" FencePost="0"/><tile AppID="Microsoft.ZuneVideo_8wekyb3d8bbwe!Microsoft.ZuneVideo" size="square70x70" FencePost="1"/><tile AppID="Microsoft.ZuneMusic_8wekyb3d8bbwe!Microsoft.ZuneMusic"
    size="square70x70" FencePost="0"/><tile AppID="Microsoft.MoCamera_cw5n1h2txyewy!Microsoft.Camera" size="square70x70" FencePost="0"/><tile AppID="FileManager_cw5n1h2txyewy!Microsoft.Windows.PhotoManager" size="square70x70" FencePost="0"/><tile
    AppID="FileManager_cw5n1h2txyewy!Microsoft.Windows.FileManager" size="square150x150" FencePost="0"/><tile AppID="Microsoft.SkypeApp_kzf8qxf38zg5c!App" size="square70x70" FencePost="1"/><tile AppID="Microsoft.InternetExplorer.Default" size="square70x70"
    FencePost="0"/><tile AppID="Microsoft.WindowsReadingList_8wekyb3d8bbwe!Microsoft.WindowsReadingList" size="square70x70" FencePost="0"/></group><group><tile AppID="Microsoft.BingNews_8wekyb3d8bbwe!AppexNews" size="wide310x150" FencePost="0"/><tile
    AppID="Microsoft.BingSports_8wekyb3d8bbwe!AppexSports" size="wide310x150" FencePost="0"/><tile AppID="Microsoft.BingFinance_8wekyb3d8bbwe!AppexFinance" size="wide310x150" FencePost="0"/><tile AppID="Microsoft.BingWeather_8wekyb3d8bbwe!App" size="square150x150"
    FencePost="0"/><tile AppID="Microsoft.HelpAndTips_8wekyb3d8bbwe!HelpAndTips" size="square70x70" FencePost="1"/><tile AppID="Microsoft.BingMaps_8wekyb3d8bbwe!AppexMaps" size="square150x150" FencePost="0"/></group><group name="Power"><tile
    AppID="Microsoft.AutoGenerated.{4F2C5003-091F-B45B-9C9D-4B5AD005871E}" size="square150x150" FencePost="0"/><tile AppID="Microsoft.AutoGenerated.{1AFB1083-210E-19C4-427D-BCE76EA2D1C7}" size="square150x150" FencePost="0"/><tile AppID="Microsoft.AutoGenerated.{6010415A-0F0B-752B-2875-8C53B5438DC9}"
    size="square150x150" FencePost="0"/><tile AppID="Microsoft.AutoGenerated.{DFBF87F9-ED2C-A19C-21B8-FF9C400237C3}" size="square150x150" FencePost="0"/></group></view></launcher>
    RZ

  • Error: 'bobj' is undefined - crystal report for VS2013 - please help ASAP

    Currently we are trying to migrate from VS2008 to VS2013 and we installed Microsoft Visual Studio Ultimate 2013 on a windows 7 laptop. All our crystal report programs are migrated to VS2013. I downloaded Crystal report Support Pack 10 (v. 13.0.10.1385) executable version and installed it. Then opened our old project (from vs2008) in VS2013 and it went through the conversion process. Later I opened each .rpt file and saved in VS2013 so that the crystal report files will be saved in the new format.
    I am getting the Error: 'bobj' is undefined when I try to run the report. Am I using the correct service pack 10, or should I use service pack 9. I have read through all the posts related to this error in earlier version of VS. Is there any correct fixes for VS2013?
    This is urgent, I am stuck with this error. please help??? Thank you.
    JS

    Don,
    I followed Adil Siddiqui's Blog and it worked!!!!
    Add Following code to web.config file
    <configSections>
    <sectionGroup name=“businessObjects“>
    <sectionGroup name=“crystalReports“>
    <section name=“rptBuildProvider” type=“CrystalDecisions.Shared.RptBuildProviderHandler,
    CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral,PublicKeyToken=692fbea5521e1304,  Custom=null“ />
           <section name=“crystalReportViewer” type=“System.Configuration.NameValueSectionHandler“ />
    </sectionGroup>
    </sectionGroup>
    </configSections>
    <businessObjects>
    <crystalReports>
    <rptBuildProvider>
    <add embedRptInResource=“true“ />
    </rptBuildProvider>
    <crystalReportViewer>
    <add key=“ResourceUri” value=“~/crystalreportviewers13“ />
    </crystalReportViewer>
    </crystalReports>
    </businessObjects>
    NOTE: “<add key=“ResourceUri” value=“/crystalreportviewers13“ />” worked without the ~ sign.
    Click the link below for the complete post:
    Visual Studio 2012 Crystal Report not working on Windows Server 2012/ 0x800a1391 &amp;#8211; JavaScript runtime error: &…
    Thank you Don for your help.
    JS

  • I'm getting the below issue when I try to deploy a report with Dynamic parameters, when I deploy it with static parameters I'm not getting this issue.

    I’m getting the below issue when I try to deploy a crystal report with Dynamic parameters in BI Launch Pad, when I deploy the same report with static parameters I can deploy and run it. I have Restarted the BI server, still the issue exitno use. kindly help me on this issue.
    “This error occurred: Adding Crystal Report "CrystalReport1.rpt" failed. The server with kind rptappserver returned an error result. Failed to copy the report file to the report object. Refreshing the report object properties might have failed. Failed to read data from report file CrystalReport1. Reason: Failed to read parameter object”.

    BO does not run dynamic params through the report as would happen without BusinessObjects (BO) or Crystal Reports Server (CRS).  When you publish a report with dynamic parameters to BO/CRS, the prompt is published to the repository so that it can be accessed through the Business View Manager (which can be installed as part of the client tools).  In order for this to work a couple of things need to happen:
    1.  You need to be sure that you check the "Update Repository" box on the Save As screen the first time you publish the report.
    2.  Your BO/CRS user needs to have "view" access to the Crystal2013ReportApplicationServer in the Servers section in the CMC - in fact, the Everyone group should be given view access to the server in order for dynamic prompts to work correctly.
    3.  In the Business View Manager, the Administrator user needs to give your user, or, even better, a Crystal Developers group full control access to the "Dynamic Cascading Prompts" folder.
    Best practice for dynamic prompts in a BO/CRS environment is to actually create the prompts in the Business View Manager.  This will allow you to create a single data connection that can be reused and also create lists of values such that the same list or prompt can be reused by multiple reports.  If you just create the prompts in Crystal, you will end up with multiple data connections to the same database, the prompts will use the whole query for the reports to get the dynamic values instead of just a focused query to the lookup table that contains the values, and there ends up being lots of duplication and chaos.
    -Dell

  • Crystal Report for VS 2010 -  The report page doesn't show in IIS

    Hi all, I get a problem with Crystal Report for VS 2010 (version 13).
    My website is built using VS 2010 (asp.net 4.0) and Crystal Report v13.
    It work okay when I run it in the VS 2010. But when I host my site in the IIS 7, when going to the page that contain the Report, the report show nothing.
    The page is blank except my button I've created to export the Report.
    The weird thing is when I click the my button (export to pdf), it doest export the correct pdf.
    Note that this happens in my development machine: windows 7 32bit.
    I've spent a day figure out problem but still haven't found the problem.
    Hope you can help me.

    Let's start with the viewer. Sounds like the viewer directory is not configured correctly. Use [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50aa68c0-82dd-2b10-42bf-e5502b45cd3a] article as a guide on how to do this.
    I still do not have info on the following:
    it means even though the crystal report viewer doesn't show, i still can export it's content to pdf.
    With all due respect, think of it this way;
    You're the mechanic. I'm a guy with a car. I text you; I'm sitting in my car. It will not get me to point A. Fix it.
    In a nut shell, that is what you are asking me to do with the export. The more detail you provide, the better. See if you can provide the info re export I requested in my previous post.
    Ludek

  • Internal Order Report - For the documnets when the cost ele. was not create

    Hi,
    We created internal orders for tracking capital expenditure relating to assets. At that time, we were not created asset GL's as cost element. Recently we created asset GL's as cost elements (category 90).
    Now we are getting the internal order report after creation of cost element for the transactions done thereafter. We mentioned the internal order number in PO but not in accounting document earlier. Now we are maintaining internal order number in accounting document also.
    So when we run OKBA we are getting CO document but, it is not tracking against internal order (since order number was not mentioned earlier). We executed one MM document in which internal order was mentioned through OKBB but there is no change in the internal order report.
    Is there any possibility to get the internal order report for the transactions done before creation of cost element.
    Please guide me
    Best Regards
    Madhusekhar Gupta G

    Hi,
    Thanks for your quick replies.
    Can we get the report as follows.
    1. Total Po's value for the internal Order (through Table EKKN)                                                      xxx
    Less: Value already posted to Internal order after creation of cost elements (S_alr_87013019)  xxx
    Less: Total Value to be invoiced (Tcode -ME2N)                                                                             xxx
    Net amount to be posted to Internal Order manually                                                                        xxx
    Is it correct?
    Regards
    Madhusekhar Gupta G
    Edited by: gms gupta on Feb 20, 2012 4:33 PM

  • Standard report for period end stock report

    Hi all,
    My client is looking for a SAP standard report for material.Their req is as follows.
    Open Bal (Stock)
    Add: Purchase/Production
    Less: Sales/Consumption
    Closing Bal(Stock)
    I have sugegested them MC.9,MB51,etc....but they are not satified.
    They are not willing to go for a 'Z' report too....
    Can any one suggest me whether their is any function module or bapi or badi thro' which i can fullfill my clients req. or any other better alternative like report painter,set,etc which suit my requirement.
    (can you please let me know from table i can get these datas......just for knowledge purpose)
    hope that anybody will guide me...
    We are in 6.0 version
    God Bless
    Regards

    Try Standard Report MB5B once.
    Regards,
    Ashok

  • Report runs in Report Builder but hangs in Report Server

    Hi,
    I am using Oracle Reports 10g to build a report with many formula columns. Everything was working perfectly till I added some condition in a query in formula columns. After adding it, report is not working in Report Server but runs only in Report Builder. If I removed this condition, report runs OK but I need it. This condition is very simple, just filtering be a decoded column (i.e. stts = 'D')
    Can anyone suggest how to solve this problem?

    Hi,
    what is the application server version you are running your reports on?
    If it is 10.1.2.0.2 to 10.1.2.2  and you are using PDF SUBSETTING (check the [PDF:Subset] section in the uifont.ali file in your server) then you are most probably facing Bug:5029259 . To resolve the issue read further Doc ID 363868.1 in Oracle Support. In short, your options are:
    1. apply patchset 10.1.2.3 or maybe patch 5029259 is enough.
    2. or make sure no NULL values are returned in the report. Use nvl where possible. If there was no problem before making the changes then maybe checking the new formula columns would be enough. I made this change myself when facing this issue and it appears that this resolved the problem.
    3. or change REPORTS_ENHANCED_SUBSET to NO in windows registry if under windows or $ORACLE_HOME/bin/reports.sh if under linux.  REPORTS_ENHANCED_SUBSET=YES is necessary if you are using TTF subsetting, though. So this might not be an option.
    Julius Z

  • Standard reports for cash and fundflow reports?

    Hi,
    i need a requirement to maintain reports for cash and funds flow statements?Actually relevant to these reports i use to maintain customize only but coming to fundflow and cash flow there is much complications to do that.
    so is there any standard reports to maintain fundflow and cash flow reports which is relevant to FI-CO
    Thanks in Advance
    vass

    Hi
    You have Cash flow statement based on 0FIGL_VC1
    http://help.sap.com/saphelp_nw70/helpdata/EN/7d/6cfa40ee14f26fe10000000a1550b0/frameset.htm
    You also have Cash flow statement based on 0BCS_C10, but not sure it does suits to your requirement.
    http://help.sap.com/saphelp_nw70/helpdata/EN/39/09503e50a9054be10000000a114084/frameset.htm
    Hope it helps

  • Bug fix for "Java Hangs When Converting 2.2250738585072012e-308" for SAPJVM

    Hi All,
    There is a new java runtime security alert found (see URL below) :
    Java Hangs When Converting 2.2250738585072012e-308
    http://www.exploringbinary.com/java-hangs-when-converting-2-2250738585072012e-308/
    I'm wondering if any of you noticed this bug ? Does SAP JVM (various versions) also exsibit this
    bug too ?
    Thanks,
    Ying-Jie Chen

    Just to add:
    Note 1556366 - Java Runtime hangs when converting a certain number
    Markus

  • Web as 640 sp9 hangs by step "deploy via SDM/J2EE"

    Hi,
    I tried to install the sp9 for many times - very frustrating - can anyone help please ?
    Follwing products have been installed:
    1. webas 640, sp3
    2. webas 640, sp8
    3. ep6 sp3
    4. ep6 sp6
    5. But now it struggles - I have problems with applying the <b>patch 9 to webas</b> , the steps until to "deploy online" were sucessfull, but the step <b>"deploy via SDM/J2EE" has an error</b>. In the SAP MMC the process SDM was yellow, and stopped. The file callSdmViaSapinst.log shows:
    <i>Nov 24, 2004 8:48:18 AM  Info: SDM operation mode successfully set to: Integrated
    Nov 24, 2004 8:48:18 AM  Info: Initializing Network Manager (50017)
    Nov 24, 2004 8:48:19 AM  Info: Checking if another SDM is running on port 50018
    Nov 24, 2004 8:48:19 AM  Error: Could not start SDM - another Server may be running already.
    Nov 24, 2004 8:48:19 AM  Error: Another SDM is running already for this SDM_HOME directory. Exiting. Throwable: com.sap.sdm.client_server.launch.SDMRunningException Throwable message: Another SDM instance is running on this host</i>
    So I stopped the SDM with <i>stopserver</i>, started it again with start <i>sdm jstartup "mode=standalone"</i>
    and restarted sapinst - now it worked until the component com.sap.rprof.remoteProfile , now I have the message:
    <i>ERROR: NOT updated. The Deploy Service returned the following error: For detailed information see the log file of the Deploy Service. Exception is:
    com.sap.engine.services.rmi_p4.P4ConnectionException: Possible problem: no available running server node. Check your running servers.</i>
    What now ? I stopped the server, restarted the sapinst from the beginning - the same result. Whats wrong ?
    Thanx a lot,
    Martin

    I had this same SDM issue during an install. I simply stopped and started the instance. and then restarted the install.
    However I would review the consiole logs and see why the server would not be running. If the server starts up and then dies it is probably something related to the java paramters. If you changed the paramters via configtool and you properly apply them, I would restart the instance and then kick of install again...
    This process worked for me.
    Hope this helps,
    John

Maybe you are looking for