Delete onEnterFrame fails

Hi,
Based on the AS Docs (http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/2/help.html?content=00000 700.html) a delete statement may fail.
In our code
at sometime, we assign the onEnterFrame event handler of a MovieClip to a function in order to blink a value on a tooltip
at a later time, we use the delete statement (delete mc.onEnterFrame) in order to stop the blink
Sometimes the delete statement fails and the blink goes on. It has been reported by the users but we were unable to reproduce the problem.
When a delete.onEnterFrame may fail and how easy is it to reproduce something like this?
Thank you in advance,
Bill

i've never seen the problem as long as mc continues to exist and its reference is not confounded.  ie, make sure mc still exists and make sure you do NOT create another reference to mc when another mc and mc.onEnterFrame exist.

Similar Messages

  • The Imap command UID copy (to deleted messages) failed for the mailbox "bulk mail" with server error UID copy mailbox in use.  PLease try again later

    The Imap command UID copy (to deleted messages) failed for the mailbox "bulk mail" with server error UID copy mailbox in use.  PLease try again later

    What program are you using?  And what version?

  • I'm stuck after I delete onEnterFrame

    I've made a lot of progress on this file thanks to some help
    from the forum. I've reached a point I can't figure out. In my
    released() function, I need to call a delete onEnterFrame so that
    the scripted tweens can run. But how do I "reinstate" the
    onEnterFrame when the unreleased() function is called so that the
    original motion can run.
    import mx.utils.Delegate
    import mx.transitions.Tween;
    import mx.transitions.easing.*;
    var numClouds:Number = 35;
    var fl:Number = 250;
    var gravity:Number = .5;
    var vx:Number = 0;
    var vy:Number = 0;
    var vz:Number = 0;
    var friction:Number = .97;
    var vpX:Number = Stage.width / 2;
    var vpY:Number = Stage.height / 2;
    var vpY:Number = 400;
    var home:MovieClip = this;
    var dreamarray:Array = new Array();
    dreamarray[0] = "dreamone";
    dreamarray[1] = "dreamtwo";
    dreamarray[2] = "dreamthree";
    dreamarray[3] = "dreamfour";
    dreamarray[4] = "dreamfive";
    var dreamarrayX:Array = new Array();
    dreamarrayX[0] = 0
    dreamarrayX[1] = -1800;
    dreamarrayX[2] = 2000;
    dreamarrayX[3] = 100;
    dreamarrayX[4] = -1700;
    var dreamarrayZ:Array = new Array();
    dreamarrayZ[0] = 0;
    dreamarrayZ[1] = 500;
    dreamarrayZ[2] = 1000;
    dreamarrayZ[3] = 1500;
    dreamarrayZ[4] = 2000;
    function init() {
    for (var i:Number = 0; i<dreamarray.length; i++) {
    var dream:MovieClip = home.attachMovie(dreamarray
    , "dreamarray" + i, i);
    dream.x = dreamarrayX;
    dream.y = 50;
    dream.z = dreamarrayZ
    dream.onRelease = released;
    function inittwo() {
    //set Number to more than number of dreams
    for (var j:Number = 20; j<numClouds; j++) {
    var cloud:MovieClip = attachMovie("cloud", "cloud" + j, j);
    cloud.x = Math.random() * 2000 - 800;
    cloud.y = 50;
    cloud.z = 0 + cloudoffset;
    //cloud.onEnterFrame = mover;
    cloudoffset += 600;
    function released() {
    for (var i=0;i<dreamarray.length;i++){
    var t:MovieClip = home["dreamarray"+i];
    t.xPos = t._x;
    t.yPos = t._y;
    t.theScale = t._xscale;
    //delete dream.onRelease;
    delete onEnterFrame;
    if (t != this)
    //trace(this);
    var tw:Tween = new
    Tween(t,"_xscale",Strong.easeOut,t._xscale,0,1,true);
    var tw2:Tween = new
    Tween(t,"_yscale",Strong.easeOut,t._yscale,0,1,true);
    var tw3:Tween = new
    Tween(t,"_alpha",Strong.easeOut,100,0,1,true);
    //trace(t);
    //trace(t.xPos);
    //trace(t.yPos);
    else
    var tw:Tween = new
    Tween(t,"_xscale",Strong.easeOut,t._xscale,55,1,true);
    var tw2:Tween = new
    Tween(t,"_yscale",Strong.easeOut,t._yscale,55,1,true);
    var tw3:Tween = new
    Tween(t,"_x",Strong.easeOut,t._x,200,1,true);
    var tw4:Tween = new
    Tween(t,"_y",Strong.easeOut,t._y,100,1,true);
    var tw5:Tween = new
    Tween(theText,"_alpha",Strong.easeOut,0,100,1,true);
    var s:Object = this;
    tw.onMotionStopped = function()
    s.onRelease = unReleased;
    function unReleased(){
    //delete this.onRelease;
    for(var i=0;i<dreamarray.length;i++)
    var t:MovieClip = home["dreamarray"+i];
    if(t != this)
    var tw:Tween = new
    Tween(t,"_xscale",Strong.easeOut,0,t.theScale,1,true);
    var tw2:Tween = new
    Tween(t,"_yscale",Strong.easeOut,0,t.theScale,1,true);
    var tw3:Tween = new
    Tween(t,"_alpha",Strong.easeOut,0,100,1,true);
    else
    var tw:Tween = new
    Tween(t,"_xscale",Strong.easeOut,100,t.theScale,1,true);
    var tw2:Tween = new
    Tween(t,"_yscale",Strong.easeOut,100,t.theScale,1,true);
    var tw3:Tween = new
    Tween(t,"_x",Strong.easeOut,t._x,t.xPos,1,true);
    var tw4:Tween = new
    Tween(t,"_y",Strong.easeOut,t._y,t.yPos,1,true);
    tw.onMotionStopped = function()
    for(var i=0;i<dreamarray.length;i++)
    var t:MovieClip = home["dreamarray"+i];
    t.onRelease = Delegate.create(t,released);
    //t.onEnterFrame = mover;
    function onEnterFrame():Void {
    //if (dreamarray4.z >= 500 &&
    Key.isDown(Key.UP)){
    if (zdepth < 55 && Key.isDown(Key.UP)){
    vz -= 1;
    zdepth += 1;
    //if(dreamarray4.z >=2000 &&
    Key.isDown(Key.DOWN))
    if(zdepth > 0 && Key.isDown(Key.DOWN))
    vz += 1;
    zdepth -= 1;
    vy -= gravity;
    vx *= friction;
    vy *= friction;
    vz *= friction;
    for (var i:Number=0;i<dreamarray.length;i++) {
    var dream:MovieClip = home["dreamarray" +i];
    dream.x += vx;
    dream.y += vy;
    dream.z += vz;
    if(dream.y < 50)
    dream.y = 50;
    vy = 0;
    if (dream.z <= -fl) {
    //delete dream.z
    dream.z._visible = false;
    else
    dream.z._visible = true;
    var scale:Number = fl / (fl + dream.z);
    dream._xscale = dream._yscale = scale*100;
    dream._x = vpX + dream.x * scale/2;
    dream._y = vpY + dream.y * scale/2;
    //dream._x = dream.x * scale/2;
    //dream._alpha = scale * 60 + 40;
    dream.swapDepths(-dream.z);
    for (var j:Number=0;j<numClouds;j++) {
    var cloud:MovieClip = this["cloud" + j];
    cloud.x += vx;
    cloud.y += vy;
    cloud.z += vz;
    if(cloud.y < 50)
    cloud.y = 50;
    vy = 0;
    if (cloud.z <= -fl) {
    cloud.z += 5000;
    else if(cloud.z > 5000 - fl)
    cloud.z -= 5000;
    var scale:Number = fl / (fl + cloud.z);
    cloud._xscale = cloud._yscale=scale*200;
    cloud._x = vpX + cloud.x * scale;
    cloud._y = vpY + cloud.y * scale;
    cloud._alpha = scale * 60 + 40;
    cloud.swapDepths(-cloud.z);
    /*//trying to create the mover function
    function mover():Void {
    //if (dreamarray4.z >= 500 &&
    Key.isDown(Key.UP)){
    if (zdepth < 55 && Key.isDown(Key.UP)){
    vz -= 1;
    zdepth += 1;
    //if(dreamarray4.z >=2000 &&
    Key.isDown(Key.DOWN))
    if(zdepth > 0 && Key.isDown(Key.DOWN))
    vz += 1;
    zdepth -= 1;
    vy -= gravity;
    vx *= friction;
    vy *= friction;
    vz *= friction;
    for (var i:Number=0;i<dreamarray.length;i++) {
    var dream:MovieClip = home["dreamarray" +i];
    dream.x += vx;
    dream.y += vy;
    dream.z += vz;
    if(dream.y < 50)
    dream.y = 50;
    vy = 0;
    if (dream.z <= -fl) {
    //delete dream.z
    dream.z._visible = false;
    else
    dream.z._visible = true;
    var scale:Number = fl / (fl + dream.z);
    dream._xscale = dream._yscale = scale*100;
    dream._x = vpX + dream.x * scale/2;
    dream._y = vpY + dream.y * scale/2;
    //dream._x = dream.x * scale/2;
    //dream._alpha = scale * 60 + 40;
    dream.swapDepths(-dream.z);
    for (var j:Number=0;j<numClouds;j++) {
    var cloud:MovieClip = this["cloud" + j];
    cloud.x += vx;
    cloud.y += vy;
    cloud.z += vz;
    if(cloud.y < 50)
    cloud.y = 50;
    vy = 0;
    if (cloud.z <= -fl) {
    cloud.z += 5000;
    else if(cloud.z > 5000 - fl)
    cloud.z -= 5000;
    var scale:Number = fl / (fl + cloud.z);
    cloud._xscale = cloud._yscale=scale*200;
    cloud._x = vpX + cloud.x * scale;
    cloud._y = vpY + cloud.y * scale;
    cloud._alpha = scale * 60 + 40;
    cloud.swapDepths(-cloud.z);
    init();
    inittwo();
    stop();

    I changed my script to create dream.onEnterFrame = mover;
    The dream MovieClips attach correctly and move as they are
    supposed to....but now my clouds just get attached in the upperleft
    corner.
    I tried creating cloud.onEnterFrame = mover; since the clouds
    movement is controlled in the same function as the "dreams"
    Do I need to create a seperate mover function for the clouds?
    And rename all of my variables to go with the new function?
    import mx.utils.Delegate
    import mx.transitions.Tween;
    import mx.transitions.easing.*;
    var numClouds:Number = 35;
    var fl:Number = 250;
    var gravity:Number = .5;
    var vx:Number = 0;
    var vy:Number = 0;
    var vz:Number = 0;
    var friction:Number = .97;
    var vpX:Number = Stage.width / 2;
    var vpY:Number = Stage.height / 2;
    var vpY:Number = 400;
    var home:MovieClip = this;
    var dreamarray:Array = new Array();
    dreamarray[0] = "dreamone";
    dreamarray[1] = "dreamtwo";
    dreamarray[2] = "dreamthree";
    dreamarray[3] = "dreamfour";
    dreamarray[4] = "dreamfive";
    var dreamarrayX:Array = new Array();
    dreamarrayX[0] = 0
    dreamarrayX[1] = -1800;
    dreamarrayX[2] = 2000;
    dreamarrayX[3] = 100;
    dreamarrayX[4] = -1700;
    var dreamarrayZ:Array = new Array();
    dreamarrayZ[0] = 0;
    dreamarrayZ[1] = 500;
    dreamarrayZ[2] = 1000;
    dreamarrayZ[3] = 1500;
    dreamarrayZ[4] = 2000;
    function init() {
    for (var i:Number = 0; i<dreamarray.length; i++) {
    var dream:MovieClip = home.attachMovie(dreamarray
    , "dreamarray" + i, i);
    dream.x = dreamarrayX;
    dream.y = 50;
    dream.z = dreamarrayZ
    dream.onRelease = released;
    dream.onEnterFrame = mover;
    function inittwo() {
    //set Number to more than number of dreams
    for (var j:Number = 20; j<numClouds; j++) {
    var cloud:MovieClip = attachMovie("cloud", "cloud" + j, j);
    cloud.x = Math.random() * 2000 - 800;
    cloud.y = 50;
    cloud.z = 0 + cloudoffset;
    //cloud.onEnterFrame = mover;
    cloudoffset += 600;
    function released() {
    for (var i=0;i<dreamarray.length;i++){
    var t:MovieClip = home["dreamarray"+i];
    t.xPos = t._x;
    t.yPos = t._y;
    t.theScale = t._xscale;
    //delete dream.onRelease;
    t.onEnterFrame = null;
    if (t != this)
    var tw:Tween = new
    Tween(t,"_xscale",Strong.easeOut,t._xscale,0,1,true);
    var tw2:Tween = new
    Tween(t,"_yscale",Strong.easeOut,t._yscale,0,1,true);
    var tw3:Tween = new
    Tween(t,"_alpha",Strong.easeOut,100,0,1,true);
    else
    var tw:Tween = new
    Tween(t,"_xscale",Strong.easeOut,t._xscale,55,1,true);
    var tw2:Tween = new
    Tween(t,"_yscale",Strong.easeOut,t._yscale,55,1,true);
    var tw3:Tween = new
    Tween(t,"_x",Strong.easeOut,t._x,200,1,true);
    var tw4:Tween = new
    Tween(t,"_y",Strong.easeOut,t._y,100,1,true);
    var tw5:Tween = new
    Tween(theText,"_alpha",Strong.easeOut,0,100,1,true);
    var s:Object = this;
    tw.onMotionStopped = function()
    s.onRelease = unReleased;
    function unReleased(){
    for(var i=0;i<dreamarray.length;i++)
    var t:MovieClip = home["dreamarray"+i];
    if(t != this)
    var tw:Tween = new
    Tween(t,"_xscale",Strong.easeOut,0,t.theScale,1,true);
    var tw2:Tween = new
    Tween(t,"_yscale",Strong.easeOut,0,t.theScale,1,true);
    var tw3:Tween = new
    Tween(t,"_alpha",Strong.easeOut,0,100,1,true);
    else
    var tw:Tween = new
    Tween(t,"_xscale",Strong.easeOut,100,t.theScale,1,true);
    var tw2:Tween = new
    Tween(t,"_yscale",Strong.easeOut,100,t.theScale,1,true);
    var tw3:Tween = new
    Tween(t,"_x",Strong.easeOut,t._x,t.xPos,1,true);
    var tw4:Tween = new
    Tween(t,"_y",Strong.easeOut,t._y,t.yPos,1,true);
    tw.onMotionStopped = function()
    for(var i=0;i<dreamarray.length;i++)
    var t:MovieClip = home["dreamarray"+i];
    t.onRelease = Delegate.create(t,released);
    t.onEnterFrame = mover;
    //trying to create the mover function
    function mover():Void {
    if (zdepth < 55 && Key.isDown(Key.UP)){
    vz -= 1;
    zdepth += 1;
    if(zdepth > 0 && Key.isDown(Key.DOWN))
    vz += 1;
    zdepth -= 1;
    vy -= gravity;
    vx *= friction;
    vy *= friction;
    vz *= friction;
    for (var i:Number=0;i<dreamarray.length;i++) {
    var dream:MovieClip = home["dreamarray" +i];
    dream.x += vx;
    dream.y += vy;
    dream.z += vz;
    if(dream.y < 50)
    dream.y = 50;
    vy = 0;
    if (dream.z <= -fl) {
    dream.z._visible = false;
    else
    dream.z._visible = true;
    var scale:Number = fl / (fl + dream.z);
    dream._xscale = dream._yscale = scale*100;
    dream._x = vpX + dream.x * scale/2;
    dream._y = vpY + dream.y * scale/2;
    //dream._x = dream.x * scale/2;
    //dream._alpha = scale * 60 + 40;
    dream.swapDepths(-dream.z);
    for (var j:Number=0;j<numClouds;j++) {
    var cloud:MovieClip = this["cloud" + j];
    cloud.x += vx;
    cloud.y += vy;
    cloud.z += vz;
    if(cloud.y < 50)
    cloud.y = 50;
    vy = 0;
    if (cloud.z <= -fl) {
    cloud.z += 5000;
    else if(cloud.z > 5000 - fl)
    cloud.z -= 5000;
    var scale:Number = fl / (fl + cloud.z);
    cloud._xscale = cloud._yscale=scale*200;
    cloud._x = vpX + cloud.x * scale;
    cloud._y = vpY + cloud.y * scale;
    cloud._alpha = scale * 60 + 40;
    cloud.swapDepths(-cloud.z);
    init();
    inittwo();
    stop();

  • TS3276 The IMAP command "UID COPY" (to Deleted Messages) failed for the mailbox "Bulk Mail" with server error: UID COPY Mailbox in use. Please try again later.

    I have been getting the following message and have no idea how to clear it.  Any help will be greatly appreciated!!!  I have force closed Mail, and have tried to re-sync my accounts but no luck.
    The IMAP command “UID COPY” (to Deleted Messages) failed for the mailbox “Bulk Mail” with server error: UID COPY Mailbox in use. Please try again later.

    What program are you using?  And what version?

  • LCM remigration of deleted application fails to deploy in EPMA 11.1.1.3

    I am trying to copy a production planning application via LCM which has previously migrated successfully. Then I export the Shared Services, EPMA and Planning artifacts, delete the appliction in the target Workspace, then load Shared Services and EPMA artifacts in the target Hyperion instance. When I try to deploy the application, I get the following error:
    Detail : An Exception occurred during Application deployment.: The Hyperion Essbase operation failed with an error code: %ERROR_CODE%.com.hyperion.planning.olap.EssbaseException: Unable to load database [%s] (1002097)
         at com.hyperion.planning.olap.HspCubeRefreshTask.setActiveDatabase(Unknown Source)
         at com.hyperion.planning.olap.HspCubeRefreshTask.buildOutlines(Unknown Source)
         at com.hyperion.planning.olap.HspCubeRefreshTask.run(Unknown Source)
         at com.hyperion.planning.HspJSImpl.runCubeRefresh(Unknown Source)
         at com.hyperion.planning.HyperionPlanningBean.runCubeRefresh(Unknown Source)
         at com.hyperion.planning.appdeploy.HspSaxParsedAppDefinition.deployAppFromXML(Unknown Source)
         at com.hyperion.planning.appdeploy.HspAppDefinition$1.run(Unknown Source)
    BTW, this is running on Linux, except for EPMA which must run on Windows of course. Is there something I am doing wrong here? It seems strange that it works fine on an installation that has never had the planning application deployed before.
    Thanks,

    I was talking about the Essbase application itself, not Essbase agent.
    You can browse the applications and open the outlines in EAS, even if your application/database is stopped.
    Make sure you have a green check mark on both the Essbase application and database icon in EAS.

  • How do I reject or delete "Soft fail" emails?

    Getting spam messages which are spoofing our own internal email domain.  Exchange is aware of this and marks the message as a Soft Fail.  But how do I stop the message from being delivered into the mailbox?
    As I understand Sender ID filtering will only block messages which fail, and this doesn't include Soft Fail.
    Thanks

     
    Hi Mike,
    Please refer to following article:
    http://msexchangeteam.com/archive/2005/10/13/412487.aspx
    From the article, the Soft Fail (~) means Client might not be authorized to send mail on behalf of the domain from a matching IP address. The Sender ID actions in Exchange 2003 SP2 is to Stamp and Continue. Therefore, the message will not be rejected or deleted based on you configuration.
    I would like to explain that the Soft Fail/Fail/NEUTRAL which described in previous article is generated based on the SPF record which you registered on the DNS Server.
    If you generated SPF record by using following site, you will receive follow options:
    http://www.microsoft.com/mscorp/safety/content/technologies/senderid/wizard/
    Option 1(+): Yes; mail may legitimately originate from IP addresses not identified above.
    Option 2(?): Neutral; this domain makes no statement about whether mail may legitimately originate from IP addresses not identified above.
    Option 3(-): No; this domain sends mail only from the IP addresses identified above.
    Option 4(~): Discouraged; mail may legitimately originate from IP addresses not identified above, however, use of such IP addresses is discouraged and may not be permitted in the future.
    If you select the Option 4 when generating SPF record, the Soft Fail (~) will be generated even if the message is received from an IP Address which is listed in SPF record.
    Therefore, in order to solve the issue, I suggest you update your SPF record on public DNS server by selecting Option No; this domain sends mail only from the IP addresses identified above.
    For more information regarding Sender ID Filter:
    http://technet.microsoft.com/en-us/library/aa995992(EXCHG.65).aspx
    Mike

  • Scheduled DELETE OBSOLETE fails

    I have a script which runs nightly to DELETE OBSOLETE. It fails with an error.
    When I enter the commands into the RMAN console all works fine.
    Here are the commands......
    ALLOCATE CHANNEL FOR MAINTENANCE DEVICE TYPE DISK FORMAT 'E:\temp\work';
    DELETE NOPROMPT OBSOLETE DEVICE TYPE DISK;
    If i put this into a script it complians about the "FOR" in the ALLOCATE statement.
    How can I get the DELETE to work properly in the scheduled script? I am running Recovery Manager: Release 9.2.0.3.0 - Production.

    The error message I get is shown here...
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 2
    Report of obsolete backups and copies
    Type Key Completion Time Filename/Handle
    Backup Set 276 17/OCT/05
    Backup Piece 274 17/OCT/05 D:\ORACLE\ORA92\HPCS\BACKUPS\HPCS_DF571960814_S324_S1
    Backup Set 277 17/OCT/05
    Backup Piece 275 17/OCT/05 D:\ORACLE\ORA92\HPCS\BACKUPS\HPCS_DF571961352_S325_S1
    Backup Set 278 17/OCT/05
    Backup Piece 276 17/OCT/05 D:\ORACLE\ORA92\HPCS\BACKUPS\HPCS_CFC-2091383776-20051017-00
    Backup Set 279 18/OCT/05
    Backup Piece 277 18/OCT/05 D:\ORACLE\ORA92\HPCS\BACKUPS\HPCS_DF572047211_S327_S1
    Backup Set 280 18/OCT/05
    Backup Piece 278 18/OCT/05 D:\ORACLE\ORA92\HPCS\BACKUPS\HPCS_DF572047216_S328_S1
    Backup Set 281 18/OCT/05
    Backup Piece 279 18/OCT/05 D:\ORACLE\ORA92\HPCS\BACKUPS\HPCS_DF572047753_S329_S1
    Backup Set 282 18/OCT/05
    Backup Piece 280 18/OCT/05 D:\ORACLE\ORA92\HPCS\BACKUPS\HPCS_CFC-2091383776-20051018-00
    Backup Set 283 19/OCT/05
    Backup Piece 281 19/OCT/05 D:\ORACLE\ORA92\HPCS\BACKUPS\HPCS_DF572084334_S331_S1
    Backup Set 284 19/OCT/05
    Backup Piece 282 19/OCT/05 D:\ORACLE\ORA92\HPCS\BACKUPS\HPCS_DF572084336_S332_S1
    Backup Set 285 19/OCT/05
    Backup Piece 283 19/OCT/05 D:\ORACLE\ORA92\HPCS\BACKUPS\HPCS_DF572084872_S333_S1
    Backup Set 286 19/OCT/05
    Backup Piece 284 19/OCT/05 D:\ORACLE\ORA92\HPCS\BACKUPS\HPCS_CFC-2091383776-20051019-00
    Backup Set 287 19/OCT/05
    Backup Piece 285 19/OCT/05 D:\ORACLE\ORA92\HPCS\BACKUPS\HPCS_DF572133611_S335_S1
    Archive Log 269 19/OCT/05 D:\ORACLE\ORA92\HPCS\ARCHIVELOGS\ARC00323.001
    Archive Log 268 19/OCT/05 D:\ORACLE\ORA92\HPCS\ARCHIVELOGS\ARC00322.001
    Archive Log 267 19/OCT/05 D:\ORACLE\ORA92\HPCS\ARCHIVELOGS\ARC00321.001
    Archive Log 266 18/OCT/05 D:\ORACLE\ORA92\HPCS\ARCHIVELOGS\ARC00320.001
    Archive Log 265 18/OCT/05 D:\ORACLE\ORA92\HPCS\ARCHIVELOGS\ARC00319.001
    Archive Log 264 17/OCT/05 D:\ORACLE\ORA92\HPCS\ARCHIVELOGS\ARC00318.001
    allocated channel: d01
    channel d01: sid=36 devtype=DISK
    released channel: d01
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of allocate command at 10/21/2005 16:00:14
    RMAN-06181: multiple channels require Enterprise Edition
    Recovery Manager complete.
    If I run this from the DOS prompt it all works.

  • Cisco Prime Infrastructure v2.1 - Delete device fails

    Hi.
    I'm trying out PI, but I have come across an error.
    I'm trying to delete a device (a WLC 5508), but I keep getting this error every time I try:
    Delete Device(s) Failed: 172.29.254.6. Please see log for more information.
    But there are about 200 log files in Prime, so does anyone know where I should be looking?
    I had 2 similar controllers in Prime, the first one got deleted without problems. Strange.
    Thanks.

    Thank you, that helped.
    I found what I needed in ifm_intentory.log
    It seems there was a problem deleting the AP's associated with the WLC.
    So I deleted the WLC only first, and the AP's next, and now it's gone.
    One strange thing though: The WLC could be seen correctly under the Virtual Domain I added it in, but the AP's could only be see in the root Virtual Domain.
    I will try to re-add it now, to see if they all end up in the right place this time.
    Thank you for your help.

  • PSA Deletion Process failed in Process Chain

    Hi..I have a bizzarre issue...
    I have created one process step in Process chain for deletion of PSA data of a particulur data source(o days).Every setting is fine.
    Except for it fails and gives message:
    Data inconsistency; Partition /BIC/B0001723000 not deleted
    Then I do the repeat in Process Chain and it completes successfully.
    Can anybody throw some light??

    Hi,
    Go to se14 and adjust it - /BIC/B0001723000
    thats it,
    Best regards,
    dushyant.

  • Delete job failed in IDOC archiving

    Hi Gurus
    Delete job for IDOC archiving failed with the following error.
    "Job started
    Step 001 started (program RSEXARCD, variant PROD_DELETE, user ID CTMBATCH)
    Archive file 002558-001IDOC is being verified
    Operating system message: Permission denied
    Archive file 002558-001IDOC does not exist
    Error during verification when accessing archive file 002558-001IDOC
    1 archive file(s) were not successfully verified
    Job cancelled after system exception ERROR_MESSAGE "
    I checked the status of the job in management , and it says Write and Storage is successful.  I checked for the archive file and it is present in Exchange directory.
    As the error message states that "Operating system message:Permission denied", so I am expecting that It should be related to some authorization for the directory. Or might be if authorizations has been modified for uid which. But I am not sure on this. How can I confirm this on SAP level ??
    This job is a weekly job but it failed this time. What else should I check?
    Please let me know if anyone has encountered similar issue before. I wish to know the reason for this error and the resolution to it.

    Hi,
    based on your description I am not quite sure if this is really a question on DMS. Could you please provide more details about which IDOC type do you use and maybe some error message number. This would help to clarify the reason faster.
    Best regards,
    Christoph

  • Delete Reconciliation fails when a Composite Key is used

    Hi Guys ,
    Problem Statement :-
    I am facing problem in performing delete reconciliation when a composite key is used.It fails whenever we have more than one attribute as key
    in reconciliation field mappings.
    I am using prepareDeleteReconData() ..etc Api's to perform delete reconciliation. I am not using CreateDeleteReconciliationEvent() as i dont know which users are deleted.
    UseCase
    For eg . Consider Oracle DataBase UM connector , where you have composite key defined as (UserID and ITResource), it fails to generate a delete reconciliation event.
    Have anybody faced this ?? Any workarounds ?
    Thanks
    Surendra Singh

    Hey Surendra,
    This is what you can do to get rid of this problem. I kow you cannot use the 'createDeleetReconciliationEvent' API, but just to let you know that this works absolutely fine. Now The approach which you might be using has the following flow-
    - provideDeletionDetectionData()
    - getMissingAccounts()
    - deleteDetectedAccounts()
    Now you must be aware that getMissingAccounts() returns a ResultSet for all the instances which needs to be revoked in OIM. If you see the contents of this ResultSet, here is what it contains (4 columns):
    Objects.Key, Objects.Name, Structure Utility.Table Name, Process Instance.Key
    Now what I suggest is do not use the deleteDetectedAccounts API as of now. And Revoke the object instance using API call. Follow the following steps:
    1) Just iterate through the ResultSet *(deletedUsers)* obtained from 'getMissingAccounts()' to fetch the value 'Process Instance.Key' and store it in an Array.
    2) You must be passing the Object Name as a Task Attribute. Use this attribute to fetch the 'Object Key'. Once you get this value, use the 'getAssociatedUsers' API of objectOperationsIntf to find all the users associated with this object. This API will return a ResultSet. Let's name it as *'AssoUsers'*.
    3) Iterate the above ResultSet(AssoUsers) and fetch the *'Process Instance.Key'* column from its rows. Compare this value to the already created Array in step-1. If there is a match then you will know that this resource instance needs to be revoked.
    4) Now fetch the following two values from the ResultSet(AssoUsers):
    - Users.Key
    - Object Instance.Key
    5) Once you get the User Key, you will have to find its corresponding resources. Do it by using *'getObjects'* API of userOperationsIntf. This will again return a resultSet *(userObjects)*.
    6) Iterate through all the rows and check the value of column *'Objects.Name'*. If this value equals to your resource, then fetch the value of column- Users-Object Instance For User.Key from this row.
    7) This will give you the 'Object instnace for User key'.
    8) Call the revokeObject API of userOperationsIntf interface.
    Below is a sample code snippet for your reference.
              Array DeletedUsers = {Your Deleted User List Array};
              String ObjectName = "Your Object Name as it comes from Task Attribute";
              long ObjectKey = 1; // Fetch it from Object Name above using API
              HashMap dummy = new HashMap();
              tcResultSet AssoUsers = objectOperationsIntf.getAssociatedUsers(ObjectKey, dummy);
              for (int i=0 ; i<AssoUsers.getRowCount() ; i++) {
                   AssoUsers.goToRow(i);               
                   String piKey = AssoUsers.getStringValue("Process Instance.Key");
                   if("Your Array DeletedUsers contains piKey"){
                        long userKey = AssoUsers.getLongValue("Users.Key");
                        long obiKey = AssoUsers.getLongValue("Object Instance.Key");
                        logger.debug("userKey extracted is : " + userKey);
                        logger.debug("obiKey extracted is : " + obiKey);                    
                        tcResultSet userObjects = userOperationsIntf.getObjects(userKey);
                        for(int j=0 ; j<userObjects.getRowCount() ; j++) {
                             userObjects.goToRow(j);
                             if(ObjectName.equalsIgnoreCase(userObjects.getStringValue("Objects.Name"))) {                              
                                  long obiuKey = userObjects.getLongValue("Users-Object Instance For User.Key");
                                  userOperationsIntf.revokeObject(userKey, obiuKey);
                                  logger.debug("Resource has been revoked");
    This should work. I know this looks quiet complex but have to do it. Give it a try.
    Thanks
    Sunny

  • Bulk-action delete-all fail

    I am trying to delete all WebApp items (before importing updated records), but after the process runs nothing is deleted. I have done this before without a problem, so I know how it should work. Have tried logging off and logging in as a different user, but get the same FAIL result.

    I am having this same problem. Please keep me posted on a solution, as I will keep you in the loop as well.

  • Deletion ODS failed

    Hi!
    I'm trying to delete an ODS completely. This fails with a message that describes an info object is still in use in a communication structure.
    The content of the ODS has been deleted before successfully, no update rules towards the ODS nor any update rule to receiving objects do exist anymore.
    Has anybody an idea what the problem is?
    Thanks
    Svend Baumgartner

    Hi,
    I think Rohit is right.
    Your ODS has an export datasource 8<ODSNAME> and used for another data target load. There are transfer rules and communication structure for this load, maybe even data target and update rules in it.
    Try to locate all chain segements of the dataflow:
    Make sure that in menu Settings-Dispaly generated objects you set 'Show generated ODS objects'.
    In RSA1, Infosources area, try to find 8<ODSNAME> datasource under the Datamarts node. Under the DS you'll see Source System, and under it - Infopackage(s). Right click on the package - schedule. In the opened Scheduler goto 'Data targets' tab and look at data targets names.
    Goto  Infoprovider area to the data target(s). Make sure that this data target may be deleted or changed. At least you have to delete the target content and remove the IO from the target. 
    Go back to your 8<ODSNAME> datasource and delete it.
    After that you'll be able to delete your ODS.
    Best regards,
    Eugene

  • StorageFile.DeleteAsync() delete file fail without any exception sometimes.

    I develop a test tool to Write a file, then delete it, over and over again.
    Using "await StorageFile.DeleteAsync()" to delete file , sometimes, it run successfully without any exception, but the file to be deleted wasn't deleted as expect. Why the API " StorageFile.DeleteAsync" doesn't work?
    Thanks.

    Hello,
    Code is as this:
     private async void SDCardFile(String basename)
                while (true)
                    if (this.isStop)
                        return;
                    Boolean isWirteSuc = await WriteSDCardFile(fileName, writeText);//writefile
                    if (isWirteSuc)
                    else
                    Boolean isDeleteSuc = await DeleteSDCardFile(fileName);  //deletefile
                    if (isDeleteSuc )
                    else
     private async Task<bool> DeleteSDCardFile(String filename)
                try
                    StorageFolder externalDevices = KnownFolders.RemovableDevices;
                    StorageFolder sdCard = (await externalDevices.GetFoldersAsync()).FirstOrDefault();
                    StorageFile storageFile = await sdCard.CreateFileAsync(filename, CreationCollisionOption.OpenIfExists);
                    await storageFile.DeleteAsync();
                    return true;
                catch (Exception ex)
                    return false;
    I use a timer to stop the test after 12 hours, during this test, most of the file delete success, but some failed, it still return "true"  from "DeleteSDCardFile(String filename)", so there is no exception, but the file is not deleted,
    I can find these files on SD card.
    Look forward to your answer, thanks for your comments.

  • SQL Server Delete statements failing

    Hello,
    I am using SQL 2012 SE and I have been using a purge job that deletes data older than 5 days from 4 table in a database. The job had been running fine and deleting older data for the past 5 years and it failed for the first time today with the following
    error:
    Time-out occurred while waiting for buffer latch type 2 for page (1:15945892), database ID 6
    I am not seeing any deadlocks at the time the job failed. What caused this job to fail?
    How can this be prevented? Experts need your valuable inputs.
    Thanks

    That's not really a normal error, and it's not trivial to diagnose. Hasrh Kumar was kind to point you to a fix for one situation where this error can occur. Unfortunately, that fix is for SQL 2008 and you are on SQL 2012, so that is not of any help for you.
    My advice would be to restart SQL Server, and if the problem does not reoccur, forget it. If it comes back, my suggestion would be to open a case with Microsoft to have this resolved. I found a blog post where someone had run into this error:
    http://sqlblog.com/blogs/michael_zilberstein/archive/2013/03/22/48339.aspx
    but the steps the author applies are not exactly trivial.
    It is a important to understand that this message is an indication that things are not what they are supposed to be, but what is the exact root cause is not apparent.
    Erland Sommarskog, SQL Server MVP, [email protected]
    The thing is the job is a weekly once job. It failed for the first time on saturday night and then I reran it last night and it failed again.

Maybe you are looking for

  • How to Run Indesign Script in a file from plugin code in CS4?

    Hi,<br />I have the code to execute the InDesign script stored in external file for InDesign CS3.<br /><br />InterfacePtr<IScriptManager> scriptManager(Utils<IScriptUtils>()->QueryScriptManager(kJavaScriptMgrBoss)); <br />InterfacePtr<IScriptRunner>

  • 3D Bar "peaks and troughs"

    Hello I am designing a website for a health company and plan to make a hart monitor line with a 3D bar. Now I know how to make the 3D bar but how do I manipulate the 'peaks and troughs' (points) to make it look like one long line? instead of many 3D

  • Tiff Decompressor needed for Images copied from PDF?

    I typed in "Tiff decompressor" into Photoshop's Help (which was no help as is common), and also did a forum search, but nothing came up. Before I go any further, a message to those who write Helps: i make sure that every term that is used within the

  • Another strange issue onmy touch

    Hello - I had some cover flow and music playing issue in the past.. restore (1st time) seemed to have fixed this problem. But I recently encountered another. I have few songs that simply do not play off my touch but it will play from the touch icon w

  • I turned on my MacBook Pro 13 and it was completely wiped clean.

    I turned on my MacBook Pro 13 and it was completely wiped clean. I turned it on and it flashed a file folder with a question mark until I plugged in my external backup drive. It will not let me restore from time machine backups or reinstall the OS. I