Error #1034 Type Coercion fail with registerClassAlias and nested Vectors

I'm attempting to use flash.net.registerClassAlias and ByteArray.writeObject in order to serialize/deserialize data with static type information.  It works as you'd expect in the general case but I've run into problems with some nested Vectors that I don't understand.  Hopefully someone can point out if I'm just missing something.
For what I understand, we must register both the scalar types and a one-deep specification of a Vector for that scalar type in order to use nested Vectors.  For example:
            flash.net.registerClassAlias("TestStructureInner", TestStructureInner);
            flash.net.registerClassAlias("VectorTestInner", Vector.<TestStructureInner> as Class);
This should allow us to read/write objects of type TestStructureInner, Vector.<TestStructureInner>, and Vector.<Vector.<TestStructureInner>> into ByteArrays.  And in general it seems to work.
Attached though is a simplified test case that fails, however.  The first time we deserialize the data it works.  The subsequent time, however, we encounter the following runtime error #1034.
    TypeError: Error #1034: Type Coercion failed: cannot convert __AS3__.vec::Vector.<Object>@304fcb9 to __AS3__.vec.Vector.<__AS3__.vec::Vector.<Test0.as$30::TestStructureInner>>.
    TypeError: Error #1034: Type Coercion failed: cannot convert __AS3__.vec::Vector.<Object>@304fbc9 to __AS3__.vec.Vector.<__AS3__.vec::Vector.<Test0.as$30::TestStructureInner>>.
    TypeError: Error #1034: Type Coercion failed: cannot convert __AS3__.vec::Vector.<Object>@304fdd1 to __AS3__.vec.Vector.<__AS3__.vec::Vector.<Test0.as$30::TestStructureInner>>.
    TypeError: Error #1034: Type Coercion failed: cannot convert __AS3__.vec::Vector.<Object>@304fce1 to __AS3__.vec.Vector.<__AS3__.vec::Vector.<Test0.as$30::TestStructureInner>>.
    TypeError: Error #1034: Type Coercion failed: cannot convert __AS3__.vec::Vector.<Object>@304fbf1 to __AS3__.vec.Vector.<__AS3__.vec::Vector.<Test0.as$30::TestStructureInner>>.
    TypeError: Error #1034: Type Coercion failed: cannot convert __AS3__.vec::Vector.<Object>@304fec1 to __AS3__.vec.Vector.<__AS3__.vec::Vector.<Test0.as$30::TestStructureInner>>.
    TypeError: Error #1034: Type Coercion failed: cannot convert __AS3__.vec::Vector.<Object>@304fad9 to __AS3__.vec.Vector.<__AS3__.vec::Vector.<Test0.as$30::TestStructureInner>>.
    TypeError: Error #1034: Type Coercion failed: cannot convert __AS3__.vec::Vector.<Object>@304fa61 to __AS3__.vec.Vector.<__AS3__.vec::Vector.<Test0.as$30::TestStructureInner>>.
    TypeError: Error #1034: Type Coercion failed: cannot convert __AS3__.vec::Vector.<Object>@304f9e9 to __AS3__.vec.Vector.<__AS3__.vec::Vector.<Test0.as$30::TestStructureInner>>.
    TypeError: Error #1034: Type Coercion failed: cannot convert __AS3__.vec::Vector.<Object>@304f971 to __AS3__.vec.Vector.<__AS3__.vec::Vector.<Test0.as$30::TestStructureInner>>.
Re-registering the class aliases again via flash.net.registerClassAlias works in this test case but isn't 100% for our actual application (I'm reticent to even mention it but it seems relevant).  Is there a step I'm missing here?  Any light shed would be appreciated.
// mxmlc -debug Test0.as
package
    import Base64; // http://code.google.com/p/jpauclair-blog/source/browse/trunk/Experiment/Base64/src/Base64.a s
    import flash.net.registerClassAlias;
    import flash.events.Event;
    import flash.utils.ByteArray;
    import flash.display.Sprite;
    import flash.display.Stage;
    import flash.system.System;
    public class Test0 extends Sprite
        static private const OPERATION_SERIALIZE:uint = 0;
        static private const OPERATION_DESERIALIZE_AND_FAIL:uint = 1;
        static private const OPERATION_DESERIALIZE_AND_SUCCEED:uint = 2;
        static private var staticStage:Stage;
        private var bar:Vector.<TestStructure>;
* common functions
        static private function registerClassAliases():void
            flash.net.registerClassAlias("TestStructureInner", TestStructureInner);
            flash.net.registerClassAlias("VectorTestInner", Vector.<TestStructureInner> as Class);
            flash.net.registerClassAlias("TestStructure", TestStructure);
        static public function staticDeserialize():Object
            var byteArray:ByteArray = Base64.decode("EBUAG1Rlc3RTdHJ1Y3R1cmUKEwAHZm9vEAEAH1ZlY3RvclRlc3RJbm5lcgoBEAEABAoBEAEABA oBEAEABAoBEAEABAoBEAEABAoBEAEABAoBEAEABAoBEAEABAoBEAEABA==");
            byteArray.position = 0;
            return byteArray.readObject();
        public function Test0():void
            registerClassAliases();
            // Switching operation between the constants demonstrates failure/success in a couple of different ways.
            // SERIALIZE is just used to prepare the base64 string for subsequent tests.
            var operation:int = OPERATION_SERIALIZE_AND_FAIL;
            if (operation == OPERATION_SERIALIZE)
                trace("Serializing");
                // outputs base64 string for subsequent tests
                serialize();
            else if (operation == OPERATION_DESERIALIZE_AND_FAIL)
                trace("Fail case");
                // perform successful one deserialization, then one failing one.
                deserializeOnceThenFail();
            else if (operation == OPERATION_DESERIALIZE_AND_SUCCEED)
                trace("Success via re-registration");
                // perform successful one deserialization, then another successful one.
                deserializeOnceThenSucceed();
* serialize
        // outputs base64 string we use for subsequent tests.
        private function serialize():void
            var baz:Vector.<TestStructure> = new Vector.<TestStructure>;
            for (var i:int=0; i<10; ++i)
                baz.push(new TestStructure);
            var byteArray:ByteArray = new ByteArray;
            byteArray.writeObject(baz);
            trace(Base64.encode(byteArray));
