SQL 2008 Blocked process report question

Can you somehow resolve blocked process report stmt to the actual sql text / plan cache?
Example:
<blocked-process-report>
<blocked-process>
<process id="process2713c9048" taskpriority="0" logused="0" waitresource="RID: 9:3:195169:57" waittime="29735" ownerId="1750917834" transactionname="SELECT" lasttranstarted="2014-01-10T13:47:06.493" XDES="0x259c278e0" lockMode="S" schedulerid="4" kpid="4148" status="suspended" spid="307" sbid="0" ecid="0" priority="0" trancount="0" lastbatchstarted="2014-01-10T13:47:06.493" lastbatchcompleted="2014-01-10T13:47:06.493" lastattention="2014-01-10T13:46:55.703" clientapp="Index" hostname="IMAGIOZFPWEB1" hostpid="12000" loginname="imagiouser" isolationlevel="read committed (2)" xactid="1750917834" currentdb="9" lockTimeout="4294967295" clientoption1="673185824" clientoption2="128056">
<executionStack>
<frame line="18" stmtstart="640" sqlhandle="0x03000900280270067c9946015aa200000100000000000000"/>
</executionStack>
<inputbuf>
Proc [Database Id = 9 Object Id = 108003880] </inputbuf>
</process>
</blocked-process>
<blocking-process>
<process status="suspended" waittime="151008" spid="451" sbid="0" ecid="0" priority="0" trancount="1" lastbatchstarted="2014-01-10T13:45:05.217" lastbatchcompleted="2014-01-10T13:45:05.217" clientapp="Index" hostname="IMAGIOZFPWEB2" hostpid="4472" loginname="imagiouser" isolationlevel="read committed (2)" xactid="1750871840" currentdb="9" lockTimeout="4294967295" clientoption1="671088672" clientoption2="128056">
<executionStack>
<frame line="57" stmtstart="4426" stmtend="4586" sqlhandle="0x03000900f28e8b0183d457018a9d00000100000000000000"/>
<frame line="32" stmtstart="1824" stmtend="2042" sqlhandle="0x030009001b21cf3f56fe3c01dca100000100000000000000"/>
</executionStack>
<inputbuf>
Proc [Database Id = 9 Object Id = 1070539035] </inputbuf>
</process>
</blocking-process>
</blocked-process-report>

Here is an example to get you going:
DECLARE @x xml = '
<blocked-process-report>
 <blocked-process>
  <process id="process2713c9048" taskpriority="0" logused="0" waitresource="RID: 9:3:195169:57" waittime="29735" ownerId="1750917834" transactionname="SELECT" lasttranstarted="2014-01-10T13:47:06.493"
XDES="0x259c278e0" lockMode="S" schedulerid="4" kpid="4148" status="suspended" spid="307" sbid="0" ecid="0" priority="0" trancount="0" lastbatchstarted="2014-01-10T13:47:06.493"
lastbatchcompleted="2014-01-10T13:47:06.493" lastattention="2014-01-10T13:46:55.703" clientapp="Index" hostname="IMAGIOZFPWEB1" hostpid="12000" loginname="imagiouser" isolationlevel="read committed
(2)" xactid="1750917834" currentdb="9" lockTimeout="4294967295" clientoption1="673185824" clientoption2="128056">
   <executionStack>
    <frame line="18" stmtstart="640" sqlhandle="0x03000900280270067c9946015aa200000100000000000000"/>
   </executionStack>
   <inputbuf>
Proc [Database Id = 9 Object Id = 108003880]   </inputbuf>
  </process>
 </blocked-process>
 <blocking-process>
  <process status="suspended" waittime="151008" spid="451" sbid="0" ecid="0" priority="0" trancount="1" lastbatchstarted="2014-01-10T13:45:05.217" lastbatchcompleted="2014-01-10T13:45:05.217"
clientapp="Index" hostname="IMAGIOZFPWEB2" hostpid="4472" loginname="imagiouser" isolationlevel="read committed (2)" xactid="1750871840" currentdb="9" lockTimeout="4294967295"
clientoption1="671088672" clientoption2="128056">
   <executionStack>
    <frame line="57" stmtstart="4426" stmtend="4586" sqlhandle="0x03000900f28e8b0183d457018a9d00000100000000000000"/>
    <frame line="32" stmtstart="1824" stmtend="2042" sqlhandle="0x030009001b21cf3f56fe3c01dca100000100000000000000"/>
   </executionStack>
   <inputbuf>
