MyProject tutorial error (new to FLEX)

I tryig to get Brian Szoszorek tutorial "Building your first
data management application with ColdFusion and Flex" and I can
seem to get this to work. I'm currently using the the 30 day FLEX
3.0 trial version. with CF8. I should mention that I'm totally new
to FLEX
. Here is the error that I'm getting during
initializing...
[MessagingError message='Destination 'artgallerydataservice'
either does not exist or the destination has no channels defined
(and the application does not define any default channels.)']
at
mx.messaging.config::ServerConfig$/internalGetChannelSet()[E:\dev\3.0.x\frameworks\projec ts\rpc\src\mx\messaging\config\ServerConfig.as:624]
at
mx.messaging.config::ServerConfig$/getChannelSet()[E:\dev\3.0.x\frameworks\projects\rpc\s rc\mx\messaging\config\ServerConfig.as:255]
at
mx.messaging::MessageAgent/initChannelSet()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\m essaging\MessageAgent.as:1083]
at
mx.messaging::MessageAgent/internalSend()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\mes saging\MessageAgent.as:1059]
at
mx.messaging::Producer/internalSend()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messagi ng\Producer.as:143]
at
mx.messaging::AbstractProducer/connect()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\mess aging\AbstractProducer.as:408]
at mx.data::DataStore/
http://www.adobe.com/2006/flex/mx/internal::initialize()[C:\depot\flex\branches\enterprise _bridgeman_final_hotfixes\frameworks\mx\data\DataStore.as:2196
at
mx.data::ConcreteDataService/fill()[C:\depot\flex\branches\enterprise_bridgeman_final_hot fixes\frameworks\mx\data\ConcreteDataService.as:895]
at
mx.data.mxml::DataService/fill()[C:\depot\flex\branches\enterprise_bridgeman_final_hotfix es\frameworks\mx\data\mxml\DataService.as:526]
at myProject/fillArtistDP()[C:\Documents and
Settings\bp9238\My Documents\Flex Builder
3\myProject\src\myProject.mxml:18]
at
myProject/___myProject_Application1_creationComplete()[C:\Documents
and Settings\bp9238\My Documents\Flex Builder
3\myProject\src\myProject.mxml:2]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.core::UIComponent/dispatchEvent()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\co re\UIComponent.as:9051]
at mx.core::UIComponent/set
initialized()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:1167]
at
mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\3.0.x\frameworks\projects\frame work\src\mx\managers\LayoutManager.as:698]
at Function/
http://adobe.com/AS3/2006/builtin::apply()
at
mx.core::UIComponent/callLaterDispatcher2()[E:\dev\3.0.x\frameworks\projects\framework\sr c\mx\core\UIComponent.as:8460]
at
mx.core::UIComponent/callLaterDispatcher()[E:\dev\3.0.x\frameworks\projects\framework\src \mx\core\UIComponent.as:8403]
Any suggestion is GREATLY APPRECIATED!

The HTML page to display the Flash Player needs
<object> and <embed> tags. See the recent Forum
question, "Problems with Flex 2 application align" for an example
of such a wrapper.

