In 2008 R2, I get Object doesn't support property or method PollResizeImages

This is when I run a report from a reportviewer control to reporting services.  
Another symptom is that images get cropped but if I refresh page cropping doesn't occur
I have this version of SQL server 2008 R2
Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64)   Jun 17 2011 00:54:03   Copyright (c) Microsoft Corporation  Developer Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (Hypervisor) 
I am using the ReportViewer control to display this report
I get this error  Line: 1  Error: Object doesn't support property or method 'PollResizeImages'
It appears to be from this method
function anonymous()
this.PollResizeImages(oReportDiv,oReportDiv)
Another environment with same sql server version doesn't get this error for same report

Hi DenisLang,
As far as I know, it is a known issue in SSRS. Please try to install the latest version of the Report Viewer Runtime to fix the issue.
If the issue is persist, I recommend you that submit this suggestion at
https://connect.microsoft.com/SQLServer/ . If the suggestion mentioned by customers for many times, the product team may consider to add the feature in the next SQL Server version. Your feedback is valuable for us to improve our products and increase the
level of service provided.
Regards,
Alisa Tang
If you have any feedback on our support, please click
here.
Alisa Tang
TechNet Community Support

Similar Messages

  • Trying to convert Pages to Word doc, but keep getting this error message:  TypeError:  Object doesn't support property or method 'invalidate'  JavaScript console contains more details.   Any ideas on how to get past this?

    Trying to convert Pages to Word doc, but keep getting this error message:  TypeError:  Object doesn't support property or method 'invalidate'  JavaScript console contains more details.   Any ideas on how to get past this?

    Right. If you are using delegated privs and sudo, make sure that sudo is configured to pass on the PERL5LIB and ORACLE_HOME environment variables at least.

  • Windows 8.1 and IE11 - Critical Error: Object doesn't support property or method 'addEventListener'

    Our SharePoint 2010 sites don't work very well in Windows 8.1/IE11!!
    When opening list items or forms etc we get Critical Error : Object doesn't support property or method 'addEventListener'. It looks like it's possibly linked to InfoPath forms. Given that a large chunk of our users will probably be upgrading
    to Windows 8.1 as we speak this is slightly worrying!
    Has anyone else noticed this, or is it something to do with our deployment?  We're running SP2010 SP2 with latest CU.

    In older versions of IE, attachEvent is
    used to attach an event handler for some event on some element. But as per the update , starting with IE11, attachEvent is
    deprecated and you should use addEventListener instead.
    IE has included support for addEventListener from
    IE9 and above only. So if you still need to support IE8, I suggest you use some cross-browser library like jQuery to bind event handlers instead of vanilla javascript.
    As you're already using jQuery, you can bind events like below
    $('#yourElement').on('click', function(){
    // do something when you click on yourElement

  • Ehlpdhtm.js script error - Object doesn't support property or method 'Activate'

    RH 9.0.2.271
    Windows 7 64-bit
    This "Object doesn't support property or method 'Activate' ehlpdhtm.js error all of a sudden started popping up when I view any of the chms I build from my file system.
    I initially through it was a 64-bit problem because if I view the chm from my file system I get the script error. But if I copy it to a 32-bit PC or run it from within RH (after it's compiled for example) or a 32-bit version of our software, it runs fine. (However, one of my co-workers tried it on her 64-bit machine and didn't receive any error.) In any case, it seems to be happening on my machine only.
    Anyway, it's not on every topic, but on every one that calls the ehlpdhtm.js script with this line of code, it appears to be happening:
    <script src="ehlpdhtm.js" type="text/javascript" language="JavaScript1.2"></script>
    I don't think hhactivex.dll plays with this js at all, but just in case, I unregistred and re-registered that dll to no effect. I also tried explicitly adding in ehlpdhtm.js as a baggage file. Again, to no effect.
    What could have changed on my system to make this start happening? And any ideas on how to fix it?

    Well here's some more info I found out. If I unregister the 64-bit hhactivex.dll the script error  goes away. Of course my Glossary tab is grayed out as shown below, so that's not really an option:
    Reregistering the 64-bit hhactivex.dll again shows the script errors. Plus, if I then go to my glossary it's completely empty as shown here:
    If I copy this help down into a 32-bit machine everything works: the glossary has glossary terms, there's no script errors.
    In short, I don't know what's going on, but the script error I'm getting is somehow related to having the 64-bit dll registered.

  • JavaScript runtime error: Object doesn't support property or method 'Load'

    I'm pretty new to SharePoint 2013 apps and CSOM. I have written a simple SharePoint-hosted App in Visual Studio 2013 which attempts to display the current user's user profile picture using CSOM and JavaScript. Here is the code in my App.js file:
    $(document).ready(function () {
        var context = SP.ClientContext.get_current();
        var peopleManager = new SP.UserProfiles.PeopleManager(context);
        var userProperties = peopleManager.getMyProperties();
        context.Load(userProperties);
        context.executeQueryAsync(function (){
            if (properties) {
                var pic = userProperties.get_pictureUrl();
                $('#userProfileImage').attr("src", pic);
    I am getting error "JavaScript runtime error: Object doesn't support property or method 'Load'" on line "context.Load(userProperties);"
    I have SP.UserProfiles.js referenced, which is why this command executes successfully: var peopleManager = new SP.UserProfiles.PeopleManager(context); Is it my context object or userProperties object that is causing this error, and why? Thanks
    in advance for your help.
    Frank Foreman

    Hi,
      This method is case Sensitive, try this context.load(userProperties);

  • JsRender error Object doesn't support property or method 'render'

    I have used jsRender.js in a content editor on a webpart page.
    Whenever I am using the following line inside document.ready(), it gives error.
    $( "#SearchResults" ).html(
    $( "#resultTemplate" ).render( results )
    Error: Object doesn't support property or method 'render'.
    Basically on a button click, this is getting called to display the results.
    I have checked, the jsRender.js file getting loaded properly.
    Can anyone help in this issue.

    Hi All,
    Using the developer tool, when I am running the render method on $( "#resultTemplate" ) element, it's again giving the same error.
    I have properly referred the jQuery and jsRender file using the seperate </script> tag. Also identified that on page load, these files are getting properly loaded.
    Here is the following code I am using, where I am calling the search function in last line (originally on button click):
    <script src="/sites/Tools/siteassets/jquery/js/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="/sites/Tools/SiteAssets/FormExtension/jsrender.js" type="text/javascript"></script>
    $(document).ready(function(){
    var searchCount = 0;
    function search(term) {
    // Show loading animation
    $(".loadingAnim").show();
    $("#searchResults").html("");
    var curCtx = new SP.ClientContext.get_current();
    var searchCAML = "";
    var searchToBeAppended = "";
    var searchTerms = term.split(" ");
    // remove empty elements/blanks
    searchTerms = $.grep(searchTerms,function(n){
    return(n);
    if(searchTerms.length > 1){
    searchCAML += "<And>";
    $.each(searchTerms, function(i, t){
    if(i == 0 || i == 0 && searchTerms.length == 2){
    searchCAML += "<Contains><FieldRef Name='search' /><Value Type='Text'><![CDATA["+xmlencode($.trim(t))+"]]></Value></Contains>";
    }else if(i == 0 && searchTerms.length > 2){
    searchCAML += "<Contains><FieldRef Name='search' /><Value Type='Text'><![CDATA["+xmlencode($.trim(t))+"]]></Value></Contains>";
    }else if(i == 1 && searchTerms.length == 2){
    searchCAML += "<Contains><FieldRef Name='search' /><Value Type='Text'><![CDATA["+xmlencode($.trim(t))+"]]></Value></Contains></And>";
    }else if(i == searchTerms.length-1){
    searchCAML += "<Contains><FieldRef Name='search' /><Value Type='Text'><![CDATA["+xmlencode($.trim(t))+"]]></Value></Contains>";
    }else{
    searchCAML += "<And><Contains><FieldRef Name='search' /><Value Type='Text'><![CDATA["+xmlencode($.trim(t))+"]]></Value></Contains>";
    searchToBeAppended += "</And>";
    if(searchTerms.length > 2){
    searchToBeAppended += "</And>";
    // Append necessary colsing tags
    searchCAML += searchToBeAppended;
    //reset searchToBeAppended
    searchToBeAppended = "";
    if(searchTerms.length > 1){
    searchCAML += "<And>";
    $.each(searchTerms, function(i, t){
    if(i == 0 || i == 0 && searchTerms.length == 2){
    searchCAML += "<Contains><FieldRef Name='ContentRemark' /><Value Type='Note'><![CDATA["+xmlencode($.trim(t))+"]]></Value></Contains>";
    }else if(i == 0 && searchTerms.length > 2){
    searchCAML += "<Contains><FieldRef Name='ContentRemark' /><Value Type='Note'><![CDATA["+xmlencode($.trim(t))+"]]></Value></Contains>";
    }else if(i == 1 && searchTerms.length == 2){
    searchCAML += "<Contains><FieldRef Name='ContentRemark' /><Value Type='Note'><![CDATA["+xmlencode($.trim(t))+"]]></Value></Contains></And>";
    }else if(i == searchTerms.length-1){
    searchCAML += "<Contains><FieldRef Name='ContentRemark' /><Value Type='Note'><![CDATA["+xmlencode($.trim(t))+"]]></Value></Contains>";
    }else{
    searchCAML += "<And><Contains><FieldRef Name='ContentRemark' /><Value Type='Note'><![CDATA["+xmlencode($.trim(t))+"]]></Value></Contains>";
    searchToBeAppended += "</And>";
    if(searchTerms.length > 2){
    searchToBeAppended += "</And>";
    // Append necessary colsing tags
    searchCAML += searchToBeAppended;
    if(searchCAML != ""){
    searchCAML = "<View><Query><Where><Or>"+ searchCAML +"</Or></Where></Query><RowLimit Paged='FALSE'>500</RowLimit></View>";
    }else{
    searchCAML = "<View><RowLimit Paged='FALSE'>500</RowLimit></View>";
    /* Load Equipments*/
    listEqui = curCtx.get_web().get_lists().getByTitle('Dossiers');
    var queryResults = new SP.CamlQuery();
    queryResults.set_viewXml(searchCAML);
    listItemsResults = listEqui.getItems(queryResults);
    curCtx.load(listItemsResults , 'Include(ID, Title, Group, Created, Responsible, Client, Autor, Party1, Party2, search )');
    curCtx.executeQueryAsync(getListItemsSuccess, getListItemsFailure);
    function getListItemsSuccess(sender, args) {
    var term = $("#searchTerm").attr("value");
    var results = new Array();
    var listEnumerator = listItemsResults.getEnumerator();
    while (listEnumerator.moveNext()) {
    var element = {
    ID: listEnumerator.get_current().get_item("ID")
    , Title: listEnumerator.get_current().get_item("Title")
    , Group: listEnumerator.get_current().get_item("Group")
    , Created: listEnumerator.get_current().get_item("Created")
    , Responsible: listEnumerator.get_current().get_item("Responsible")
    , Client: listEnumerator.get_current().get_item("Client")
    , Party1: listEnumerator.get_current().get_item("Party1")
    , Party2: listEnumerator.get_current().get_item("Party2")
    , Autor: listEnumerator.get_current().get_item("Autor")
    , term: term
    results.push(element);
    $("#searchResCount").text( results.length + " dossiers found");
    $( "#SearchResults" ).html(
    $( "#resultTemplate" ).render( results )
    AddHoverStyle();
    $(".loadingAnim").delay(1000).fadeOut();
    function getListItemsFailure(sender, args) {
    SP.UI.Notify.addNotification('Failed to get list items. \nError: ' + args.get_message() + '\nStackTrace: ' + args.get_stackTrace(), false);
    $(".loadingAnim").delay(1000).fadeOut();
    //Calling search function.
    search("cl")
    Kindly let me know if something is wrong here.

  • Adobe Reader installation error: "object doesn't support property or method 'text'"

    I'm trying to install Adobe Reader and I have the following error after launching the installer:
    "object doesn't support property or method 'text'"
    My OS is Win7 Ultimate 64b (using AVG antivirus), but I encounter the same error on other systems too:
    Win7 Ultimate 32b (AVG Antivirus)
    Win7 Enterprise 64b (McAfee Antivirus)
    No matter which button I click, the installer hangs:
    I googled this error, but couldn't find any solution.
    Any ideas?
    Thanks!

    This error mostly occurs if your language is not set to English (on the Adobe.com website).  This has been reported to Adobe a million times, but they don't seem to have any intererest in fixing it.

  • Host Web App: error getting host web context 0x800a01b6 - Object doesn't support property or method 'set_formDigestHandlingEnabled'

    Hi
    I testing out creating site columns and content types in host web with an on prem SharePoint hosted app.  I am getting the above error 
    I am getting stuck on the above error when I come to this line of code in an init() function
                hostWebContext = SP.ClientContext(getRelativeUrlFromAbsolute(hostWebUrl));
    Note in my default.aspx header section I have declared the following 
    - The markup and script in the following Content element will be placed in the <head> of the page --%>
    <asp:Content ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
    <script type="text/javascript" src="../Scripts/jquery-1.9.1.min.js"></script>
    <script type="text/javascript" src="/_layouts/15/sp.runtime.js"></script>
    <script type="text/javascript" src="/_layouts/15/sp.js"></script>
    <script type="text/javascript" src="/_layouts/15/sp.Taxonomy.js"></script>
    <script type="text/javascript" src="/_layouts/15/init.js"></script>
    <script type="text/javascript" src="/_layouts/15/sp.Core.js"></script>
    <script type="text/javascript" src="/_layouts/15/sp.UI.Dialog.js"></script>
    Any thoughts anyone ?   
    Daniel
    Freelance consultant

    Hi,
    The following articles for your reference:
    Create lists, content types, fields etc. within a SharePoint 2013 app
    http://www.sharepointnutsandbolts.com/2012/08/create-lists-content-types-files-etc.html
    Programmatically creating Site Columns and Content Types using the App Model
    http://blog.mastykarz.nl/programmatically-creating-site-columns-content-types-app-model/
    Best Regards
    Dennis Guo
    TechNet Community Support

  • IE9: AdobeEdge object doesn't support method loadComposition

    The edge animation does not load in IE9
    just a blank page.
    Every other major browser works just fine.
    if I surround the script with a try catch like so:
    <!DOCTYPE html>
    <html>
    <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
      <title>Julekort 2014</title>
      <!--Adobe Edge Runtime-->
      <meta http-equiv="X-UA-Compatible" content="IE=Edge">
      <script type="text/javascript" charset="utf-8" src="edge_includes/edge.5.0.1.min.js"></script>
      <style>
      .edgeLoad-EDGE-26285399 { visibility:hidden; }
      </style>
      <script>
      try{
      AdobeEdge.loadComposition('Julekort_2.0', 'EDGE-26285399', {
      scaleToFit: "none",
      centerStage: "none",
      minW: "0",
      maxW: "undefined",
      width: "100%",
      height: "5000"
      }, {"dom":[]}, {"dom":[]});
      } catch (e){
      alert(e);
      </script>
      <!--Adobe Edge Runtime End-->
    IE9 alerts:
    TypeError: Object doesn't support property or method 'loadComposition'
    Any help appreciated.

    Has anyone found a solution to this issue?  I am experiencing the same thing.  Is there a different method to code this for IE9 compatibility or is Adobe Edge Animate not compatible with IE9?
    If Adobe Edge Animate is not compatible with IE9, is there another program that can be used for this?
    Thank you.

  • Error in allInOne.js: Object doesn't support this property or method

    We are having an issue deploy our website (Developed in .Net) on a specific server. When we try to visualize a report on any browser we get this error:
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30618; OfficeLiveConnector.1.4; OfficeLivePatch.0.0)
    Timestamp: Wed, 7 Apr 2010 17:52:31 UTC
    Message: Object doesn't support this property or method
    Line: 10
    Char: 281690
    Code: 0
    URI: http://{IP ADDRESS}/WebUserInterface/aspnet_client/system_web/2_0_50727/crystalreportviewers12/allInOne.js
    We have install the Crystal reports 2008 runtime and the Crystal report 2008 sp2.5 runtime. Both of them give me the same results.
    It's killing me because i have installed the same solution on many other server without any issue.
    Ben
    P.s. The Web server is  a Window Server 2003 R2 standard edition

    Perhaps using [modules|https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip] will at least tell us what dlls are loading. Look at the CR dlls. There should not be any v11 files loaded by your app.
    You may also start considering obtaining phone support for this one. I have a feeling this will take more than just forums to solve...
    Phone support can be obtained here:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300
    Ludek

  • Exporting file to PowerPoint 'Object doesn't support this action'

    Hi -
    Client is using Nakisa 2.0 SP2
    When exporting an org chart to PowerPoint. 
    1. Hit 'export to PDF'
    2.Select radiobutton 'Powerpoint OrgChart Object'
    3.Pop up appears 'Object doesn't support this action' in browser
    4. additional information appears in Browser, see below. I have followed the instructions and still the problem persists.
    Any ideas? All help would be highly appreciated.
    Export To PowerPoint
    Compatibility
    We currently support:
    u2022     Microsoft PowerPoint 2000 / 2002
    u2022     Microsoft PowerPoint 2003
    Note: To ensure compatability, you may be prompted to install "Service Pack 6 for Visual Basic Runtime." If so, you must accept the installation and once installed it may ask for a system reboot which you may ignore.
    ActiveX Security
    Depending on your browser settings, you may be prompted to install 'Nakisa Office Components.cab'. This is our ActiveX component that will allow you to use our Exporting functionality.
    You may also be prompted to allow the ActiveX to run. If so, you must select 'Yes' to continue.
    Note: If you are not prompted and the export fails to occur, please verify your Microsoft Office installation and verify your browser's ActiveX settings are set to 'Enable' or 'Prompt'.

    Hi Thanks for your reply.
    This message I get in try to save  orgchart to ppt. I have not checked the log file, so will have a look tomorrow. This is the only pop up I get. any ideas

  • Can i use AcroRd32.dll to get Object of AcroApp

    Hi all,
    Can i use AcroRd32.dll to get Object of AcroApp. I don't want to use acrobat professional.
    My code is :
    Dim objAcroApp As Acrobat.AcroApp
    Dim objAXDoc As Acrobat.AcroAXDoc
    Dim objAVDoc As Acrobat.AcroAVDoc
    Set objAXDoc = CreateObject("AcroExch.Document")
    Set objAcroApp = objAXDoc.Application
    (I have taken refernce to Adobe 7.0 type library in my VB application)
    But the last line is giving me error (Object doesn't support this action)
    Plz help me.
    Many Thanks,
    Nitin

    Hi all,
    Can i use AcroRd32.dll to get Object of AcroApp. I don't want to use acrobat professional.
    My code is :
    Dim objAcroApp As Acrobat.AcroApp
    Dim objAXDoc As Acrobat.AcroAXDoc
    Dim objAVDoc As Acrobat.AcroAVDoc
    Set objAXDoc = CreateObject("AcroExch.Document")
    Set objAcroApp = objAXDoc.Application
    (I have taken refernce to Adobe 7.0 type library in my VB application)
    But the last line is giving me error (Object doesn't support this action)
    Plz help me.
    Many Thanks,
    Nitin

  • Internet plug in that Safari doesn't support

    Ouestion. Brand new Mac OSX 10.4 Not able to open Internet programmes,
    keep getting Safari doesn't support. Have tried ticking the Rossett box in Safari
    with no results. I had no trouble with G4 laptop with Panther. Would appreciate some help , thanks sarsfield

    Hi,
    You need to install additional plug-ins for Safari to work with RealPlayer or Windows Media video streams.
    Flip4Mac (for Windows Media playback)
    Real Player (free download link in the top right hand corner)
    Note that Flip4Mac is not yet a Universal Binary so you will need to continue running Safari in Rosetta mode for that to work correctly.
    If you're still having problems after installing those, please post the website in question so we can take a closer look.
    Good luck!

  • How to get object key before load data into form?

    I need to get object key (e.g. ItemCode in Item Master Data From ,docEntry in A/R Invoice From) to calculate and do something  before data is loaded into this form .
    I try to use SAPbouiCOM.BusinessObjectInfo.objectKey as in this code.
    Private Sub oApp_FormDataEvent(ByRef pVal As SAPbouiCOM.BusinessObjectInfo, ByRef BubbleEvent As Boolean) Handles oApp.FormDataEvent
           If pVal.FormTypeEx = "672" And pVal.BeforeAction = True And pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_LOAD Then
                   oApp.MessageBox(pVal.ObjectKey)
           End If
    End Sub
    But this fields doesn't valid under this condition (form DI help file).
    - The property returns an empty value in the before notification of the Load action (et_FORM_DATA_LOAD) triggered by a Find operation.
    How can I get this value(key)?

    Janos
    I can't do a calculation after data is loaded because what I'm going to do is that if the opening entry match my condition , the system will not let that user see that entry (bubbleEvent = False).
    I think when formDataEvent is triggered B1 know which entry are going to load because before this event is triggered we did one of following ways
    1. choose from "choose from list windows"
    2. enter docEntry or itemCode or cardCode  and then press Find Button
    3. press "next/previous record button"
    4. press linked button (orange arrow)
    Choice 3 and 4 can be done by retrieve data from BusinessObjectInfo.objectKey (I've tested and it return entry key that is going to open correctly).
    but 1 and 2 can't (it return empty as I mention before).
    thanks
    Edited by: daron tancharoen on Aug 5, 2008 2:34 PM

  • Date object doesn't work in query filters

    I'm trying to create a universe object called Next Biweekly Pay End Date.  Some background: there is an end date for our biweekly payrolls every 14 days, and the logic behind the object is basically that if there was a biweekly pay end date 7 days ago, the next one is 7 days from today (that is, sysdate + 7), etc.</p>
    I have it working so that it displays the correct date when used in a WebI report.  However, when I use it in a query filter in a WebI report (like, Pay End Date = Next Biweekly Pay End Date), I don't get an error, but I also don't get any data.  Somehow my object doesn't work in a query filter.  The purpose of the object is for use in query filters, so I need to get this to work.</p>
    My best guess about why it doesn't work in a query filter is due to some issue with the data type.  Pay End Date has a data type of date in the universe.  I gave Next Biweekly Pay End Date a data type of date also, but the query filter still doesn't work; I get "no data to fetch."</p>
    We're using XI 3.1.6 and Oracle 10.  Any ideas about how to get this to work?</p>
    If it helps, here is the definition of Next Biweekly Pay End Date.  The logic is that it takes today's date, subtracts Oct. 31, 2009 (a biweekly pay end date), divides by 14, and looks at the remainder.  If the remainder is 0, then today is a pay end date and the next one is 14 days from now.  If the remainder is 1, yesterday was a pay end date and the next one is 13 days from now, etc.</p>
    case</p>
      when mod((trunc(sysdate)) - (to_date('31/10/2009')),14) = 0 then (sysdate + 14)</p>
      when mod((trunc(sysdate)) - (to_date('31/10/2009')),14) = 1 then (sysdate + 13)</p>
      when mod((trunc(sysdate)) - (to_date('31/10/2009')),14) = 2 then (sysdate + 12)</p>
      when mod((trunc(sysdate)) - (to_date('31/10/2009')),14) = 3 then (sysdate + 11)</p>
      when mod((trunc(sysdate)) - (to_date('31/10/2009')),14) = 4 then (sysdate + 10)</p>
      when mod((trunc(sysdate)) - (to_date('31/10/2009')),14) = 5 then (sysdate + 9)</p>
      when mod((trunc(sysdate)) - (to_date('31/10/2009')),14) = 6 then (sysdate + 8)</p>
      when mod((trunc(sysdate)) - (to_date('31/10/2009')),14) = 7 then (sysdate + 7)</p>
      when mod((trunc(sysdate)) - (to_date('31/10/2009')),14) = 8 then (sysdate + 6)</p>
      when mod((trunc(sysdate)) - (to_date('31/10/2009')),14) = 9 then (sysdate + 5)</p>
      when mod((trunc(sysdate)) - (to_date('31/10/2009')),14) = 10 then (sysdate + 4)</p>
      when mod((trunc(sysdate)) - (to_date('31/10/2009')),14) = 11 then (sysdate + 3)</p>
      when mod((trunc(sysdate)) - (to_date('31/10/2009')),14) = 12 then (sysdate + 2)</p>
      when mod((trunc(sysdate)) - (to_date('31/10/2009')),14) = 13 then (sysdate + 1)</p>
    end

    Thanks for the suggestions.
    I did some more testing, and there seems to be something more complicated going on.  I ran the following code in SQL*Plus:
    SELECT distinct M_PYDW1.PYSTATUS.DW_OWNER,
    case
    when to_date(sysdate, 'dd/mm/yyyy hh24:mi:ss') >= to_date('01/01/2010','dd/mm/yyyy hh24:mi:ss') then To_Date((sysdate - 2),'dd/mm/yyyy')
    else to_date(sysdate +2, 'dd/mm/yyyy')
    end
    FROM M_PYDW1.PYSTATUS
    The condition should be true, because the sysdate (today is Jan. 20) is greater than 1/1/2010, so I should get a result of sysdate - 2 (Jan. 18).  But the result I get is Jan. 22 (sysdate +2).  It seems that the comparison is failing even though I'm formatting both sysdate and 1/1/2010 as dates with a timestamp.  What could cause that?
    One more mystery: when I run the same code as above in a WebI report (using custom SQL), I get the error ORA-1830, date format picture ends before converting entire input string.

Maybe you are looking for

  • I am trying to Show Package contents of iMovie and it freezes at the hr.lprog folder

    While doing a virus scan my machine would freeze on the file Applications/iMovie/Contents/Resource/hr.lprog/Title-SidewaysDrifting.nib/keyedo bjects.nib. Bitdefender said to send them the file. I am able to "Show package contents" of iMovie, and open

  • Post Upgrade to R2: Task Sequence Fails with 0x80070057

    one SCCM 2012 server for a while now (June/July of 2013) and have had no issues with OSD's and software deployments.  Today I decided to upgrade to R2 from CU3 and I thought the upgrade process went really well.  But after the upgrade I attempted to

  • Recover DB

    hello all, i am on 10g and trying to recover the DB but seems like its missing archive log.... SQL> recover database until cancel; ORA-00283: recovery session canceled due to errors ORA-01610: recovery using the BACKUP CONTROLFILE option must be done

  • Blogs Taskflow not Allowing for New Post

    I have added the Blogs Taskflow to a page within a custom WebCenter Portal implementation. I have associated this Blogs Taskflow with an existing WebCenter Content folder using a WebCenter Content connection with Identity Propagation. I have made sur

  • Java.io.UnsupportedEncodingException: EUC-JP on Windows

    Hi, I've developed a Java class that works on a web page containing Japanese characters, but I have two different behavior on MacOSX and Windows. On MacOSX: I can see CORRECTLY characters both on a Swing Component and on a temporary file written by m