Proc [Database Id = 9 Object Id = 1070539035]   </inputbuf>
  </process>
 </blocking-process>
</blocked-process-report>'
; WITH CTE AS (
  SELECT sqlhandle = convert(varbinary(64), T.c.value('@sqlhandle', 'varchar(128)'), 1),
         stmtstart = T.c.value('@stmtstart', 'int'),
         stmtend   = T.c.value('@stmtend', 'int')
  FROM   @x.nodes('/blocked-process-report/blocked-process/process/executionStack/frame') AS T(c)
SELECT substring(est.text, CTE.stmtstart / 2,
                 CASE WHEN CTE.stmtend IS NOT NULL
                      THEN (CTE.stmtend - CTE.stmtstart) / 2
                      ELSE len(text)
                 END)
FROM CTE
CROSS APPLY sys.dm_exec_sql_text(CTE.sqlhandle) AS est
That is, you need to use XQuery to extract the sqlhandle and the offsets and then pass the sqlhandle to sys.dm_exec_sql_text. The text is for the full batch, so you need to use substring to get the statement. stmtstart and stmtend are offsets in bytes and
since the text is nvarchar, you need to divide by two. I did the above from memory and there by one-off errors with regards to the offsets.
Erland Sommarskog, SQL Server MVP, [email protected]

Similar Messages

  • SQL 2008 R2 standard reports - question about server dashboard and what it refers to as "adhoc" queries

    So I have started looking at some of the standard reports available with SSMS and in particular, the "server dashboard".   One thing that caught my attention were the charts that referred to "adhoc" queries.  I wondered how
    those were being defined, and as I expected, they are most likely those statements not in a stored procedure.  This was answered in
    this thread.  
    On a particular server Im interested in, this % value is well over 50% and the primary applications that interact with the databases on this system are Microsoft based products such as Dynamics and another commercial application which I know uses hundreds
    of stored procedures.  Now, Im sure there are some sql statements being used, possibly "dynamic" type sql, by these applications, but would the metrics really be skewed this far?
    What these charts tell me, with the "adhoc" statement types pushing CPU and Disk I/O %  this far, is that there is a BUNCH of these statements being run against the various databases.  The disk I/O might be a bit off since I only recently
    added dozens of missing indexes, but my question is this:
    With the "adhoc" type statements taking up this much of the CPU and Disk resources, can we say that there are likely a lot of these going on ?  I suppose one way to find out is to launch profiler and listen in while there is moderate
    to heavy user activity.
    Thoughts?

    Hello,
    Adhoc queries are DML statements with not parameterization. Sometimes users use this statements, and sometimes these statements come from applications.
    Use Query #2 on the following link to identify those adhoc queries:
    http://mssqlfun.com/2013/04/08/dmv-5-queries-runing-are-adhoc-or-proc-single-or-multi-use-sys-dm_exec_cached_plans/
    Identify if those adhoc queries belong to specific users or applications.
    One of the options you have to deal with is is the following configuration option:
    sp_CONFIGURE 'show advanced options',1
    RECONFIGURE
    GO
    sp_CONFIGURE ‘optimize for ad hoc workloads’,1
    RECONFIGURE
    GO
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Clarification on Blocked Process Report behavior

    We have team members who are at odds over how this event is handled and it's coverage.
    After enabling this is sp_configure, and for the sake of argument keeping the threshold = 5 (default), and no other trace filters are applied - which of the following is true, false, or misunderstood:
    1. All-inclusive. The report will be generated for ANY transaction that is blocked for more than 5 seconds, meaning all transactions are contrasted against this threshold and no such transactions would be missed.
    2. "ad-hoc query-like" ; point-in-time only. The threshold is only contrasted against at a point-in-time only, in that at a set interval active transactions are reported against. This would mean blocked transactions that occur between this interval
    would not be reported against.
    Reading the MSDN/BOL articles, the language used is terse and somewhat left open to interpretation.
    The general discussion that started this is around whether or not running an external query (such as in SSMS) to report on blocking (which only reports on transactions at that point in time) is basically the same thing as running the blocked process report
    trace event, except in the trace event the "query" is run at "some interval" automatically.
    I am pretty sure I will win a beer if I am right on my answer to this - but I need expert arbitration. Please help me, I'm thirsty!
    Thanks very much for the assist!

    It's number 2: every 5 seconds the "LOCK MONITOR" checks for blocked processes and depending on the threshold will accumulate the sessions which are "still standing" after the threshold time, let's say 30 seconds.
    There is no Event involved until that point of the threshold being exceeded - that then is the event (which one can trace via SQL Trace or Extended Events), not before that.
    Andreas Wolter (Blog |
    Twitter)
    MCSM: Microsoft Certified Solutions Master Data Platform, MCM, MVP
    www.SarpedonQualityLab.com |
    www.SQL-Server-Master-Class.com

  • Multi Row update using pl/sql anonymous block process

    Does anyone have an example of multi row update using a pl/sql anonymous block process?
    The reason I can not use the apex mru process is that the table in questions has a five field key.
    My attempts have failed with a bad number.
    Thanks,
    Gary

    Hi Gary,
    can y<ou pls send the definition of thet table and the UPDATE sql.
    It is a littel difficult like this.
    We need more info.
    BR,
    Lutz
    =;-)

  • SQL 2008 On SBS 2011 Question

    Hi.
    We have an sbs2011 std server.
    We are looking at a new accounts package that requires SQL 2008 r2 (not express).
    Our first thought was to purchase the premium add on but we can not find a single stockist in the UK that has one left for sale.
    So is the only option to purchase another server with server OS and SQL 2008r2 STD on it if so this would be very very expensive.
    We have also been made aware of SQL 2008 r2 for SBS, if this is OK to run the new accounts with then can this version of SQL be installed on SBS 2011 as we have found an copy that is for 1 server 5 cals for £600 (not sure how we buy more cals though as we
    would need 6 users)
    I would appreciate any advice on this situation.
    Many thanks for you time

    Hi:
    It has been awhile since I have thought about this, but looking up the requirements for SQL 2008 for SBS I find this:
    http://blogs.technet.com/b/sbs/archive/2009/03/23/requirements-for-installing-sql-2008-standard-edition-for-small-business.aspx
    It appears it would work, and iirc the PAO was added for SBS 2011 because of the need to add a second server for SQL because Exchange 2010 uses so many resources on SBS 2011.
    Larry Struckmeyer[MVP] If your question is answered please mark the response as the answer so that others can benefit.

  • Calling PL/SQL anonymous block from href in tabular report

    apex 2.2.
    I've got a tabular report where I've added some img columns with a href to call diff processes
    for example
    "<a href="f?p=&APP_ID.:22:&APP_SESSION.:BRANCH_TO_PAGE_ACCEPT|NEW_PROXY:NO:::22,ABCDEF ><img src="/i/asyl.gif" border="0" alt="Runprocess"></a>"
    When clicking on an image column in row x then I would like to run the process - no page submit.
    The pl/sql anonymous block process source calls package.storedproc(p1,p2) - two in parameters
    I'm struggling with the syntax and is wondering if there's a smarter way to achieve the same function
    Any ideas most welcome
    Thanks
    Peter

    &lta href="f?p=&APP_ID.:22:&APP_SESSION.:BRANCH_TO_PAGE_ACCEPT|NEW_PROXY:NO:::22,ABCDEFG" &gt&ltimg src="/i/asylogin.gif" border="0" alt="Process"&gt&lt/a&gtQuestion is how can you pass values from a row in a tabular report to the application process ?

  • XL Reporter in Sap 8.8 PL 16running On Server 2008 R2  and SQL 2008 R2

    Within the above environment (XL Reporter in Sap 8.8  PL 16 running On Server 2008 R2  and SQL 2008 R2)
    Xl reporter is loading and appears to work fine until you look at the spreadsheet result
    It is completely blank except for the titles
    Yet Excel Macros and the attachment paths are defined correctly
    As can be seen when we export any report to Excel successfully
    I've had another consultant look at my setup carefully just to be sure
    He can't figure out why
    Anyone with similar results
    I would appreciate any comments
    Georges Ostiguy

    Even something as simple as a list of BP 's and phone number gives a blank report
    When my friend who knows xl reporter much more than I do tried, he managed to get the
    BP numbers but nothing further
    I then brought him to another server with the same configuration , same result
    He then tried it on one of his own servers with similar config = same result
    Server 2008 Standard R2 64bit
    MSSQL 2008 R2
    SAP 8.8 PL 16
    Sample demo database
    I don't get it

  • In place upgrade Windows 2008 and SQL 2008

    Hi all,
    We are planning to upgrade to Windows 2012 and SQL 2012 , can we take this in-place upgrade path in the following order ?
    Setup 1 Host with 2 VM's running Windows 2008 R2 on Host and Windows 2008 R2/sqL 2008 on VM's.
    1. Host1(running 2 VM's) - In-place upgrade windows 2008 R2 to windows 2012 R2
    2. VM1 on host1 - In place upgrade windows 2008 R2 to Windows 2012 R2
    3. VM2 on host1 - In place upgrade windows 2008 R2 to Windows 2012 R2 (AD Server)
    4. SQL running VM1 - In place upgrade SQL 2008 with DB/reporting services to SQL 2012 DB/reporting services
    All Servers ( including Host and VM's) are stand alone in a workgroup setup.( except one VM a stand alone AD server by itself).
    Thanks for your help.

    Hi,
    If you want migrate from windows 2008r2 to windows 2012r2, you must install windows server 2008r2 sp1.
    http://technet.microsoft.com/en-us/library/dn303416.aspx
    For the host 1 upgrade, please refer to the following:
    http://blog.powerbiz.net.au/server-2012/in-place-upgrade-from-windows-server-2008-r2-to-windows-server-2012/
    For the SQL in-place upgrade, i think you may need to ask in SQL forums:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlservermigration
    Hope this helps.
    Regards.
    Vivian Wang

  • Issue With Report Builder After Installing SP3 for SQL 2008 R2

    Hello.  We are experiencing an issue with Report Builder 3.0 since installing SP3 for SQL 2008 R2 over the weekend.  You can no longer launch Report Builder from the Reporting Services URL (http://dicomweb/ReportServer/ReportBuilder/ReportBuilder_3_0_0_0.application
          Server  : Microsoft-HTTPAPI/2.0
          X-AspNet-Version: 2.0.50727
     Application url   :
    http://dicomweb/ReportServer/ReportBuilder/RptBuilder_3/MSReportBuilder.exe.manifest
          Server  : Microsoft-HTTPAPI/2.0
          X-AspNet-Version: 2.0.50727
    IDENTITIES
     Deployment Identity  : ReportBuilder_3_0_0_0.application, Version=10.50.6000.34, Culture=neutral, PublicKeyToken=c3bce3770c238a49, processorArchitecture=x86
     Application Identity  : MSReportBuilder.exe, Version=10.50.6000.34, Culture=neutral, PublicKeyToken=c3bce3770c238a49, processorArchitecture=x86, type=win32
    APPLICATION SUMMARY
     * Online only application.
     * Trust url parameter is set.
    ERROR SUMMARY
     Below is a summary of the errors, details of these errors are listed later in the log.
     * Activation of
    http://dicomweb/ReportServer/ReportBuilder/ReportBuilder_3_0_0_0.application resulted in exception. Following failure messages were detected:
      + File, Microsoft.ReportingServices.ComponentLibrary.Controls.dll, has a different computed hash than specified in manifest.
    COMPONENT STORE TRANSACTION FAILURE SUMMARY
     No transaction error was detected.
    WARNINGS
     There were no warnings during this operation.
    OPERATION PROGRESS STATUS
     * [10/15/2014 9:35:56 AM] : Activation of
    http://dicomweb/ReportServer/ReportBuilder/ReportBuilder_3_0_0_0.application has started.
     * [10/15/2014 9:36:29 AM] : Processing of deployment manifest has successfully completed.
     * [10/15/2014 9:36:29 AM] : Installation of the application has started.
     * [10/15/2014 9:36:31 AM] : Processing of application manifest has successfully completed.
     * [10/15/2014 9:36:35 AM] : Found compatible runtime version 2.0.50727.
     * [10/15/2014 9:36:35 AM] : Detecting dependent assembly Sentinel.v3.5Client, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=msil using Sentinel.v3.5Client, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a,
    processorArchitecture=msil.
     * [10/15/2014 9:36:35 AM] : Detecting dependent assembly System.Data.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=msil using System.Data.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089,
    processorArchitecture=msil.
     * [10/15/2014 9:36:35 AM] : Request of trust and detection of platform is complete.
    ERROR DETAILS
     Following errors were detected during this operation.
     * [10/15/2014 9:36:43 AM] System.Deployment.Application.InvalidDeploymentException (HashValidation)
      - File, Microsoft.ReportingServices.ComponentLibrary.Controls.dll, has a different computed hash than specified in manifest.
      - Source: System.Deployment
      - Stack trace:
       at System.Deployment.Application.ComponentVerifier.VerifyFileHash(String filePath, Hash hash)
       at System.Deployment.Application.ComponentVerifier.VerifyFileHash(String filePath, HashCollection hashCollection)
       at System.Deployment.Application.ComponentVerifier.VerifyComponents()
       at System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification
    notification, DownloadOptions options)
       at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
       at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)
       at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
       at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
    COMPONENT STORE TRANSACTION DETAILS
     No transaction information is available.

    Hi DMcGarveyt,
    This is an known issue in SSRS 2008 R2 SP3. For this issue, Microsoft has published an article addressing this issue. It is not planning to release a fix for this defect. But there's workarounds for this issue. Please refer to the link below:
    Report Builder of SQL Server 2008 R2 Service Pack 3 does not launch.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Sharepoint 2010 SQl 2008 r2 Reporting Services Integrated with Claims

    i have a 4 server sharepoint 2010 farm all servers are windows 2008 r2 x64
    two severs are sharepoint app/wfe servers
    one server is SQL sharepoint content db server sql 2008 r2 enterprise
    one server is SQL Claims Provider DB and reporting services on SQL 2008 r2
    the site is behind a forefront tmg proxy firewall for both internal and external users and both locations are producing the same results.
    the web application i am having an issue with consists of a primary web app claims enabled web app that only has NTLM enabled, with an extended extranet webapp that  supports claims and NTLM.
    there is surrently a site collection that has been configured for reporting services when i log into the site as a SQL Claims user i am able to run the reportbuilder as a content type  using the New Report builder report content type from a library on
    this site. Reportbuilder launches and i am once gain prompted to login i login with the same credentials i used to log into the site and reportbuilder opens up and then i am able to open datasourceas and reports.
    When i log in to the same site collection as a domain user i am able to log in to the site and launch reportbuilder. When reportbuilder opens up i am prompted to log in, i insert my domain\username and password and nothing happens the login prompt appears again
    blank on the back end it throws the following exceptions
    1. Password check on 'username' generated exception: 'System.ServiceModel.FaultException`1[Microsoft.IdentityModel.Tokens.FailedAuthenticationException]: The security token username and password could not be validated. (Fault Detail is equal to Microsoft.IdentityModel.Tokens.FailedAuthenticationException:
    The security token username and password could not be validated.).'.
    2.An exception occurred when trying to issue security token: The security token username and password could not be validated.
    any thoughts on where i should begin troubleshooting this.

    I think i am getting close i am now seeing a new error it seems that the sp farm account is unable my domain account when launching reportbuilder.
    vent code: 4006
    Event message: Membership credential verification failed.
    Event time: 4/6/2014 10:59:05 AM
    Event time (UTC): 4/6/2014 2:59:05 PM
    Event ID: 7640af98dab846829f78e7d74a4e1e8a
    Event sequence: 9
    Event occurrence: 8
    Event detail code: 0
    Application information:
        Application domain: /LM/W3SVC/2/ROOT/SecurityTokenServiceApplication-1-130412687342754349
        Trust level: Full
        Application Virtual Path: /SecurityTokenServiceApplication
        Application Path: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebServices\SecurityToken\
        Machine name: (SP WFE MACHINE NAME)
    Process information:
        Process ID: 8044
        Process name: w3wp.exe
        Account name: (SP FARM ACCOUNT)
    Request information:
        Request URL:  
        Request path:  
        User host address:  
        User:  
        Is authenticated: False
        Authentication Type:  
        Thread account name: (SP FARM ACCOUNT)
    Name to authenticate: (doamin account launching reportbuilder)
    Custom event details:

  • SQL 2008 Reporting Services: Setting BackgroundRepeat = NoRepeat in SQL 2008

    Good day
    I have an report that has a background image set.  The BackgroundRepeat property = Clip (which is the alternative to 2005 NoRepeat). This background image is only suppose to print on the first page. When the report was still in SQL 2005 it printed fine,
    with the image displaying on the first page but NOT on the second page.  After the conversion to SQL 2008 I noticed that the image is now printing on both pages. 
    Please advise on the way forward.  Is there another property that I need to provide to make the image only print on the first page?
    Your response will be much appresiated.
    Kind Regards
    Ronelle

    Hi Ronelle,
    The
    BackgroundRepeat property indicates how the background image fills the available space. So if set the property to
    Clip in Reporting Services 2008 or NoRepeat in Reporting Services 2005, the background image will not repeat in both horizontal and vertical in current page, but it will be displayed as background in every
    page.
    However, as you mentioned, the background image only print on the first page as you desired in your report in Reporting Services 2005. If you achieve this just by setting the
    BackgroundRepeat property to NoRepeat, could please post the specific version of your Reporting Services 2005 which you can find it in the bottom of your Report Server pages? It will be helpful for us to provide you
    further assistance.
    If you have any question, please feel free to ask.
    Best Regards,
    Tony Chain

  • Forms Authentication - SQL 2008 Reporting services

    Hi Experts, 
    I am trying to implement a forms authentication in SQL 2008 reporting services based on this article, 
    http://msdn.microsoft.com/en-us/library/ms160724(v=SQL.100).aspx#2
    Everything worked fine, but the display page is not loading the default reports, connections etc.
    Have attached screen shot, any suggestions appreciated.
    Thank you,
    Satwick
    satwick

    Hi satwick,
    Thank you for your question.
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
    Thank you for your understanding and support.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.

  • SQL 2008 Reporting Services

    Has anyone been able to get Xcelsius Enterprise to work with SQL 2008 Reporting Services?

    Hi Ronelle,
    The
    BackgroundRepeat property indicates how the background image fills the available space. So if set the property to
    Clip in Reporting Services 2008 or NoRepeat in Reporting Services 2005, the background image will not repeat in both horizontal and vertical in current page, but it will be displayed as background in every
    page.
    However, as you mentioned, the background image only print on the first page as you desired in your report in Reporting Services 2005. If you achieve this just by setting the
    BackgroundRepeat property to NoRepeat, could please post the specific version of your Reporting Services 2005 which you can find it in the bottom of your Report Server pages? It will be helpful for us to provide you
    further assistance.
    If you have any question, please feel free to ask.
    Best Regards,
    Tony Chain

  • Internet Explorer7 Blocking Crystal Reports 2008 CrystalReportViewer Export

    Visual Studio 2008 (VS 2008)
    Crystal Reports 2008 (CR 2008)
    Production Server: Windows Server 2003
    Internet Browser: Internet Explorer 7 (IE7)
    Crystal Reports Version: 12.0.2000.0  on both development and production
    IE7 message: To help protect your security, Internet Explorer blocked this site from downloading files to your computer. Click here for options.
    I am in the process of updating my websites from Visual Studio 2005 and Crystal Reports.NET 2005 to Visual Studio 2008 and Crystal Reports 2008.
    In VS 2005, when creating a PDF or exporting from the CrystalReportsViewer, IE7 does not block the creation/download of the PDF, nor the download of an export.
    Whereas, with VS 2008 and CR 2008 using the CrystalReportViewer  in IE7 blocks the creation/download of the PDF, and the download of an export.
    The message returned in the yellow box at the top of IE7 display window:   To help protect your security, Internet Explorer blocked this site from downloading files to your computer. Click here for options.
    If I select down Download Fileu2026  from the options, I must restart the PDF or export. 
    If I show another report, I have the same problem, even if I have stated to download the fileu2026.
    1. What is different between the CrystalReportViewer versions?
    2. What is recommended to avert this problem without having users change their IE7 settings?
    I found this settings change at: http://support.dell.com/support/topics/global.aspx/support/dsn/en/document?journalid=63F807B28AEC39CEE040AE0AB6E15FC5&docid=182320
    Turn off the Information Bar for file downloads
    This procedure will allow Web sites to automatically prompt you when downloading files, bypassing the Information Bar.
    1. Open Internet Explorer.
    2. Click Tools on the menu bar.
    3. Click Internet Options...
    4. At the Internet Options window, click the Security tab.
    5. Click the Custom Level... button.
    6. Security Settings window Security Settings window, scroll down to Downloads in the Settings: list.
    7. Click to select Enable under Automatic prompting for file downloads.
    8. Click the OK button.
    9. At the Warning! message, click the Yes button to change the security settings for the zone.
    10. Click the OK button.
    You will now receive prompts directly from a Web site if it needs to download a file to your computer.

    Hi Don:
    Yes, this is an https:// site.
    This is using X500 accounts for security. Once logged in, the site is running on an anonymous local user account.
    On Internet Options | Security | Internet | Setting the security level as medium  on (the lowest I was able to go) in  IE7 does not allow the user to download without the message coming up. It even states on the side (- Prompts before downloading potentially unsafe content)
    Workaround has been:
    1. Set the site as a trusted site (Internet Options | Security | Trusted Sites | Sites | Add )
    2. On the Trusted Sites Zone | Security level of this zone | Custom levelu2026
    3. Downloads | Automatic prompting for file downloads u2013 change to Enable
    Thanks for your input.  I would like to resolve this issue. CrystalReportsViewer - Crystal Reports Exports/Printing methodology has been changed since Visual Studio 2005 .NET version. 
    Thank you for your input.
    Patti

  • Report Retrieval Times in BPCv7 SP3 using SQL 2008

    General Information: We are a two server environment, one WEB and one SQL, using SQL 2008. We are using BPC v7 SP3. In our devlopment environment, we have selected a handful of reports to use as a benchmark against our production version of Outlooksoft version 4.
    Problem: The benchmark reports are taking longer to retrieve in BPC v7 then they are in Outlooksoft version 4 SP9. We have stripped out the dimension formulas, unchecked the INAPP for each dimension property, reset the compatability level in SQL, and removed all data from the facttables in BPC version 7. The initial pull of the report seems to take almost 3 times as long in BPC v7 than in Outlooksoft version 4. Subsequent pulls, changing the date, take less than 15 seconds for the same report.
    We are at a stand still trying to figure out why we are experiencing such lengthy retrieval times in the initial pull of a report in BPC version 7.
    Additional Info: In our development environment of BPC v7, we currently have only 4 users set up to test. Our Outlooksoft version 4 has a total of 186 users. I don't know the maximium concurrent users we may have at one time.
    Question: We are wondering if any other users are experiencing the same issue when they try and retrieve data from a report in BPC version 7? Please share your insight to this problem.

    Hi Irene,
    It is a big diference of design between 4.x and 7.x.
    Into 4.x when you pull data into a report actually you are using PTS from client and you already have the connection and everything from client direct to OLAP server.
    In 7.x all the request are going first to application server and the application server is the one taking the data from OLAP and after that data is sent to client.
    So first time when you are doing refresh of report into application server it is necessary to create instances for all COM+ components necessary connection etc...and in that case the reports is taking longer.
    When you are doing other refresh with the same reports or with other the time for refresh is much faster because already the COM+ instances were created and in this case the reports should be faster than v 4.x
    So I suggest to try the follow test.
    after login with BPC client just open first a small reports which you know is not taking too long.
    After that open your big report. It should retrieve data faster than 4.x or almost the same time.
    Also make sure you have all the settings done from Tunning Guide for BPC 5.x ( these settings can be applied also for 7.X)
    to be sure that your 7.0 environment is working properly. This tunning guide can be found into bpx/sdn HTG section.
    I hope this will help.
    Regards
    Sorin Radulescu

Maybe you are looking for

  • ORA-29855 - Error creating Spatial Index using a Stored Procedure

    Hi I am using Oracle 10gR2 database and I have written a stored procedure to create spatial index. But when i execute this function i get the following error message. ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine ORA-13249: in

  • Returning HTTP status codes (401, 403, etc) to Flash 8

    Hi all, I'm using AMFPHP on the server-side and Flash remoting classes to communicate with it. Everything's working great, but i'd like Flash to be able to recieve HTTP status codes from the server. For example, if on the server side (in PHP) I go: h

  • How to make a look & feel

    I want make a look and feel like available in the pic. In the Below Link http://ddsuresh.150m.com/controls.jpg Anybody can give a idea.

  • Why can't I edit .CR2 files in new preview anymore?

    I just downloaded mountain lion and I can't edit my .CR2 picture files without duplicating them and turning them into a .tiff file.  I just want to rotate the picture to see what it would look like! 

  • Downconver​t file from version 10 to 8.2

    Can somebody downconvert the attached file to labview 8.2 version. Thanks in advance Attachments: t1.vi ‏43 KB