* deserializeOnceThenFail
        // perform successful one deserialization, then one failing one.
        public function deserializeOnceThenFail():void
            // save stage
            staticStage = stage;
            // the first deserialize will proceed without error.
            staticDeserialize();
            trace("Successful deserialize");
            // add an event listener in order to invoke error on subsequent frame
            stage.addEventListener(Event.ENTER_FRAME, doEnterFrameOnceThenFail);
        // remove event listener and invoke again.
        static private function doEnterFrameOnceThenFail(e:Event):void
            staticStage.removeEventListener(Event.ENTER_FRAME, doEnterFrameOnceThenFail);
            staticDeserialize();
            trace("unsuccessful deserialize2");
* deserializeOnceThenSucceed
* Here, we re-call flash.net.registerClassAlias on all our class types when running.
        // perform successful one deserialization, then one failing one.
        public function deserializeOnceThenSucceed():void
            // save stage
            staticStage = stage;
            // the first deserialize will proceed without error.
            staticDeserialize();
            trace("Successful deserialize");
            // add an event listener in order to invoke error on subsequent frame
            stage.addEventListener(Event.ENTER_FRAME, doEnterFrameOnceThenSucceed);
        // remove event listener and invoke again.
        static private function doEnterFrameOnceThenSucceed(e:Event):void
            staticStage.removeEventListener(Event.ENTER_FRAME, doEnterFrameOnceThenSucceed);
            registerClassAliases();
            staticDeserialize();
            trace("successful deserialize2");
internal class TestStructureInner
          public var value:int;
internal class TestStructure
          public var foo:Vector.<Vector.<TestStructureInner>> = new Vector.<Vector.<TestStructureInner>>;

The error would imply that ImageAssetEvent does not inherit
DisplayEvent. Either modify the inheritance chain or listen for a
basic Event object (flash.events.Event) and cast inside the
function.