Similar Messages

  • Help a noob with a parse error. Completely new to Flex, doesn't know anything.

    Hi. I am completely new to Flex (and mxml and ActionScript) and have a silly little error right off the bat. I haven't written a line of code yet, and got the source files from a collegue (who is currently unavailable to help me out here) that obviously had this working before he gave it to me.
    I am getting a parse error with the following lines. From my experience with PHP, I have a general idea that a parse error is usually a syntax thing, like a missing semicolon or something along that line. I've already tried semicolons in a bunch of places, but nothing seems to work. Any help would be appreciated. The X is where the program highlights the error.
    <?xml version="1.0" encoding="utf-8"?>
    <!-- Build with 3.1 -->
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"  layout="absolute"  xmlns:tg = "EditableTextGrid.*" xmlns:ns1="com.testURL.commonClasses.grid.*" viewSourceURL="srcview/index.html"
    X verticalAlign="middle" implements="EditableTextGrid.ETGParent" >
    initialize= "setLogin('testUser'); loadMatrix('module=portal&amp;mode=i&amp;searchString=1111')"
    <!--initialize="setLogin('testUser'); loadMatrix('module=serviceview&amp;mode=i&amp;colName=SID&amp;searchString=290')"-->
        <mx:Style source="styles/AcctRequest.css"/>
    Severity and Description
    Path
    Resource
    Location
    Creation Time
    Id
    Parse error at '\n initialize= \"setLogin(\'ngorelik\'); loadMatrix(\'module=portal&mode=i&searchString=1111\')\"\n\n\t'.
    CV/src
    contactsSWF.mxml
    line 4
    1319810874686
    130
    Other info: it was actually written with Flex 3.2 SDK

    You are missing a quote at the end of your "setLogin(testUser)" function and you don't have that inside a tag (it's outside the greater than sign...
    You have:
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"  layout="absolute"  xmlns:tg = "EditableTextGrid.*" xmlns:ns1="com.testURL.commonClasses.grid.*" viewSourceURL="srcview/index.html"
    X verticalAlign="middle" implements="EditableTextGrid.ETGParent" >
    initialize= "setLogin('testUser'); loadMatrix('module=portal&amp;mode=i&amp;searchString=1111')"
    It should be:
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"  layout="absolute"  xmlns:tg = "EditableTextGrid.*" xmlns:ns1="com.testURL.commonClasses.grid.*" viewSourceURL="srcview/index.html"
    X verticalAlign="middle" implements="EditableTextGrid.ETGParent"  initialize= "{setLogin(testUser)}"...>

  • Error in compiling flex - 64K limit

    Hi folks,
    I entered a new dimension in the flex compiling error dimension (see error-message below). Can anybody help me? I'm familiar with the 32K-problem ( and do have functional workarounds for that) but this one is a new one for me.
    regards,
    Martin
    Error in compiling Flex application: Error: A function in the code exceeds the 64K byte limit (actual size = '66289'). Since the problem occurs in the compiler-generated deferred instantiation code, please refactor/componentize portions of this document.

    Hi Marcel,
    infortunately I'm not allowed atm to make the model public.
    however, I circeled the problem and found a workaround. It has nothing to do with our "old pal 32K", this time it simply was a (sub-)model too large to get deployed (problem with the to-build XML-pakages.)
    Background on this: It's a nested iview collecting a lot of data from different parts of a highliy complex model to process an RFC. For monitoring reasons I've switched some of the tables to visible and that acutally caused the error. After hiding the colums the error vanished. (actually was replaced by the 32K error. But that's like meeting an old friend, no problem any more....)
    I'm looking forward to sharing the model some time. Would be interesting to get some feedback from the comunity..
    regards,
    Martin
    Message was edited by:
            Martin Wolpers

  • Error when launching Flex Builder 3

    Hello,
    I'm new to flex and just downloaded the trial version of Flex
    Builder 3. When launching the builder, I get the following error in
    the log. What am I missing?
    !SESSION 2008-12-07 21:08:26.880
    eclipse.buildId=unknown
    java.version=1.5.0_11
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments: -os win32 -ws win32 -arch x86
    !ENTRY org.eclipse.equinox.app 2008-12-07 21:08:35.292
    !MESSAGE Product com.adobe.flexbuilder.standalone.product
    could not be found.
    !ENTRY org.eclipse.osgi 4 0 2008-12-07 21:08:35.472
    !MESSAGE Application error
    !STACK 1
    java.lang.RuntimeException: No application id has been found.
    at
    org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer. java:236)
    at
    org.eclipse.equinox.internal.app.EclipseAppContainer.start(EclipseAppContainer.java:98)
    at
    org.eclipse.equinox.internal.app.Activator.addingService(Activator.java:112)
    at
    org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(ServiceTracker.java:1064)
    at
    org.osgi.util.tracker.ServiceTracker$Tracked.trackInitialServices(ServiceTracker.java:926 )
    at
    org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:330)
    Any help is appreciated.
    Thanks

    no line, it just gives me that error every once in a while
    when the application is originally launched, but not every
    time.

  • [svn:bz-trunk] 21394: bug fix for watson 2887837 Not getting duplicate session detected error when same flex client id is used from two different HTTP sessions in CRX .

    Revision: 21394
    Revision: 21394
    Author:   [email protected]
    Date:     2011-06-16 12:34:13 -0700 (Thu, 16 Jun 2011)
    Log Message:
    bug fix for watson 2887837 Not getting duplicate session detected error when same flex client id is used from two different HTTP sessions in CRX.
    get the sessions id before we invalidate the duplicate session.
    Checkintests pass
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/endpoints/BaseHTTPEndpoint.java

    For our profect I think this issue was caused as follows:
    Believing that remoting was full asynchronous we fired a 2 or 3 remote calls to the server at the same time ( within the same function ) - usually when the users goes to a new section of the app.
    This seemed to trigger the duplicate http session error since according to http://blogs.adobe.com/lin/2011/05/duplication-session-error.html  two remote calls arriving before a session is created will cause 2 sessions to be created.
    Our current solution ( too early to say it works ) is to daisy chain the multiple calls together .
    Also there seemed to be an issue where mobile apps that never quit ( thanks Apple! )  caused the error when activated after a few hours.
    I guess the session expires on the server and the error above occurs on activation.
    So the mobile apps now ping the server with a remote call when activated after sleeping for more than one hour.
    All duplicate http errors are silently caught and reported.
    Fingers crossed we won't get any more!

  • Getting error  ORA-20001: FLEX-ID DOES NOT EXIST

    I am trying to load new jobs.. I have run the fnd_flex_val_api.create_independent_vset_value to load the values into the segments needed.. NREL HR Job Title and NREL HR Job Descriptor and the values are in there.
    I'm getting this in the hr_job_api.create_job api. thanks, Scott
    Edited by: user12036380 on Aug 26, 2010 3:18 PM

    Hi,
    What is the application release?
    Please see if these docs help.
    Error 'ORA-20001: FLEX-ID Does Not Exist' In HR_POSITIONS_API While Loading Positions [ID 790124.1]
    HR_ASSIGNMENT_EXTRA_INFO_API.UPDATE_ASSIGNMENT_EXTRA_INFO Errors with 'ORA-20001: FLEX-ID DOES NOT EXIST' [ID 1163457.1]
    HR_IN_PERSONAL_PAY_METHOD_API Error Ora-20001 Flex-Id Does Not Exist [ID 834844.1]
    Cannot Create Employee Via API - FLEX-ID DOES NOT EXIST Error Occurs [ID 554850.1]
    Thanks,
    Hussein

  • Error in compiling Flex application  - After changing my query in BW

    Hi All!!
    I'm facing the following problem:
    I have created a VC model based on a BW Query View... I have changed the query in BW (added a new key figure) and then I've refreshed the Query View in my VC model...
    After the refresh, I get the error "Error in compiling Flex application (1). Consult log file for details" everytime I try to deploy...
    Have you faced a similar problem? Does this mean that I can no longer change any query or view used in VC models???
    Thanks in Advance!
    Cris

    Hi Prachi,
    I've tried all the options you listed and it still doesn't work... I even tried to create a new query as a copy of the first one... and the error persists...
    Any other good idea (the model I´m talking about is really huge.. creating it again from zero would be a nightmare!!!)?
    Thanks in advance,
    Cris

  • Itunes won't open 'error: new itunes library'

    My itunes was playing up.
    Not recognising my iphone 4s.
    It then told me I had to install the new itunes to make m iphone compatible with the computer.
    I did so and now the itunes will not open saying "Error: New Itunes Library' WHY?!? This is really frustrating me!!
    Thanks.

    georgiamomma -
    There are a few things you could try,but what worked for me was to download a fresh installation file from apple.
    Your update got corrupted somehow. Doing the usual of going to control panel, clicking on Programs and Features, clicking on iTunes in the list and selecting REPAIR probably won't fix this issue, as sometimes repair reverts the installation to its previous version and then your iTunes Library.itl file can't open because it's from a newer version than the one REPAIR reinstalled. You can try that process, but I doubt it will work.
    Do not change any files and/or their existing locations. Also, do not uninstall iTunes from your machine. Simply go to Apple's web site and download their latest version suitable for your particular computer. Once downloaded, double click the installer and follow the prompts. You should be able to launch itunes afterward, and your library will magically re-appear.
    Again, DO NOT uninstall the old version, and do not rename, remove and/or replace any of the original files prior to installing the latest version over what's already on your machine. Good luck!

  • Error in compiling Flex application: 64K byte limit

    Hi experts ,
    While deploying the VC model , i m getting this error :
    Error in compiling Flex application: Error: A function in the code exceeds the 64K byte limit (actual size = '65557'). Since the problem occurs in the compiler-generated deferred instantiation code, please refactor/componentize portions of this document.
          (/usr/sap/NW2/JC00/j2ee/cluster/server0/GUIMachine_Business_Packages/Contribution_Margin_36461/FLEX_COMPILATION_FOLEDR/AAD15VY.mxml:19)
    Failed to compile AAD15VY.mxml
    Could any one help me out in solving this issue ..its urgent ...
    Your suggestions will be rewarded.
    Thanks,
    Pratima

    You have to remove few components from your model to decrease the compiler generated LOC.
    Check the following link for detailed solution:
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=936390
    Taken from SAP Notes:
    <i>Solution
    Doing the following may help:
    1.Divide problematic iViews into a number of nested iViews.
    2.Optimize each model to reduce the number of elements that it
      contains:
      a.Reduce the number of signals by merging signals of the same name.
      b.When your application updates forms with read-only fields, use
        expression boxes and a data store instead of signals.
      c.Minimize the use of animations in your models, including form
        sliding and chart animation effects
      d.Use a data store to store variables, instead of invisible forms.
        To display messages, use a simple text rather than a static dynamic
        expression.
    3.For on-the-spot, temporary workarounds, you can try dragging an empty
      layer onto the Design board. This sometimes solves the problem ad
      hoc, but is not recommended as a best practice.
    </i>

  • Error in compiling flex compilation

    Hi,
    I recieve following log message after deploying my application:
    Error in compiling Flex application:
    Error: Branch between 8479 and 41869 around line 0 exceeds 32K span.
    If possible, please refactor this component.
    Failed to compile AAD8T3.mxml
    The only thing I know is the iView that has code AAD8T3, so I suppose the error is in it.
    But what is the error and what are the objects it relates to?
    Thanks,
    Yulia

    Hi
    This is solved for Flex2, the up comming version of VC does not have this problem, but release dates for it are not set.
    Jarrod Williams

  • Error while Building Flex

    hi ,
    I m getting an error while building flex application
    Error Description
    "An internal Build Error has occured" Right click for more
    information"
    In my flex application there are around 5000 line of code .
    i am binding 2000 Xml to the application
    this much line of code causing a error
    Please Help Me out
    ThanX

    Code Snippet could be useful here in us understanding the issue.

  • When i try to open itunes it says 'Error - New iTunes Library"

    when i try to open itunes it says 'Error - New iTunes Library" and iTunes doesn't open. I need iTunes to work why is it not working??

    Try this article.

  • Unable to open my iTunes, getting an error "New iTunes Library"

    Hi,
    I was trying to update my itunes to 11 and after installing i m unable to open my itunes,its giving me an error "New iTunes Library" with just an "OK" option. PLease helpme to get this fix.

    When you reinstalled, did you first uninstall, and remove all 5 iTunes related components and any remnant files in either Program Files directory?
    Certainly hope this assists you:
    ≈≈≈≈≈≈≈≈
    https://discussions.apple.com/docs/DOC-6562
    ≈≈≈≈≈≈≈≈
    Please do respond with results/questions.

  • Error handling message: flex.messaging.MessageException: No destination with id '' is registered with any service

    Hi,
    We are using both Remoting and HttpService calls for our business application.
    We were able to communicate with the LCDS server till this point with whatever default settings provided for AMFChannel configuration in services-config.xml through a flex client. Also we have a clustered environment for this servers which works out fine till now.
    Now for performance enhancement improvements, we started using Caching Mechanism for our HttpService urls (through some third party service), which will now be cached on the network instead of accessing every time from our clustered servers. But all our AMF calls through Remoting services are still the same.
    So after migrating to this Caching environment, we started encountering intermittent issues where some of our AMF calls were failing with falling exception trace :
    16:03:40,576 INFO [STDOUT] [Flex] [ERROR] Error handling message: flex.messaging.MessageException: No destination with id '' is registered with any service.
    incomingMessage: Flex Message (flex.messaging.messages.CommandMessage)
    operation = invalid.12
    clientId = D7855C44-810B-64AB-C176-7C38F83DEB2C
    correlationId =
    destination =
    messageId = 2DA6BDB8-859E-8AE1-03A4-57743DE03188
    timestamp = 1247007820561
    timeToLive = 0
    body = {}
    hdr(DSId) = D77C6BD2-3808-1512-3984-CCF397428E35
    hdr(DSEndpoint) = my-amf
    errorReply: Flex Message (flex.messaging.messages.ErrorMessage)
    clientId = D7855C44-810B-64AB-C176-7C38F83DEB2C
    correlationId = 2DA6BDB8-859E-8AE1-03A4-57743DE03188
    destination =
    messageId = D7855C64-3E08-466B-96F8-5BAE7D385129
    timestamp = 1247007820574
    timeToLive = 0
    body = null
    code = Server.Processing
    message = No destination with id '' is registered with any service.
    details = null
    rootCause = null
    body = null
    extendedData = null
    So i do not understand, most of the times the AMF calls works correctly and some times it fails with above fail trace.
    Any suggestions would be appreciated.
    Thanks,
    FlexPirate

    It might be a bit late but replying for anyone who lands on this page facing this same problem.
    The solution for "No destination with id '<my dest id>' is registered with any service" problem is that you have to make sure your destination definition is added in your:
    C:\ColdFusion9\wwwroot\WEB-INF\flex\messaging-config.xml
    Secondly, If you are deploying it on a ColdFusion Server, then you have to make sure exact same definition is added in Server messaging-config.xml file as well.
    This should solve this problem.
    While we are at it, wanted to point another possible gotcha.
    if your Server is using SSL protocol i.e. it has https:// rather than http://, Then within your <destination> definition block in messaging-config.xml, you have to add appropriate secure channels in <channels> section. You can find all available channel definitions in
    C:\ColdFusion9\wwwroot\WEB-INF\flex\services-config.xml

  • Global Error Handling in Flex

    Hello All,
    I want to know if there is away to do Global Error Handling in Flex so that in case of any error, the pop-up (showing the exception stack trace) on the client machine should not come, instead I would be able to handle the exception in a more subtle manner.
    Can I do something at the application level to prevent this ??  or should it be handled in each Flex method individually, code enclosed between try-catch blocks ?
    Thanks & Regards,
    Agraj

    Hi,
    Try referring the below links...
    http://www.summa-tech.com/blog/2010/01/04/global-error-handling-in-flex/
    http://livedocs.adobe.com/flex/3/html/help.html?content=11_Handling_errors_06.html
    You have one sample demo with source in first link.
    Hope this will be helpful.
    If this post answers your question or helps, please kindly mark it as such.
    Thanks,
    Bhasker Chari

Maybe you are looking for

  • Valuated stock problem in inventory.

    Hi all BI gurus ,   Iam working on Inventory module , I have loaded the data for it .       1. For 2lis_03_bx i.e initial stock we have data from 1999 to 2006 on R/3 side .       2. And we are loading the data from 2005 to 2006 for BW .   But  The va

  • Anyone with tech smarts? Help me with my USB needs!

    Hello. I'm a full-time student with an old PC that requires the installation of a USB port so I can use my new iPod shuffle. I've done research & discovered that I'll need to do technical stuff like check to see if my motherboard is compatible & buy

  • How to schedule one report for multiple company code?

    How you can schedule reports in BW 3.5? Suppose I need to schedule one report for multiple company code, how can you do that and notify the users? I do not want to send multiple emails to the same user if the report runs for 20 times (for 20 differen

  • HT201317 My photos aren't streaming

    My photos aren't streaming and I think everything is set up correctly. I recently restored my phone and now the photos from my iPad aren't streaming.

  • How do I clear out "Other"

    My Ipod Nano 2nd Gen 624.8 mb in "other". How do I get rid of it?