Flex Automation: RegisterUserFunc fails

Has anyone had success with registering user-defined
functions in QTP for Flex components? This is a mechanism whereby
standard method implementations are replaced with custom ones and
new methods can be added.
I've tried it with FlexTextArea, FlexButton and FlexCanvas. I
get the following dialog:
Run Error: Object doesn't support this action:
'Flex<ComponentType>(...).<Method>'
I validated my approach is with a Browser app's WebEdit.
Code:
Function MyClick
MsgBox "worked"
End Function
RegisterUserFunc "FlexButton", "Click", "MyClick", False
Browser("Runtime Loading
Sample").FlexApplication("automationExample").FlexApplication("prototype.swf").FlexButton ("releaseButton").Click

Greg,
Thanks for your help.
The "&#38;" seems to get me past that error alright.
The example was sent in an email from Adobe after I
downloaded the Flex Builder 3 Trial. I just copied and pasted it
into Flex Builder exactly as they had sent it to me.
The email message included this:
Create your first rich Internet application
Creating your first Flex rich Internet application is easy.
Just copy the following code into a new Flex project inside Adobe
Flex Builder. The application will search Flickr for photos related
to a keyword that is entered into the search box. If you have
problems, check out the Flex 3 Getting Started Guide Wiki page on
creating a simple RIA.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
backgroundGradientColors="[0xFFFFFF, 0xAAAAAA]"
horizontalAlign="left"
verticalGap="15"
horizontalGap="15"
creationComplete="service.send()">
<mx:HTTPService id="service"
url="
http://www.flickr.com/services/rest/?method=flickr.photos.searc&api_key=db502e017c65ff6f79 68953a5c59ac&per_page=30&tags={searchTerms.text}"/>
<mx:HBox>
<mx:Label text="Flickr tags or search terms:" />
<mx:TextInput id="searchTerms" text="Blue" />
<mx:Button label="Search" click="service.send()" />
</mx:HBox>
<mx:Tile>
<mx:Repeater id="myrep"
dataProvider="{service.lastResult.rsp.photos.photo}">
<mx:Image source="{myrep.currentItem.thumbnail.url}"/>
</mx:Repeater>
</mx:Tile>
</mx:Application>

Similar Messages

  • Serial number needed to try flex automation

    I'm running the Flex Automation Installer to install the
    plugins needed to evaluate use of QuickTest Professional for
    automated Flex 2 testing. The Installer requires entry of a Flex
    Data Services serial number. (The applications I want to test do
    not use Flex Data Services, so this seems an odd requirement for
    evaluation of the test tool.) How can I get the needed serial
    number? If this requires discussion with someone at Adobe who
    oversees my organization's Flex licenses, how would I determine who
    that is and how to contact him or her? Is it necessary to purchase
    a Flex Data Services license to evaluate QTP automated testing of
    Flex 2 apps?

    I have the QTP configured with Flex and I am able to record
    most events. Attempting to record a mouse rollover results in the
    following error : “Error: Unable to find automation method
    'flash.events.MouseEvent' for class 'name: FlexImage
    superClassName: FlexLoader”. My app is a simple image which
    applies two states to display the image. It utilizes the
    Automation.automationManager.recordAutomatableEvent method for the
    target event, within the “rollover” event handler.
    Also, I override the “replayAutomatableEvent(Event)”
    method calling the
    Automation.automationObjectHelper.replayMouseEvent() for the
    MouseEvent.ROLL_OVER event. The error propagates from the MouseMove
    event as reported in the stack trace –Click and ChangeFocus
    also are reported. I’ve added the rollover event to the
    “TEAFlex.xml” file. Its my understanding that any event
    outside of those defined in the “QTP Object Type”
    document for each control can be configured in the
    “TEAFlex.xml” file, for any control descending from
    UIComponent. I received a similar error after extending the
    ProductCatalogThumbnail ( Canvas ) class contained in the flex
    store code, though this error propogates from Scroll. Can you
    determine why ( in the first case ), the rollover is failing?
    Stack trace:
    Error: Unable to find automation method
    'flash.events.MouseEvent' for class 'name: FlexImage
    superClassName: FlexLoader
    event2descriptor: (Object)#0
    flash.events.FocusEvent|keyFocusChange =
    (mx.automation.qtp::QTPEventDescriptor)#1
    eventClassName = "flash.events.FocusEvent"
    eventType = "keyFocusChange"
    name = "ChangeFocus"
    flash.events.MouseEvent|click =
    (mx.automation.qtp::QTPEventDescriptor)#2
    eventClassName = "flash.events.MouseEvent"
    eventType = "click"
    name = "Click"
    flash.events.MouseEvent|mouseMove =
    (mx.automation.qtp::QTPEventDescriptor)#3
    eventClassName = "flash.events.MouseEvent"
    eventType = "mouseMove"
    name = "MouseMove"'.
    at mx.automation::AutomationManager/recordAutomatableEvent()
    at ViewStates_wt3/dispatchLowLevelEvent()
    at ViewStates_wt3/__soup_rollOver()
    at [mouseEvent]
    Text

  • Flex Automation API "Licensing Issue"

    Hi,
    We are using "Eclipse Ganymede with Flash Builder Standard Version - 4.0 plugin" + Premium License. We are working with the automation of a Flex application. The automation tool we are using is the FlexMonkium 4.1.5.
    We have some issues with the automation. I have mentioned those below:
    Flex Automation API is limiting the features of the FlexMonkium 4.1.5 as this tool inherits the features and it underlies on the mechanism of the FlexAutomation API only.
    Due to the above mentioned point, the dependencies are:
    License not present. With the trial version only limited records are allowed.
    License not present. With the trial version only limited replays are allowed.
    When we record the user actions performed in the application with the FlexMonkium, we are getting the error as "License not present. With the trial version only limited records are allowed."
    Note: This error is thrown after 15 - 20 user actions have been performed.
    When we execute the recorded script, it is showing up a error message as "License not present. With the trial version only limited replays are allowed."
    Note: This error is thrown after 51 -20 user actions have been executed by the script.
    The complete code of the application is compiled with  "Eclipse Ganymede with Flash Builder Standard Version - 4.0 plugin" + Premium License."
    From the adobe forum: http://forums.adobe.com/thread/682958 we understood that the 4.1 SDK with Premium licence would work fine with record and playback.
    My quesion is, Does the same works with this combination > "Eclipse Ganymede with Flash Builder Standard Version - 4.0 plugin" + Premium License.
    Please guide me to resolve this issue, it would really be very helpful for me:)
    Thanks in advance,
    Anand.S

    May I know what you mean exactly by "Flash Builder Standard Version - 4.0 plugin" + Premium License.
    Have you entered Flash builder premium license key in the screen that asks for serial number? If so, it will be Flash Builder Premium version 4.0 and not Standard version any more.
    If so, automation should work without any issue.
    To check whether premium features are enabled for your version of Flash Builder, please open "Network Monitor" using Window > Show View and see if it is enabled.
    If it is disabled, it shows a message that premium license is required.
    Please confirm.
    Thanks,
    Deeptika

  • Flex automation and license

    Hi,
    I try to use FlexMonkey with my project but after 30 records I've this error message : "License not present. With the trial verison only limited records are allowed.". However, I bought the license for Flash Builder premium 4.5.
    Maybe the problem is because I compile my project with flex builder 3.6?
    Could you help me? I bought the license specially for using Flex monkey...
    Thanks in advance,
    Bat

    It's not a FlexMonkey problem. It's an automation license problem and I'm having the same problem on one of two Windows 7 64-bit machines. I've done all that I can find in the thread Re: Flex Automation API "Licensing Issue" http://forums.adobe.com/thread/834214 but to no avail. As Deepita suggested to confirm Premium status, network monitor is available. I originally installed the trial version of Flash Builder, even had Burrito on for a while.
    Assuming it was some leftover file, I uninstalled every Adobe product  Bought CS5.5 Master Collection. Installed, same thing. Then I uninstalled CS5.5 MC and made sure that I permanently deactivated as per the suggestion in another thread. No luck.
    As per the above thread, I went looking for the following:
    On Windows 7 and Vista, the license.properties file is located in: ..\ProgramData\Adobe\Flex
    I modified that file's record for serial number (as it wasn't my sn for CS5.5) and had great hope.
    I'm still limited to 20 automation actions, at which point it all stops. Solution?

  • AUTOMATED EXPORT FAILED

    Hi Azure team,I received the below error mail for automated export.
    "We recommend checking that the storage account is available, and that you can perform a manual export to that account. We will attempt to export again at the next scheduled time."1. May i know, What is this message conveying?2. Storage is not accessible during that time?
    If yes is answer for 2nd question then please let me know why it was happened?and how could we overcome from this???Kindly help on this by providing suggestions.

    Hello,
    Did the automated export works on the SQL Database? you can review the Import and export history in the SQL Database server.
    The message showed in the mail indicates that automated export failed due to some reason. If your storage account is not accessible, the export may fail as the .bacpac file cannot be stored in the storage.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • [Flex] RTMP-Server failed to start up

    We are trying to deploy a Flex Dataservices 2.01 applicaton
    on Solaris 10/Weblogic 8.1 SP5 and have run into this problem. Does
    anybody know how to fix it? Thanks.
    [Flex] RTMP-Server failed to start up: java.io.IOException:
    Invalid argument
    flex.messaging.endpoints.rtmp.RTMPException: The RTMP server
    has encountered a f
    atal exception starting up: Invalid argument
    at
    flex.messaging.endpoints.rtmp.BaseNIORTMPServer.run(BaseNIORTMPServer
    .java:310)
    at java.lang.Thread.run(Thread.java:534)
    07/03 14:04:48 INFO Loading configuration file
    /opt/bea/apps/wrunocwc.centauri/d
    omains81/ocwc/ocwcadmindev1/stage/hra/hra.war/WEB-INF/flex/flex-webtier-config.x
    ml
    07/03 14:04:48 INFO Loading configuration file
    /opt/bea/apps/wrunocwc.centauri/d
    omains81/ocwc/ocwcadmindev1/stage/hra/hra.war/WEB-INF/flex/flex-config.xml

    You are only deploying one Flex web application on Tomcat?
    Maybe the web application is getting deployed twice for some
    reason.
    Have you tried looking at what ports are in use prior to
    starting the server in Eclipse? This might be a good sanity test.
    Running "netstat -a" will give you this on Windows.
    We usually see this when two web applications have the same
    channel configuration information by mistake. Not sure what is up
    in this case.

  • QTP version 10 + Adobe 4 flex automation plug in + windows xp.

    I am using QTP version 10 + Adobe 4 flex automation plugin+ windows xp . I am trying to record an application having an  active x control. QTP does not record anything. Could anybody please let me know if there is an isssue with active x with QTP v10. When i tried recording an sample flex application i was able to record the controls as flex controls.
    Any comments will be helpful..
    Thanks in advance ,
    Sheetal

    Moving this discussion to the Flex forum.

  • [Automation] Differences when using Flex Automation Framework ?

    Hello everyone,
    I recently made some tests with Flex Automation Framework and noticed that using it slightly change the application behaviour.
    First, it changes the way container intercept dans handle mouse event as expalined in Adobe JIRA ticket #791:http://bugs.adobe.com/jira/browse/FLEXENT-791
    I'm using sdk 3.2 so it won't be fixed. However future releases (3.4+ and 4.0+) should not have this problem.
    Secondly I notice that using RuntimeLoader.swf on my application remove the text of some labels I have in my login form.
    This does not happen when compiling the application with automation libraries.
    Does anyone experienced other bahavioural changes when using automation ?
    Thank,
    Olivier

    Hi Olivier
    The only change which we know of is the one that you rightly pointed out in bug http://bugs.adobe.com/jira/browse/FLEXENT-791 . There are no other behavioral changes that occur when you compile your application with automation.
    With regards to your statement
    Secondly I notice that using RuntimeLoader.swf on my application remove the text of some labels I have in my login form.
    This does not happen when compiling the application with automation libraries.
    Can you please send us a working sample of this issue as we have not come across this behavior before.
    Regards
    Shanaz

  • Flex Automation issue

    Hi All,
    I am facing one issue reagrding flex automation.with the trial version of flex builder,is it possible to have all the classes related automation?
    when I am trying to use mx.aumation package lots of classes are missing.Can anybody guide me as to how to achieve this?
    Regards,
    Maruti

    May I know what you mean exactly by "Flash Builder Standard Version - 4.0 plugin" + Premium License.
    Have you entered Flash builder premium license key in the screen that asks for serial number? If so, it will be Flash Builder Premium version 4.0 and not Standard version any more.
    If so, automation should work without any issue.
    To check whether premium features are enabled for your version of Flash Builder, please open "Network Monitor" using Window > Show View and see if it is enabled.
    If it is disabled, it shows a message that premium license is required.
    Please confirm.
    Thanks,
    Deeptika

  • Flex automation support for Firefox 3.6.8

    Hi There,
    I have been using flex automation plugin for a while which comes with Flex Builder 3.0. Where it is mentioned that flex only supports automation with IE browser. Is the same comment applicable with Flas Builder 4 automation plugin. or is it supporting other browsers other than IE from Flash Builder 4 like Firefox.
    Thanks,
    Rajesh

    Some say October. Though I have not seen any possible dates yet from Mozilla as they cancelled the3.6 EOL discussion they planned for in meeting at end of June and did not mention 3.6 in June 6 meeting notes.
    There will be a 3.6.19 update at minimum scheduled for about August 16.

  • Flex automation package downloads

    from where i got the flex automation
    package............................

    Hi,
    Can any body reply how to download the Plugins for
    Automation Silk Test 9.0 for Testing Flex Application.
    I am not getting where to find the library files
    automation.swc, automation_agent.swc and FlexTechDomain.swc
    Please help.
    sandeep

  • Convert dotx or docx to pdf with Word Automation Service failed

    Hello everybody,
    After search on the internet, I'm looking for a solution to this issue.
    I wrote this code for a document conversion in a visual studio 2010 workflow:
    string wordAutomationServiceName = "Word Automation Service";
    ConversionJobSettings jobSettings = new ConversionJobSettings();
    jobSettings.OutputFormat = SaveFormat.PDF;
    ConversionJob job = new ConversionJob(wordAutomationServiceName, jobSettings);
    job.UserToken = workflowProperties.Site.UserToken;
    job.AddFile(workflowProperties.WebUrl + "/" + file.Url,
    workflowProperties.WebUrl + "/" + file.Url.Replace(".docx", ".pdf"));
    job.Start();
    URLs are corrects and the word document exists.
    The problem is when the job is executed, I have errors in SharePoint logs:
    11/18/2011 09:24:15.87     w3wp.exe (0x1BC4)                           0x1CA0    Word Automation Services     
        Office Viewing Architecture       9rte    Medium      Request received for document 00000001-0001-10e2-80af-d08c970b9892, format: , numberInQueue: 0, request id ba03fb58-55b2-4c6c-b1ca-20fad3b11585   
    00000001-0001-10e2-80af-d08c970b9892
    11/18/2011 09:24:15.87     w3wp.exe (0x1BC4)                           0x1CA0    Word Automation Services     
        Office Viewing Architecture       c7ld    Medium      AppManager.BeginProcessRequest adding request to queue    00000001-0001-10e2-80af-d08c970b9892
    11/18/2011 09:24:15.88     w3wp.exe (0x1BC4)                           0x1CA0    Word Automation Services     
        Timer Job                         g27p    Medium      Local Controller '71cf62b9-c34c-46c4-9828-55de2d5f5ac0':
    In Progress: <http://site/Contracts/docsettest/contracttest.dotx> downloaded and queued locally    00000001-0001-10e2-80af-d08c970b9892
    11/18/2011 09:24:15.88     w3wp.exe (0x1BC4)                           0x17C0    Word Automation Services     
        Configuration                     g6xc    Medium      Item 00000001-0001-10e2-80af-d08c970b9892: Assigned to
    local worker process: 1D64 (7524; worker id = cce33245-48b9-4b0d-afcd-e3218845d81a)    00000001-0001-10e2-80af-d08c970b9892
    11/18/2011 09:24:15.88     w3wp.exe (0x1BC4)                           0x1CA0    SharePoint Foundation        
        Monitoring                        b4ly    Medium      Leaving Monitored Scope (ExecuteWcfServerOperation).
    Execution Time=23.6994391735768    2fd2393d-f36d-49a1-bfdf-737aefc8659a
    11/18/2011 09:24:15.88     w3wp.exe (0x1BC4)                           0x211C    Word Automation Services     
        Office Viewing Architecture       vipp    Medium      AppWorker:cce33245-48b9-4b0d-afcd-e3218845d81a initializing for request ba03fb58-55b2-4c6c-b1ca-20fad3b11585   
    00000001-0001-10e2-80af-d08c970b9892
    11/18/2011 09:24:15.88     w3wp.exe (0x1BC4)                           0x211C    Word Automation Services     
        Office Viewing Architecture       vipr    Monitorable    AppWorker:cce33245-48b9-4b0d-afcd-e3218845d81a worker call failed System.ServiceModel.CommunicationObjectAbortedException: The
    communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it has been Aborted.    Server stack trace:      at System.ServiceModel.Channels.CommunicationObject.ThrowIfDisposedOrNotOpen()    
    at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)     at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage
    methodCall, ProxyOperationRuntime operation)     at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)    Exception rethrown at [0]:      at System.Runtime.Re...   
    00000001-0001-10e2-80af-d08c970b9892
    11/18/2011 09:24:15.88*    w3wp.exe (0x1BC4)                           0x211C    Word Automation Services     
        Office Viewing Architecture       vipr    Monitorable    ...moting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)     at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
    msgData, Int32 type)     at Microsoft.Office.Web.Conversion.Framework.Remoting.IAppChannelCallback.Initialize(WorkerRequest request, FileItem fileItem)     at Microsoft.Office.Web.Conversion.Framework.AppWorker.ProcessRequest(ConversionRequest
    request). Worker name WordAutomationServices, Document 00000001-0001-10e2-80af-d08c970b9892    00000001-0001-10e2-80af-d08c970b9892
    11/18/2011 09:24:15.88     w3wp.exe (0x1BC4)                           0x211C    Word Automation Services     
        Service                           g281    Medium      Local Controller '71cf62b9-c34c-46c4-9828-55de2d5f5ac0':
    Failure: <http://site/Contracts/docsettest/contracttest.dotx> not uploaded to <http://site/Contracts/docsettest/contracttest.pdf> (65543)    00000001-0001-10e2-80af-d08c970b9892
    11/18/2011 09:24:15.90     w3wp.exe (0x1BC4)                           0x211C    Word Automation Services     
        Office Viewing Architecture       c78j    Unexpected    AppWorker:cce33245-48b9-4b0d-afcd-e3218845d81a ProcessRequestDone() received error response WorkerException, restarting the worker   
    00000001-0001-10e2-80af-d08c970b9892
    11/18/2011 09:24:15.90     w3wp.exe (0x1BC4)                           0x211C    Word Automation Services     
        Office Viewing Architecture       b1qa    Medium      Shutting down process with force processId: 7524 belonging to AppWorker cce33245-48b9-4b0d-afcd-e3218845d81a   
    00000001-0001-10e2-80af-d08c970b9892
    11/18/2011 09:24:15.91     w3wp.exe (0x1BC4)                           0x1CA0    Word Automation Services     
        Configuration                     g6xb    Medium      Local Controller '71cf62b9-c34c-46c4-9828-55de2d5f5ac0':
    Local worker process exited: 1D64 (7524); exit time = 11/18/2011 09:24:15     
    11/18/2011 09:24:15.91     w3wp.exe (0x1BC4)                           0x1CA0    Word Automation Services     
        Configuration                     d0md    Medium      App 'Word Automation Service': Deleting temp directory
    'C:\Windows\TEMP\wdsrv\21659d2e-c634-46a2-9585-b4cd1398f64c\odsibdmm.cmv\1D64'     
    11/18/2011 09:24:15.92     w3wp.exe (0x1BC4)                           0x211C    Word Automation Services     
        Office Viewing Architecture       xpre    Medium      Removing worker cce33245-48b9-4b0d-afcd-e3218845d81a, thread: 216    00000001-0001-10e2-80af-d08c970b9892
    11/18/2011 09:24:15.92     w3wp.exe (0x1BC4)                           0x211C    Word Automation Services     
        Office Viewing Architecture       f2yg    Medium      CreateSandBoxedProcessWorker() is called    00000001-0001-10e2-80af-d08c970b9892
    11/18/2011 09:24:15.93     w3wp.exe (0x1BC4)                           0x211C    Word Automation Services     
        Office Viewing Architecture       b10e    Medium      Created desktop: Service-0x0-3eaf55d$\Microsoft Office Isolated Environment     00000001-0001-10e2-80af-d08c970b9892
    11/18/2011 09:24:15.93     w3wp.exe (0x1BC4)                           0x211C    Word Automation Services     
        Office Viewing Architecture       2brt    Medium      AppWorker:89d80fff-43ec-459e-9d95-5ed8b67f20bb worker process is started Exe: WordServerWorker.exe Args: /id 89d80fff-43ec-459e-9d95-5ed8b67f20bb
    /convertingService net.pipe://127.0.0.1/WordServer71cf62b9-c34c-46c4-9828-55de2d5f5ac0 /assembly WdsrvWorker.dll /type WACWS /IsBatchedTracing True /LogQuota 100 WorkerType: WorkerType1 Directory: c:\windows\system32\inetsrv, pid : 3700, IsSandBoxed: True,
    UniqueSandBoxSid: S-1-5-26473-19571-45394-48    00000001-0001-10e2-80af-d08c970b9892
    11/18/2011 09:24:15.93     w3wp.exe (0x1BC4)                           0x211C    Word Automation Services     
        Office Viewing Architecture       vioz    Medium      RemoveWorker isRemoved: True session id : uuid:c9cce13b-5285-47d6-a666-29da19e57c67;id=47, Guid: cce33245-48b9-4b0d-afcd-e3218845d81a   
    00000001-0001-10e2-80af-d08c970b9892
    11/18/2011 09:24:15.93     w3wp.exe (0x1BC4)                           0x211C    Word Automation Services     
        Office Viewing Architecture       b4em    Monitorable    AppWorker:cce33245-48b9-4b0d-afcd-e3218845d81a recycle worker process because the conversion failed with result WorkerException.
    Worker is WordAutomationServices    00000001-0001-10e2-80af-d08c970b9892
    11/18/2011 09:24:15.93     w3wp.exe (0x1BC4)                           0x211C    Word Automation Services     
        Office Viewing Architecture       xpre    Medium      Removing worker cce33245-48b9-4b0d-afcd-e3218845d81a, thread: 216    00000001-0001-10e2-80af-d08c970b9892
    11/18/2011 09:24:15.93     w3wp.exe (0x1BC4)                           0x211C    Word Automation Services     
        Office Viewing Architecture       vioz    Medium      RemoveWorker isRemoved: False session id : uuid:c9cce13b-5285-47d6-a666-29da19e57c67;id=47, Guid: cce33245-48b9-4b0d-afcd-e3218845d81a   
    00000001-0001-10e2-80af-d08c970b9892
    11/18/2011 09:24:15.93     w3wp.exe (0x1BC4)                           0x211C    Word Automation Services     
        Office Viewing Architecture       a2oj    Medium      PreProcessTime = 0; InConversionQueueTime = 0.0019142; ResponseTime = 0.0066997; TotalConversionTime = 0.0535976; AvgPreProcessTime
    = 0; AvgInConversionQueueTime = 0; AvgResponseTime = 0; AvgTotalConversionTime = 0; historyCount = 0; result = WorkerException; format = n/a    00000001-0001-10e2-80af-d08c970b9892
    11/18/2011 09:24:15.93     w3wp.exe (0x1BC4)                           0x144C    Word Automation Services     
        Office Viewing Architecture       4sig    Medium      ChildProcess WordServerWorker.exe is launched inside worker 89d80fff-43ec-459e-9d95-5ed8b67f20bb. Pid 3700   
    11/18/2011 09:24:15.93     w3wp.exe (0x1BC4)                           0x144C    Word Automation Services     
        Office Viewing Architecture       d9hn    Medium      NotifyNewChildProcessInWorker has seen WordServerWorker.exe in worker 89d80fff-43ec-459e-9d95-5ed8b67f20bb   
    11/18/2011 09:24:16.45     w3wp.exe (0x1BC4)                           0x18CC    Word Automation Services     
        Office Viewing Architecture       viou    Medium      ... registering worker 89d80fff-43ec-459e-9d95-5ed8b67f20bb     
    11/18/2011 09:24:16.48     w3wp.exe (0x1BC4)                           0x18CC    Word Automation Services     
        Office Viewing Architecture       viox    Medium      Worker 89d80fff-43ec-459e-9d95-5ed8b67f20bb is now initialized.     
    11/18/2011 09:24:16.55     w3wp.exe (0x1BC4)                           0x18CC    Word Automation Services     
        Office Viewing Architecture       vipx    Monitorable    AppWorker:89d80fff-43ec-459e-9d95-5ed8b67f20bb application server host exited unexpectedly  (thread: 6)   
    11/18/2011 09:24:16.55     w3wp.exe (0x1BC4)                           0x18CC    Word Automation Services     
        Office Viewing Architecture       c78j    Unexpected    AppWorker:89d80fff-43ec-459e-9d95-5ed8b67f20bb ProcessRequestDone() received error response WorkerCrashed, restarting the worker   
    11/18/2011 09:24:16.57     w3wp.exe (0x1BC4)                           0x18CC    Word Automation Services     
        Office Viewing Architecture       xpre    Medium      Removing worker 89d80fff-43ec-459e-9d95-5ed8b67f20bb, thread: 6     
    11/18/2011 09:24:16.57     w3wp.exe (0x1BC4)                           0x18CC    Word Automation Services     
        Office Viewing Architecture       f2yg    Medium      CreateSandBoxedProcessWorker() is called     
    11/18/2011 09:24:16.57     w3wp.exe (0x1BC4)                           0x18CC    Word Automation Services     
        Office Viewing Architecture       b10e    Medium      Created desktop: Service-0x0-3eb1722$\Microsoft Office Isolated Environment      
    11/18/2011 09:24:16.57     w3wp.exe (0x1BC4)                           0x18CC    Word Automation Services     
        Office Viewing Architecture       2brt    Medium      AppWorker:59168d75-7086-4318-8d12-633affa7b783 worker process is started Exe: WordServerWorker.exe Args: /id 59168d75-7086-4318-8d12-633affa7b783
    /convertingService net.pipe://127.0.0.1/WordServer71cf62b9-c34c-46c4-9828-55de2d5f5ac0 /assembly WdsrvWorker.dll /type WACWS /IsBatchedTracing True /LogQuota 100 WorkerType: WorkerType1 Directory: c:\windows\system32\inetsrv, pid : 6752, IsSandBoxed: True,
    UniqueSandBoxSid: S-1-5-26473-19571-45394-49     
    11/18/2011 09:24:16.57     w3wp.exe (0x1BC4)                           0x18CC    Word Automation Services     
        Office Viewing Architecture       vioz    Medium      RemoveWorker isRemoved: True session id : uuid:c9cce13b-5285-47d6-a666-29da19e57c67;id=48, Guid: 89d80fff-43ec-459e-9d95-5ed8b67f20bb   
    11/18/2011 09:24:16.57     w3wp.exe (0x1BC4)                           0x144C    Word Automation Services     
        Office Viewing Architecture       4sig    Medium      ChildProcess WordServerWorker.exe is launched inside worker 59168d75-7086-4318-8d12-633affa7b783. Pid 6752   
    11/18/2011 09:24:16.57     w3wp.exe (0x1BC4)                           0x144C    Word Automation Services     
        Office Viewing Architecture       d9hn    Medium      NotifyNewChildProcessInWorker has seen WordServerWorker.exe in worker 59168d75-7086-4318-8d12-633affa7b783   
    11/18/2011 09:24:17.10     w3wp.exe (0x1BC4)                           0x1CA0    Word Automation Services     
        Office Viewing Architecture       viou    Medium      ... registering worker 59168d75-7086-4318-8d12-633affa7b783     
    11/18/2011 09:24:17.13     w3wp.exe (0x1BC4)                           0x1CA0    Word Automation Services     
        Office Viewing Architecture       viox    Medium      Worker 59168d75-7086-4318-8d12-633affa7b783 is now initialized.   
    Thank you for your help.

    Hi Jean,
    Were you able to resolve this?  I am coming across the exact same error on a SharePoint 2010 development machine.  I don't see any other posts on the web about it.  Here is the entry from my ULS logs:
    Local Controller 'fc8b8704-f0f1-4e85-a69a-dc5686c27e39': Failure: <http://ip-0a6ee272/Shared%20Documents/Word/hello.docx> not uploaded to <http://ip-0a6ee272/Shared%20Documents/PDF/hello.pdf>
    (65543)
    Do we share any of the following configuration points?  I'm trying to narrow down the potential root cause ...
    MSDN subscriber EXE install media "SharePoint Server 2010 with Service Pack 1 (x64) - (English)"
    SP1 slipstream patch level.  No cumulative updates.
    http://autospinstaller.codeplex.com/  PowerShell scripted install
    SQL 2008 R2 installed on same box as SharePoint
    Active Directory domain controller on same box as SharePoint
    c:\Windows\System32\drivers\etc\HOSTS file 127.0.0.1 entry for both machine and domain name
    Thanks in advance for the research. 
    I've actually tried re-installing SharePoint several times on brand new virtual machines.  That did not resolve the issue.  Strangely enough, the RTM version of SharePoint appears to work just fine.  With all other configuration points the
    same, I loaded RTM ... ran a Word Automation PowerShell script ... and received the expected PDF output.  Then when I apply the SP1 patch ... it stops working and I get error 65543.
    Best,
      @SPJeff

  • Automator Workflow Fails with Cryptic Error Message

    I'm updating an Automator workflow for OS X Lion that I initally developed and used, without issue, in OS X Tiger. The workflow asks for a name, creates a folder for the name, takes a digital image with a Nikon D50 connected to the computer, and saves the image to the new folder. This aspect of the workflow works fine.
    I then have a prompt asking if we should take another. If the user says "yes," the script should take another image and save it to the folder. This is where I run into an issue. When I attempt to add another "Take a Picture Action" into the workflow, I get the cryptic (at least to me) error message in the attached screenshot.
    Here's the text:
    "Cannot update for observer <AMWorkflow 0x400458ac0> for the key path "parameters.name" from <TakePicture 0x403e3b0a0>, most likely because the value for the key "parameters" has changed without an appropriate KVO notification being sent. Check the KVO-compliance of the TakePicture class."
    The language of this error would seem to indicate a bug. Any thoughts on a fix or the means to report to Apple?

    The subject of this post is a bit misleading. The workflow wasn't failing while I was running it, but rather when I was editing it and trying to include another 'Take a Picture' action in the same workflow.
    The workaround I found was to use a 'Loop' action on the 'Take a Picture' action. It's a bit more elegant and doesn't require multiple 'Take a Picture' actions in the same workflow.
    Nonetheless, what does this error message mean?

  • Flex Automation - prerequisites

    Hi
    We have Flash Builder 4.0 with Premium License.  We have moved Flex 3.6 to 4.6.  Could you please let us know if this configuration is OK for automation, so that we don't run into "License is not present" error.
    I have searched this all over - but the precise answer is missing.  Could you please point to a document which calls out the prerequisites (compatability of Flash Builders for Automation of different versions of SDK) so that I can take this as official confirmation.
    Thanks for all your help in advance
    Paddu Mysore

    Hi,
    Is this the correct forum for this qustion?  Please point me to the right forum.
    Thanks for all your help in advance
    Padmini

  • Office Automation App Fails On Office 365 Machines

    I have an application that does COM automation with Excel.  I use Microsoft.Office.Interop.Excel from C#.
    The application works fine if Office 2010 is installed.  On machines with Office 365 installed, I get the following error:
    System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Office.Interop.Excel.Application'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{000208D5-0000-0000-C000-000000000046}'
    failed due to the following error: Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)).
    Code is trivial to reproduce:
    using System;
    using System.Collections.Generic;
    using System.Data;
    using System.Diagnostics;
    using System.IO;
    using System.Runtime.InteropServices;
    using System.Text;
    using System.Threading;
    using Excel = Microsoft.Office.Interop.Excel;
    namespace TestExcel
        class Program
            static void Main(string[] args)
                // Start Excel and get Application object.
                Excel.Application excelApp = new Excel.Application(); // Fails here
                // Set some properties.
                excelApp.Visible = false;
                excelApp.DisplayAlerts = false;
                excelApp.Quit();
                Marshal.ReleaseComObject(excelApp);
    Any ideas how to fix this?
    Matt
    Matt

    Hi Matt.
    Which version of COM do you reference?
    If you reference version 15.0 in your application, I recommend that you could try this way:
    1.Delete the Excel reference (Microsoft.Office.Interop.Excel). Version 15.0.
    2.Add the Excel reference (older one. Version 14.0).
    Hope that helps.
    If your application still causes this error, please let me know.
    Thanks.
    George Hua
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

Maybe you are looking for