Similar Messages

  • Error #1034: Type Coercion failed: Error in FocusManager

    Hi,
    I am using ActionScript 3.0.
    Here I want to setFocus on a DisplayObject(flash.display.DisplayObject).
    I tried :
                        //var dispObject:DisplayObject;
                        //dispObject = code here to get displayObject;//valid DisplayObject got
                        var focusManager1:FocusManager = dispObject["focusManager"];
                        var component:IFocusManagerComponent = dispObject as IFocusManagerComponent;
                        if(focusManager1 != null && component != null)
                            focusManager1.setFocus(component);
    But I am getting : Error #1034: Type Coercion failed: cannot convert mx.managers::FocusManager@3881e41 to mx.managers.FocusManager.
    This is at line :  var focusManager1:FocusManager = dispObject["focusManager"];
    The same code would work if I use mx.core.UIComponent instead of DisplayObject, I guess.
    But I am not able to convert DisplayObject to UIComponent (invalid cast).
    Can someone please help me.
    Thanks,
    Pradeep.

    mx.managers.FocusManager is for Flex Components and does not work with any other objects.
    In order to set focus on an InteractiveObject (you cannot set focus on a DisplayObject which is not an InteractiveObject) use stage.focus.

  • ActionScript 3.0: Error #1034: Type Coercion failed: cannot convert displayObject$ to DefaultPackage

    I'm a student I have a final project want to deliver it after two days.
    I'm making a drag and drop game, I watched a tutorial to do that.
    But after ending coding I faced a weird error!
    I've I checked that my code is the same as the code in the tutorial.
    This is the Debug error report:
        Attempting to launch and connect to Player using URL E:\FL\ActionScript\Drag and Drop Project\DragAndDrop.swf
        [SWF] E:\FL\ActionScript\Drag and Drop Project\DragAndDrop.swf - 87403 bytes after decompression
        TypeError: Error #1034: Type Coercion failed: cannot convert paper1$ to DragDrop.
                  at Targets()[E:\FL\ActionScript\Drag and Drop Project\Targets.as:23]
    My `.fla` File is containing 12 Objects to drag and another 12 Objects to drop on it.
    The idea here is when drop the Object on the target the Object will become invisible and the target become visible (in `.fla` file `target alpha = 0`).
    I made two classes:
    DragDrop.as : for the objects that I'm going to drag.
    Targets.as  : for the targets that I'm going to drop Objects on it.
    Note: match function is to animate "GameOver" MovieClip When complete the game.
    DragDrop.as:
        package
                  import flash.display.*;
                  import flash.events.*;
                  public class DragDrop extends Sprite
                            var origX:Number;
                            var origY:Number;
                            var target:DisplayObject;
                            public function DragDrop()
                                      // constructor code
                                      origX = x;
                                      origY = y;
                                      addEventListener(MouseEvent.MOUSE_DOWN, drag);
                                      buttonMode = true;
                            function drag(evt:MouseEvent):void
                                      stage.addEventListener(MouseEvent.MOUSE_UP, drop);
                                      startDrag();
                                      parent.addChild(this);
                            function drop(evt:MouseEvent):void
                                      stage.removeEventListener(MouseEvent.MOUSE_UP, drop);
                                      stopDrag();
                                      if(hitTestObject(target))
                                                visible = false;
                                                target.alpha = 1;
                                                Object(parent).match();
                                      x = origX;
                                      y = origY;
    Targets.as:
        package
                  import flash.display.*;
                  import flash.events.*;
                  public class Targets extends MovieClip
                            var dragdrops:Array;
                            var numOfMatches:uint = 0;
                            var speed:Number = 25;
                            public function Targets()
                                      // constructor code
                                      dragdrops = [paper1,paper2,paper3,paper4,paper5,paper6,
                                                                     paper7,paper8,paper9,paper10,paper11,paper12,];
                                      var currentObject:DragDrop;
                                      for(var i:uint = 0; i < dragdrops.length; i++)
                                                currentObject = dragdrops[i];
                                                currentObject.target = getChildByName(currentObject.name + "_target");
                            public function match():void
                                      numOfMatches++;
                                      if(numOfMatches == dragdrops.length)
                                                win.addEventListener(Event.ENTER_FRAME, winGame);
                            function winGame(event:Event):void
                                      win.y -= speed;
                                      if(win.y <= 0)
                                                win.y = 0;
                                                win.removeEventListener(Event.ENTER_FRAME, winGame);
                                                win.addEventListener(MouseEvent.CLICK, clickWin);
                            function clickWin(event:MouseEvent):void
                                      win.removeEventListener(MouseEvent.CLICK, clickWin);
                                      win.addEventListener(Event.ENTER_FRAME, animateDown);
                                      var currentObject:DragDrop;
                                      for(var i:uint = 0; i < dragdrops.length; i++)
                                                currentObject = dragdrops[i];
                                                getChildByName(currentObject.name + "_target").alpha = 0;
                                                currentObject.visible = true;
                                      numOfMatches = 0;
                                      addChild(win);
                            function animateDown(event:Event):void
                                      win.y += speed;
                                      if(win.y >= stage.stageHeight)
                                                win.y = stage.stageHeight;
                                                win.removeEventListener(Event.ENTER_FRAME, animateDown);
    ...Thanks

    Thank you very much for replying.
    - dragdrops represents: the dragable objects.
    - Targets obtaining the dropable objects by hitTestObject, then the dropable objects visible is turned to false, & the target visible turned to true.
    Dragable objects is a 12 elements all of them have an instance names: paper1....paper12.
    When I focused to the project I noticed that I forget to give the dragable objects an instance names!
    after making the instance names to them, a new error occures:
    E:\FL\ActionScript\Drag and Drop Project\Targets.as, Line 11
    1046: Type was not found or was not a compile-time constant: paper1.
    This error is continuing to paper2, paper3.....paper12 !
    Please download my project, I must deliver it to my college in 24/12. I will never forget your favor. thanks.
    https://www.dropbox.com/s/8mdg5w17vvryzso/Drag%20and%20Drop%20Project.rar | 715KB

  • Flash CS4 - Images in gallery will not show- TypeError: Error #1034: Type Coercion failed: cannot co

    So for my A2 studies I have to make an interactive product using flash. Long story short, I needed to make a flash gallery. I am using the "Zen Gallery Flash Component" and this is my code;
    galleryInstance.albums=[                                                             {                                                                         imagesFolder:"N:\ICT\ICT Unit 10\Prototype 3\images",                                                                       icon:"4.jpg",                                                                       items:                                                                       [                                                                                 {source:"1.jpg"},                                                                                 {source:"2.png"},                                                                                 {source:"3.jpg"},                                                                                 {source:"4.jpg"},                                                                                 {source:"5.jpg"}                                                                       ]                                                             },                                                             {                                                                       imagesFolder:"N:\ICT\ICT Unit 10\Prototype 3\images",                                                                       icon:"8.jpg",                                                                       items:                                                                       [                                                                                 {source:"6.png"},                                                                                 {source:"7.jpg"},                                                                                 {source:"8.jpg"},                                                                                 {source:"9.jpg"},                                                                                 {source:"10.jpg"}                                                                       ]                                                             }                                                             ]; galleryInstance.build(); 
    The user manual does not specify any more coding is needed (I read all the relevant parts and couldn't find anything). The problem is that my images do not show but when exporting the flash product, the gallery is fully functionon - it seems that it cannot locate my images.
    In addition to this, I get multiple Output Errors;
    TypeError: Error #1034: Type Coercion failed: cannot convert flash.events::IOErrorEvent@2d09a709 to Error. TypeError: Error #1034: Type Coercion failed: cannot convert flash.events::IOErrorEvent@2d09a709 to Error. TypeError: Error #1034: Type Coercion failed: cannot convert flash.events::IOErrorEvent@2d09a709 to Error.etc..
    What am I doing wrong?

    I'm not sure, the gallery just appeares to be an SWF.
    This is all that came up when I clicked it (I had a look at the parameters and they don't seem to help in the addition of pictures).
    There appears to be no forum for this flash component :L

  • Flex error 1034: Type Coercion Failed

    I extended the File class as AudioFile.  I only added one new property "category".  I intend to filter files out of a directory structure and keep the AudioFile objects in a simple indexed array.  I also want to add category info to the AudioFile object's "category" property.  The error is thrown after I call getDirectoryListing, assign the returned File objects to "content:Array", and then I iterate through "content" assinging each File object to an AudioFile object.  I thought that sense AudioFile is an extension of File that this would not be a problem.  The heart of the issue is how getDirectoryListing returns File objects but I need AudioFile objects.  My next instinct is to override the getDirectoryListing method but I can not find the class declaration for File.
    Is there a way to cast the File objects as AudioFile objects?  Should I be using a different strategy for assigning category info to the File objects?  Maybe I should not be extending File class at all.  I am kind of stuck.  Any help would be greatly appreciated.
    Here is my code.  Please note that this is my first flex/air/actionscript I ever wrote.  I am using Flash Builder 4.5 and my target is Air Desktop.  The extended class AudioFile is in AudioFile.as.
    package
        import flash.filesystem.File;
        public class AudioFile extends File
            public function AudioFile()
            public var category:String;
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                            xmlns:s="library://ns.adobe.com/flex/spark"
                               xmlns:mx="library://ns.adobe.com/flex/mx"
                             xmlns:samples="samples.*"
                            applicationComplete="init()" width="386" height="581"
                            initialize="initData()">
        <s:layout>
            <s:VerticalLayout paddingTop="6" paddingLeft="6" paddingRight="6" paddingBottom="6"/>
        </s:layout>
        <fx:Script>
            <![CDATA[
                import AudioFile;
                import flash.events.Event;
                import flash.filesystem.File;
                import mx.collections.ArrayCollection;
                import mx.controls.Alert;
                private var audioObj:AudioFile = new AudioFile();
                protected function init():void
    // Center main AIR app window on the screen
                    nativeWindow.x = (Capabilities.screenResolutionX - nativeWindow.width) / 2;
                    nativeWindow.y = (Capabilities.screenResolutionY - nativeWindow.height) / 2;
                    // Get notified when minimize/maximize occurs
                    addEventListener(NativeWindowDisplayStateEvent.DISPLAY_STATE_CHANGING, onDisplayStateChange);
    // Handles when the app is minimized/maximized
                protected function onDisplayStateChange(e:NativeWindowDisplayStateEvent):void
                    trace("Display State Changed from " + e.beforeDisplayState + " to " + e.afterDisplayState);
                private var masterList:ArrayCollection = new ArrayCollection();
                private var dgArray:Array = new Array();
                [Bindable]
                private var initDG:ArrayCollection;
                public function initData():void {
                    var initDG:ArrayCollection = new ArrayCollection(dgArray);
                private function analyze():void {
                    // ActionScript file
                    var sourceDir:AudioFile = getSourceDir();
                    var fileList:Array = new Array();
                    var dirList:Array = new Array();
                    function transverseDirStructure(sourceDir:AudioFile):Array {
                        var flag:Boolean = false;
                        var dirList:Array = new Array();
                        var fileList:Array = new Array();
                        do {
                            var contents:Array = sourceDir.getDirectoryListing();
                            for(var i:int=0;i < contents.length; i++) {
                                // test for isDirectory
                                var file:AudioFile = contents[i];
                                if (file.isDirectory == true) {
                                    dirList.push(file);
                                else {
                                    fileList.push(file);
                            if (dirList.length == 0)
                                flag = false;
                            else {
                                // recursion
                                fileList = fileList.concat(transverseDirStructure(dirList,fileList));
                        } while (flag == false)
                        return fileList;
                    function filterExtensions(fileList:Array):Array {
                        var cleanExtensionsList:Array = new Array();
                        for each (var i:AudioFile in fileList) {
                            if (i.extension == ".wav" || ".aiff") {
                                cleanExtensionsList.push(i);
                        return cleanExtensionsList;
                    function filterSize(fileList:Array):Array {
                        var cleanSizeList:Array = new Array();
                        var maxFileSize:int = 350000;
                        for each (var i:AudioFile in fileList) {
                            if (i.size < maxFileSize) {
                                cleanSizeList.push(i);
                        return cleanSizeList;
                    function categorizeAudioFiles(fileList:Array):Array {
                        var masterList:Array = new Array();
                        var flag:Boolean = true;
                        var categories:Array = new Array();
                        categories.push("kick","snare","hat","crash","clap");
                        for each (var i:AudioFile in fileList) {
                            for each (var x:String in categories) {
                                if (i.name.search(x) > 0) {
                                    // Add name of category to the extended property.
                                    i.category = x;
                                    masterList.push(i);
                        return masterList;
                    fileList = transverseDirStructure(fileList);
                    fileList = filterSize(fileList);
                    fileList = filterExtensions(fileList);
                    fileList = categorizeAudioFiles(fileList);
                private function generateRandom():void {
                private function setDestination():void {
                    var file:AudioFile = new AudioFile();
                    file.addEventListener(Event.SELECT, dirSelected);
                    file.browseForDirectory("Select a directory");
                    function dirSelected(e:Event):void {
                        txtDestination.text = file.nativePath;
                private function getDestination():AudioFile {
                    var destinationDir:AudioFile = new AudioFile();
                    destinationDir.nativePath = txtDestination.text;
                    return destinationDir;
                private function getSourceDir():AudioFile {
                    var sourceDir:AudioFile = new AudioFile();
                    sourceDir.nativePath = txtBrowse1.text;
                    return sourceDir;
                private function setSourceDir():void {
                    var file:AudioFile = new AudioFile();
                    file.addEventListener(Event.SELECT, dirSelected);
                    file.browseForDirectory("Select a directory");
                    function dirSelected(e:Event):void {
                        txtBrowse1.text = file.nativePath;
                // Control logic
            ]]>
        </fx:Script>
        <mx:Form width="373" height="113" id="formChooseDirectory1">
            <mx:FormHeading label="1. Choose A Source Directory..." width="315" fontSize="13" fontFamily="Verdana" color="#CF71FF"/>
            <s:Button label="Browse..." fontFamily="Verdana" fontSize="13" color="#CF71FF" id="btnBrowse1" enabled="true" click="setSourceDir()"/>
            <s:TextInput width="333" id="txtBrowse1" enabled="false" text="C:\Users\RokaMic\Bangin Beats"/>
        </mx:Form>
        <mx:Form width="373" height="231" id="formAnalyze">
            <mx:FormHeading label="2. Analyze Samples..." fontFamily="Verdana" fontSize="13" color="#00D8FF" width="245"/>
            <s:Button label="Analyze" fontFamily="Verdana" color="#00D8FF" id="btnAnalyze" enabled="true" click="analyze()"/>
            <mx:DataGrid editable="false" enabled="true" fontFamily="Verdana" color="#00D8FF" width="337" dataProvider="{initDG}">
                <mx:columns>
                    <mx:DataGridColumn headerText="File name" dataField="filename" color="#00D8FF" fontFamily="Verdana"/>
                    <mx:DataGridColumn headerText="Category" dataField="category" color="#00D8FF" fontFamily="Verdana"/>
                </mx:columns>
            </mx:DataGrid>
        </mx:Form>
        <mx:Form width="374" height="173" id="formGenerate">
            <s:Button label="Generate Drum Kits" width="342" height="52" fontSize="18" fontFamily="Verdana" color="#00FF06" id="btnGenerate1" enabled="true" click="generateRandom()"/>
            <mx:FormItem label="How Many?" fontFamily="Verdana" fontSize="13" color="#00FF00" width="340">
                <s:HSlider width="206" stepSize="1" value="1" minimum="1" maximum="25" id="sliderHowMany" liveDragging="true"/>
            </mx:FormItem>
            <s:Button label="Destination..." color="#00FF00" id="btnDestination" enabled="true" click="setDestination()"/>
            <s:TextInput width="332" id="txtDestination" enabled="false"/>
        </mx:Form>
    </s:WindowedApplication>

    i copied this from your code:
          function categorizeAudioFiles(fileList:Array):Array {
                        var masterList:Array = new Array();
                        var flag:Boolean = true;
                        var categories:Array = new Array();
                        categories.push("kick","snare","hat","crash","clap");
                        for each (var i:AudioFile in fileList) {
                            for each (var x:String in categories) {
                                if (i.name.search(x) > 0) {
                                    // Add name of category to the extended property.
                                    i.category = x;
                                    masterList.push(i);
                        return masterList;
                    fileList = transverseDirStructure(fileList);
                    fileList = filterSize(fileList);
                    fileList = filterExtensions(fileList);
                    fileList = categorizeAudioFiles(fileList);
    does that contain line 129?  if so, where are those last 5 lines?
    they don't appear to be part of the categorizeAudioFiles() function so there should be a compiler error about that last }.  or, you've nested a named function somewhere.

  • Type Coercion failed error

    My Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml">
        <mx:states>
            <mx:State name="addRoleState">
                 <mx:RemoveChild target="rLabel"/>
                <mx:RemoveChild target="pLabel"/>
                <mx:RemoveChild target="h1Box"/>
                <mx:AddChild relativeTo="roleForm" position="firstChild">
                    <mx:FormItem id="rNameId" label="Role">
                        <mx:TextInput id="roleName" />
                    </mx:FormItem>
                </mx:AddChild>
                  <mx:AddChild relativeTo="roleForm" position="lastChild">
                    <mx:FormItem>
                        <mx:HBox id="h2Box">
                             <mx:Button  id="saveButton" label="Save" click=""/>
                             <mx:Button  id="cancelButton" label="Cancel" click="currentState=' '"/>
                        </mx:HBox>       
                    </mx:FormItem>
                </mx:AddChild>
            </mx:State>
        </mx:states>
        <mx:Form id="roleForm">
            <mx:FormItem  id="rLabel" label="Role">
                <mx:ComboBox id="roleCombo" labelField="roleName"/>
            </mx:FormItem>
            <mx:FormItem id="pLabel" label="Permission">
                <mx:List id="permDataId" width="75"/>
            </mx:FormItem>
            <mx:FormItem id="h1Box">
                 <mx:HBox>
                     <mx:Button  id="editButton" label="Edit" click=""/>
                     <mx:Button  id="deleteButton" label="Delete" click=""/>
                     <mx:Button id="addButton" label="Add Role" click="currentState='addRoleState'"/>
                 </mx:HBox>
            </mx:FormItem>
        </mx:Form>
    </mx:WindowedApplication>
    I am getting the below error when I click 'cancel' button (where currentState=' ' event function triggers)
    TypeError: Error #1034: Type Coercion failed: cannot convert "h1Box" to mx.core.UIComponent.
         at mx.states::RemoveChild/remove()
         at mx.core::UIComponent/removeState()
         at mx.core::UIComponent/commitCurrentState()
         at mx.core::UIComponent/setCurrentState()
         at mx.core::UIComponent/set currentState()
         at RoleInfo/__cancelButton_click()
    Please help me understand what is causing the above error.

    Hi,
    I was able to get your app to work under Flex 3.5 by making a few changes.  First, I had to add curly brakets around the RemoveChild targets and the AddChild relativeTo properties.  Finally, I removed the extra space in cancelButton's click method.
    Hope this helps,
    Chris
    Here's the revised code:
    <?xml version="1.0" encoding="UTF-8"?>
    <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml">
         <mx:states>
              <mx:State name="addRoleState">
                   <mx:RemoveChild target="{rLabel}"/>
                   <mx:RemoveChild target="{pLabel}"/>
                   <mx:RemoveChild target="{h1Box}"/>
                   <mx:AddChild relativeTo="{roleForm}" position="firstChild">
                        <mx:FormItem id="rNameId" label="Role">
                             <mx:TextInput id="roleName" />
                        </mx:FormItem>
                   </mx:AddChild>               <mx:AddChild position="lastChild">
                        <mx:FormItem>
                             <mx:HBox id="h2Box">
                                  <mx:Button  id="saveButton" label="Save" />
                                  <mx:Button  id="cancelButton" label="Cancel" click="currentState=''"/>
                             </mx:HBox>       
                        </mx:FormItem>
                   </mx:AddChild>
              </mx:State>
         </mx:states>
         <mx:Form id="roleForm">
              <mx:FormItem  id="rLabel" label="Role">
                   <mx:ComboBox id="roleCombo" labelField="roleName"/>
              </mx:FormItem>
              <mx:FormItem id="pLabel" label="Permission">
                   <mx:List id="permDataId" width="75"/>
              </mx:FormItem>
              <mx:FormItem id="h1Box">
                   <mx:HBox>
                        <mx:Button  id="editButton" label="Edit" />
                        <mx:Button  id="deleteButton" label="Delete" />
                        <mx:Button id="addButton" label="Add Role" click="currentState='addRoleState'"/>
                   </mx:HBox>
              </mx:FormItem>
         </mx:Form>
    </mx:WindowedApplication>

  • Request 0 of type 38 failed with server error - but it worked anyway

    I'm trying to modify the rights that a certain group has on a certain folder.  When I modify the rights (in Assign Security in the CMC) and click OK, I get the error:
    An error occurred at the server during security batch commit: Request 0 of type 38 failed with server error : You do not have sufficient rights to make the requested security changes
    However, when I click cancel and View Security, I can see that the change actually worked.  Why do I get this error?  Is there some right that I need to be assigned in order to stop getting the error?
    I'm logging in with a test ID that has the following rights on the folder:
         Add objects to the folder
         Copy objects to another folder
         Delete instances
         Delete objects
         Edit objects
         Reschedule instances
         Schedule document to run
         Schedule to destinations
         Securely modify right inheritance settings
         Securely modify rights users have to objects
         View document instances
         View objects
    The test ID has the following rights on the group:
         Add objects to the folder
         Delete objects that the user owns
         Edit objects that the user owns
         View objects
    We're using XI 3.1; I've gotten the error when testing this in both FP 1.6 and FP 2.3.  Thanks for any help you can provide.

    I just realized that I need to correct what I said.  The rights that the ID has to the group are as follows (more rights than I mentioned originally):
    Add objects to the folder
    Delete objects
    Delete objects that the user owns
    Edit objects
    Edit objects that the user owns
    Securely modify rights users have to objects
    View objects

  • ORA-27369: job of type EXECUTABLE failed with exit code: Unknown error

    Hello DBAs,
    I am trying to schedule a shell script through dbms_scheduler.CREATE_JOB
    My database version is 10.2.0.3.0.
    I can successfully schedule the job, but while running, it throwing ORA-27369 with out exit code.
    Given below are the actions performed -
    -- Created shel scripts-
    $ cat shell01.sh
    ./test.sh >> test.log
    $
    $ cat test.sh
    sqlplus -s "/ as sysdba" <<EOF
    SELECT SUBSTR(host_name,0,10) host_name, instance_name, status,TO_CHAR(startup_time,'dd-mm-yy hh24:mi:ss') startup_time
    FROM v\$instance;
    disconnect;
    exit;
    EOF
    -- Granting privileges - (eventhough I have tried from 'SYS' schema)
    GRANT create Job, create external job, execute any class, execute any program , manage scheduler to sys;
    -- Drop job with name RUN_SHELL01
    BEGIN
    dbms_scheduler.drop_job('RUN_SHELL01');
    END;
    -- Schedule job with name RUN_SHELL01
    BEGIN
    dbms_scheduler.CREATE_JOB
         (job_name           => 'RUN_SHELL01',
         job_type           => 'EXECUTABLE',
         job_action           => '/home/ora1023/shell01.sh',
    start_date           => '18-AUG-09 05:37:00 AM',
         end_date          => NULL,
         repeat_interval      => 'FREQ=MINUTELY',
         enabled           => false,
         comments           => 'Run shell-script');
    END;
    --Enable job
    BEGIN
    dbms_scheduler.enable('RUN_SHELL01');
    END;
    -- Checking status
    SELECT owner, job_name, enabled FROM dba_scheduler_jobs;
    select JOB_NAME,STATUS,ERROR# from dba_scheduler_job_run_details where job_name='RUN_SHELL01';
    -- Executing the job
    SQL> exec dbms_scheduler.run_job('RUN_SHELL01');
    BEGIN dbms_scheduler.run_job('RUN_SHELL01'); END;
    ERROR at line 1:
    ORA-27369: job of type EXECUTABLE failed with exit code: Unknown error
    ORA-06512: at "SYS.DBMS_ISCHED", line 150
    ORA-06512: at "SYS.DBMS_SCHEDULER", line 441
    ORA-06512: at line 1
    Anybody please suggest a solutions for this -

    My shell script will work as below -
    user01@test01:/home/user01 : cat shell01.sh
    ./test.sh >> test.log
    user01@test01:/home/user01 :
    user01@test01:/home/user01 :
    user01@test01:/home/user01 : cat test.sh
    sqlplus -s "/ as sysdba" <<EOF
    SELECT SUBSTR(host_name,0,10) host_name, instance_name, status,TO_CHAR(startup_time,'dd-mm-yy hh24:mi:ss') startup_time
    FROM v\$instance;
    disconnect;
    exit;
    EOF
    user01@test01:/home/user01 : ./shell01.sh
    user01@test01:/home/user01 : ls -ltr
    -rw-r--r-- 1 ora1023 dba 155 Aug 26 05:28 test.log
    user01@test01:/home/user01 : cat test.log
    HOST_NAME INSTANCE_NAME STATUS STARTUP_TIME
    test01 oft1 OPEN 18-08-09 08:22:45
    user01@test01:/home/user01 :
    ** I think this shell script is working fine! ..its only for testing..
    and while we are querying dba_scheduler_job_run_details for additional info-
    SQL> select s.STATUS ,s.ADDITIONAL_INFO from dba_scheduler_job_run_details s where s.job_name='RUN_SHELL01';
    STATUS
    ADDITIONAL_INFO
    STANDARD_ERROR="execve: Exec format error"
    FAILED
    ORA-27369: job of type EXECUTABLE failed with exit code: Unknown error
    STANDARD_ERROR="execve: Exec format error"
    I think Metalink Doc ID: 555160.1 (Schedular Job of Type 'EXECUTABLE' Fails with ORA-27369 "exit code: 255" STANDARD_ERROR="execve: Exec format error"). Will help me to solve this issue Since i am using ksh -
    # echo $SHELL
    /bin/ksh
    Edited by: Rajesh Menon on Aug 25, 2009 9:21 PM

  • ORA-27369: job of type EXECUTABLE failed with exit code: Unknown error STAN

    ORA-27369: job of type EXECUTABLE failed with exit code: Unknown error STANDARD_ERROR="execve: Exec format error"
    #!/usr/bin/ksh
    /bin/find /u08/oradba/S036/archlog -name "*.arc" -exec rm -f {} \;
    Simple shell script gives above error when scheduled through dbms_scheduler. I did check metalink notes everything seems to be in order.
    Thanks,
    Siva

    Hi,
    Make sure the script is set to be executable (chmod a+rx script.sh) and that /usr/bin/ksh exists and is executable.
    If it still doesn't work post the new error message and the output of "ls -l script.sh" and also your exact Oracle version. Also try running the shell script directly at the command line (e.g. ./script.sh).
    Hope this helps,
    Ravi.

  • I have Creative Suite 6 Design & Web Premium installed on my HP Windows 7 laptop. All of a sudden Acrobat Pro will not open and I cannot reinstall. Get errors 2203, & Error-Install MSI payload failed with error 1603. Help.

    I have not been able to reinstall Acrobat Pro on my laptop. I have Suite 6 Design & Web Premium on my HP laptop. I have Windows 7 operating system. All of a sudden Acrobat Pro will not open so I uninstalled and tried to reinstall the program.
    The error messages I get are:
    ERROR: Error 2203.Database: C:\Windows\Installer\12102c.ipi. Cannot open database file. System error -2147287035.
    ERROR: Install MSI payload failed with error: 1603 - Fatal error during installation.
    MSI Error message: Error 2203.atabase: C:\Windows\Installer\12102c.ipi. Cannot open database file. System error - 2147287035.
    ERROR: Third party payload installer AcroPro.msi failed with exit code: 1603
    Help PLEASE!

    Hi Patricia ,
    For error 2203 ,please refer to the following link.
    https://helpx.adobe.com/creative-suite/kb/error-2203-install-creative-suite.html
    For error 1603 ,refer to this link.
    https://helpx.adobe.com/creative-suite/kb/error-1603-install-cs3-cs4.html
    Let us know if this solves the issue .If required ,we"ll surely assist you further.
    Regards
    Sukrit Dhingra

  • ORA-27369: job of type EXECUTABLE failed with exit code: Not owner

    Hi
    I created a backup RAC database job using DBMS_SCHEDULER under RMANTEST schema (a DBA account) and I got the error as subject.
    begin
    dbms_scheduler.create_job(
    job_name => 'scheduler_backup',
    job_type => 'EXECUTABLE',
    number_of_arguments => 2,
    job_action => '/opt/oracle/admin/bin/rman_fullbackup_RAC_TEST_test.sh',
    comments => 'backup via scheduler'
    dbms_scheduler.SET_JOB_ARGUMENT_VALUE('scheduler_backup', 1, 'TEST');
    dbms_scheduler.SET_JOB_ARGUMENT_VALUE('scheduler_backup', 2, 'TEST2');
    dbms_scheduler.enable('scheduler_backup');
    end;
    Thanks,
    Kevin

    Hi Ravi
    Thanks for your input.
    "ORA-27369: job of type EXECUTABLE failed with exit code: Not owner" is what I copied from ADDITIONAL_INFO of USER_SCHEDULER_JOB_RUB_DETAILS.
    One thing I don't understand of your words is that
    "On 10gR1 and 10gR2 you can redirect the stdout/stderr within your script and take a look at those log files."
    In my script, I have log files but I cannot see it. I guess the job fails directly without hitting the redirection line in the script. Do you mean I shall write something like this
    dbms_scheduler.create_job (
    job_action => '/opt/oracle/admin/bin/backup.sh > backup.log'
    Another one is
    "make sure that the user that external jobs run as must be able to run your script"
    But OS user and database user are two different accounts at different level.
    I am using 10.2.0.2 RAC. The Unix script runs successfully every night. I just want to take advantage of DBMS_SCHEDULER to avoid host dependency.
    Thanks,
    Kevin

  • ORA-27369: job of type EXECUTABLE failed with exit code: Key has expired

    Hi
    I defined the following Job on Linux Redhat 5.4 & Oracle DB 10.2.0.4:
    BEGIN
      dbms_scheduler.create_job(job_name        => 'expjob',
                                job_type        => 'executable',
                                job_action      => '/EXPORT/scott_cmd',
                                enabled         => TRUE,
                                auto_drop       => FALSE);
    END;
    drwxrwxrwx   2 oracle oinstall  4096 Jul 10 19:19 EXPORTwhere:
    /home/oracle>cat /EXPORT/scott_cmd
    #!/bin/sh
    exp parfile=./scott.par
    /home/oracle>cat /EXPORT/scott.par
    FILE=scott.dmp
    USERID=STRMADMIN/STRMADMIN
    OWNER=SCOTT
    LOG=scott.log
    /home/oracle>ls -l /EXPORT/scott_cmd
    -rwxr-xr-x 1 oracle oinstall 34 Jul 10 19:16 /EXPORT/scott_cmd
    /home/oracle>ls -l /u01/app/oracle/OraHome_1/rdbms/admin/externaljob.ora
    -rw-r--r-- 1 root oinstall 1575 Jul 10 18:42 /u01/app/oracle/OraHome_1/rdbms/admin/externaljob.ora
    (run_user = nobody
    run_group = nobody)
    /home/oracle>ls -l  /u01/app/oracle/OraHome_1/bin/extjob
    -rwsr-x--- 1 root oinstall 64842 Jul  8 14:21 /u01/app/oracle/OraHome_1/bin/extjob
    /home/oracle>ls -l  /u01/app/oracle/OraHome_1/bin/extjobo
    -rwxr-xr-x 1 oracle oinstall 64842 Jul  8 14:21 /u01/app/oracle/OraHome_1/bin/extjoboWhen I executed as user STRMADMIN ( has DBA & CREATE JOB Privileg) the Job, I got always the error:
    /EXPORT>sqlplus STRMADMIN/STRMADMIN
    SQL*Plus: Release 10.2.0.4.0 - Production on Sun Jul 10 19:40:24 2011
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> exec dbms_scheduler.run_job('expjob');
    BEGIN dbms_scheduler.run_job('expjob'); END;
    ERROR at line 1:
    ORA-27369: job of type EXECUTABLE failed with exit code: Key has expired
    ORA-06512: at "SYS.DBMS_ISCHED", line 150
    ORA-06512: at "SYS.DBMS_SCHEDULER", line 441
    ORA-06512: at line 1
    SQL>Please, help
    regards
    hqt200475
    Edited by: hqt200475 on Jul 10, 2011 10:04 AM
    Edited by: hqt200475 on Jul 10, 2011 10:05 AM

    Hi Ronald,
    I need the external Job in the 10.2.0.4-Environment because of the Online-Upgrade of a 10.2.0.4-Database to 11.2.0.2 with STREAMS. I want to start the old export from a PL/SQL-Procedure.
    Now returning to my problem:
    First: Change the run user to oracle:oinstall $ORACLE_HOME/rdbms/admin/externaljob.ora
    # This configuration file is used by dbms_scheduler when executing external
    # (operating system) jobs. It contains the user and group to run external
    # jobs as. It must only be writable by the owner and must be owned by root.
    # If extjob is not setuid then the only allowable run_user
    # is the user Oracle runs as and the only allowable run_group is the group
    # Oracle runs as.
    #run_user = nobody
    #run_group = nobody
    run_user = oracle
    run_group = oinstallsecond:
    /EXPORT>cat scott_cmd
    #!/bin/sh
    ORACLE_SID=STB;export ORACLE_SID
    ORACLE_HOME=/u01/app/oracle/OraHome_1;export ORACLE_HOME
    PATH=$ORACLE_HOME/bin:$ORACLE_HOME/opmn/bin:$PATH; export PATH
    LD_LIBRARY_PATH=$ORACLE_HOME/lib;export LD_LIBRARY_PATH
    /u01/app/oracle/OraHome_1/bin/exp parfile=/EXPORT/scott.parand:
    BEGIN
      dbms_scheduler.create_job(job_name        => 'expjob_r',
                                job_type        => 'executable',
                                job_action      => '/EXPORT/scott_cmd',
                                enabled         => TRUE,
                                auto_drop       => FALSE);
    END;
    /The manual execution of export as user oracle/oinstall was unproblematic, But I still got the error when running the following procedure :
    SQL> exec dbms_scheduler.run_job('expjob_r');
    BEGIN dbms_scheduler.run_job('expjob_r'); END;
    ERROR at line 1:
    ORA-27369: job of type EXECUTABLE failed with exit code: Operation not
    permitted
    ORA-06512: at "SYS.DBMS_ISCHED", line 150
    ORA-06512: at "SYS.DBMS_SCHEDULER", line 441
    ORA-06512: at line 1regards
    hqt200475

  • ORA-27369: job of type EXECUTABLE failed with exit code: Permission denied

    Guy's
    I am getting the same error
    my schema is having dba priveleges.
    CREATE OR REPLACE procedure abc_1 as
    begin
    dbms_scheduler.create_job(
    job_name=>'test_1',
    job_type=>'executable',
    job_action=>'/d02/oradata/shell_scripts/import_db_1.sh',
    enabled=>false,
    auto_drop=>true );
    end;
    CREATE OR REPLACE procedure abc_2 as
    --http://www.dba-oracle.com/t_dbms_scheduler_examples.htm
    --http://www.oradev.com/dbms_scheduler.jsp
    --http://forums.oracle.com/forums/thread.jspa?messageID=1352558&#1352558
    begin
    dbms_scheduler.run_job (job_name=>'test_1');
    end;
    SQL>
    SQL>
    SQL> exec abc_1
    PL/SQL procedure successfully completed.
    SQL> exec abc_2
    BEGIN abc_2; END;
    ERROR at line 1:
    ORA-27369: job of type EXECUTABLE failed with exit code: Permission denied
    ORA-06512: at "SYS.DBMS_ISCHED", line 150
    ORA-06512: at "SYS.DBMS_SCHEDULER", line 441
    ORA-06512: at "SYS.ABC_2", line 6
    ORA-06512: at line 1
    any one got the solution.pl pass it.
    TIA,

    Hi,
    If rdbms/admin/externaljob.ora exists (in 10.2.0.3 and up) then external jobs run as the user and group specified in this file which should be nobody by default.
    If it does not exist (in releases prior to 10.2.0.3) then external jobs run as the owner of bin/extjob which should be nobody by default.
    Because external jobs run as a lowly privileged user (nobody) by default, you need to make sure that this user can execute your script. Things to check for include
    1) Use full paths to all binaries or scripts in job_action or program_action as well as calls inside the script.
    2) Make sure all scripts start with #!/bin/sh or another command interpreter
    3) Make sure all scripts have the executable bit set and are executable by the user that external jobs run as
    4) Make sure that all required environment variables are set. External jobs by default do not have any environment variables set. For example, for an oracle import or export or sqlloader script you may need to set oracle_home, oracle_sid, ld_library_path and path environment variables in your script or source the required Oracle environment script.
    Hope this helps,
    Ravi.

  • ORA-27369: job of type EXECUTABLE failed with exit code: 274662

    I am trying to run a shell script through dbms_scheduler. The Shell scripts calls the oracle procedure which insert a record to the Debug table.
    Code for generating the script
    declare
    begin
    dbms_scheduler.create_job(
              job_name=>'test_call_unix'
              ,job_type=>'executable'
              ,job_action=>'/carsd/Input/Current/BAM/calling_proc.sh'
              ,start_date => SYSDATE
              ,repeat_interval => 'FREQ=SECONDLY; INTERVAL=1'
              ,enabled=>TRUE
              ,auto_drop => TRUE
              ,comments=> 'Calling unxi sh'
    end;
    the shell script (calling_proc.sh)
    touch called.log
    sqlplus $ORA_USER/$ORA_PWD@$ORA_HOST << EOF1
    exec p1_sh;
    exit;
    EOF1
    I gave chmod 777 calling_proc.sh
    this the error which i got in ALL_SCHEDULER_JOB_RUN_DETAILS table
    ORA-27369: job of type EXECUTABLE failed with exit code: 274662
    STANDARD_ERROR="Oracle Scheduler error: Config file is not owned by root or is writable by group or other or extjob is not setuid and owned by root"
    Thanks in advance
    Jeeva.

    STANDARD_ERROR="Oracle Scheduler error: Config file is not owned by root or is writable by group or other or extjob is not setuid and owned by root"
    I gave chmod 777 calling_proc.sh
    comply with top line message!

  • ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function

    Hello,
    I am calling a windows bat file using dbms_scheduler and getting the following error. I have searched the forum and the internet and tried different switches and options. None of them solved my problem.
    Oracle Version: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    OracleJobScheduler is running as a service
    Error starting at line 1 in command:
    execute GET_RESULTS();
    Error report:
    ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
    ORA-06512: at "SYS.DBMS_ISCHED", line 185
    ORA-06512: at "SYS.DBMS_SCHEDULER", line 486
    ORA-06512: at "PS.GET_RESULTS", line 67
    ORA-06512: at line 1
    27369. 00000 - "job of type EXECUTABLE failed with exit code: %s"
    *Cause:    A problem was encountered while running a job of type EXECUTABLE.
    The cause of the actual problem is identified by the exit code.
    *Action:   Correct the cause of the exit code and reschedule the job.
    Here is the code for scheduler
          dbms_output.put_line(os_commandline || utlPath || fileSeparator || 'get.bat >nul')
          dbms_scheduler.create_job
          (   job_name          =>'PS_GET_RESULTS'
                , job_action        => os_commandline || utlPath || fileSeparator || 'get.bat >nul'
                , job_type          =>'executable'
                , enabled           =>false
                , auto_drop         =>false
                , start_date        =>systimestamp
          dbms_scheduler.run_job(job_name =>'PS_GET_RESULTS');The dbs_output prints a line which shows that the parameters os_commandline, utlPath and fileSeparator are set correctly.
         C:\windows\system32\cmd.exe /q /c E:\UTLDir\get.bat >nulThe windows file (get.bat) is:
         "C:\Program Files (x86)\WinSCP\Winscp.exe" /script=e:\utldir\get_resultsThis batch file passes a script file to the executable winscp.exe to get files from another server.
    The script file (get_results) is:
         option batch abort
         option confirm off
         open sftp://username:password@ipnumber:port -hostkey="ssh-rsa 1024 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
         cd /usr/dropbox/
         option transfer binary
         get *.results E:\UTLDir\Results\
         close
         exitI tested the batch file directly and works fine and "gets" the files from the server. But, invoking from Oracle dbms_scheduler fails with ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
    Appreciate your help and time in suggesting additional guidelines or pointers.
    Thanks,
    Rose

    Here is an update, if somebody else is having a similar problem.
    The ftp command "cd" to change the directories should be an absolute path. I was given a path "/usr/dropbox/", but on the server it actually corresponds to "/usr/local/apps/dropbox/". After updating the directory path, the scheduler worked fine in invoking the batch file for transferring the files.
    Thanks,
    Rose

Maybe you are looking for