Session closed due to Error: Could not Resolve hos...

Hi,
I''m trying to sort out connection issues for my auntie. She has a BT Homehub 5 with the latest firmware.
However, she is suffering from reboots and lost connections all the time. I have reviewed the log files and it is full of the following messages:
74.270000 CWMP Session closed due to error: Could not resolve host
Any ideas as i am stumped. Its a fairly recent installation ( 4 months or so) and she has only recently started to use the Wifi. It was ok when wired.
Simon

If it is DEFINITELY a wireless problem only, then download InSSider and run the program. This will tell you if you have are using a congested wifi channel.......
You can then go into the settings and after picking a less congested channel, turn off the "smart wireless" setting.....
Although the wireless problem wouldn't cause the rebooting problem......
If you found this post helpful, then please click the star on the left, after all, I'm only trying to help........

Similar Messages

  • Error: Could not resolve s:SolidColor to a component implementation

    So I have a library project and in that project I have a CustomDataGridBackgroundSkin file which is as follows:
    <?xml version="1.0" encoding="utf-8"?>
    <s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009"
                 xmlns:s="library://ns.adobe.com/flex/spark"
                 xmlns:mx="library://ns.adobe.com/flex/mx"
                 minWidth="25" minHeight="25">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <!-- layer 4: fill highlight -->
        <s:Rect left="0" right="0" top="0" height="100%" >
            <s:fill>
                <spark:SolidColor color="0x968f89" alpha="1" />
            </s:fill>
        </s:Rect>
    </s:SparkSkin>
    I am simply trying to get an ant task to compile this library to SWC, but I am getting a " Error: Could not resolve <s:SolidColor> to a component implementation" error during compile.  The only way to fix it is to add these lines of code (bold).
    <?xml version="1.0" encoding="utf-8"?>
    <s:SparkSkin 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:spark="mx.graphics.*"
                 minWidth="25" minHeight="25">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <!-- layer 4: fill highlight -->
        <s:Rect left="0" right="0" top="0" height="100%" >
            <s:fill>
                <spark:SolidColor color="0x968f89" alpha="1" />
            </s:fill>
        </s:Rect>
    </s:SparkSkin>
    I can also get this error to go away if I put this line in my build.xml file: "<include-sources dir="${src.dir}" includes="*"/>"
    But then I get this error => "[compc] Error: Unsupported file type: C:\dev_projects\features\flex4version\web\OneVoice\src\components.xml"
    components.xml is my manifest file.
    Anyone know what the issue is?  Why would I need the xmlns:spark="mx.graphics.*" namespace when I have xmlns:s="library://ns.adobe.com/flex/spark"?

    Curious. Which version of the Flex SDK are you using?
    Does this work if you try in a brand new project using Flex 4.1 or Flex Hero?
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx">
        <s:controlBarContent>
            <s:Button label="goto s1" click="currentState = 's1';" />
            <s:Button label="goto s2" click="currentState = 's2';" />
            <s:Button id="sdkVer" initialize="sdkVer.label = mx_internal::VERSION;" click="System.setClipboard(sdkVer.label);" />
        </s:controlBarContent>
        <s:states>
            <s:State name="s1" />
            <s:State name="s2" />
        </s:states>
        <s:Rect left="30" right="20" top="20" bottom="30" >
            <s:fill>
                <s:SolidColor color="0x968f89" color.s2="haloOrange" alpha="1" />
            </s:fill>
        </s:Rect>
    </s:Application>
    Peter

  • Error "Could not resolve s:ViewNavigatorApplication to a component implementation...", after overlaying with AIR SDK 13.0

    Just installed FB 4.7, overlayed with AIR SDK 13.0, started FlexMobileProject and I get this error "Could not resolve <s:ViewNavigatorApplication> to a component implementation...", which I can't get rid of. Tried 3-4 times, error stays.
    I overwrote the Flex sdk 4.6.0 with Air SDK 13.0.
    Is this a bug? Please help.

    Thanks for the reply. I tried changing to the airmobile-config.xml but then I got the same error with a different componenet.
    Error: Could not resolve <r:QContainer> to a component implementation. <r:QContainer id="d">
    Could this related to a missing SWC from my build path do you think?

  • Error: Could not resolve s:states to a component implementation.

    So I am trying to setup states on a Flex application I'm building, but it doesn't seem to want to compile. I get this error:
    $ ./build.sh
    Loading configuration file /Applications/Adobe Flash Builder 4/sdks/4.1.0/frameworks/flex-config.xml
    uploader.mxml(24): Error: Could not resolve <s:states> to a component implementation.
        <s:states>
    Here is my build command nothing special ...
    $ cat ./build.sh
    #!/bin/bash
    mxmlc -output bin/uploader.swf src/uploader.mxml
    I have a class that extends the Spark application like so ...
    package com.uploader.controllers
        import spark.components.Application;
         dynamic public class FlashUploader extends Application
    Then in my main application mxml file I use it like so ...
    <?xml version="1.0" encoding="utf-8"?>
    <c:FlashUploader 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:v="com.uploader.view"
        xmlns:c="com.uploader.controllers.*"
        minWidth="709" minHeight="400"
        skinClass="com.uploader.skins.UploaderApplicationSkin">
        <fx:Style source="styles.css" />
        <!-- states -->
        <s:states>
            <s:State name="default" />
            <s:State name="startup" />
            <s:State name="uploading" />
            <s:State name="normal" />
        </s:states>
    </c:FlashUploader>
    Now when I try to compile I get the states error. I've found several examples and even made a dummy app just using the spark application and it compiles fine. Not sure if I'm doing anything weird here but the few other flex devs I know don't seem to see anything wrong with what I'm doing that could cause this.

    When you define an object using a namespace you have to use the same namespace for its properties, so you will want to use "<c:states>" instead of "<s:states>" in this case.

  • Error: "Could not resolve [public class] to a component implementation

    Here's another clueless newbie question! :-(
    I define a public class "DynamicTextArea" at the top of the file, and get the compiler error message "Could not resolve <DynamicTextArea> to a component implementation" at the bottom of the same file.
    Clearly, I don't understand something very basic.
    (The code between the commenrted asterisks was originally in a separate package file, which I couldn't get either mxmlc or FlexBuilder to find, so rather than fight that issue now, I moved it into the same file.)
    Here's the file:
    <?xml version="1.0" encoding="utf-8" ?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    >
    <!--****************************************************************-->
        <mx:Script>
        <![CDATA[
      import flash.events.Event;
      import mx.controls.TextArea;
    public class DynamicTextArea extends TextArea{
        public function DynamicTextArea(){
          super();
          super.horizontalScrollPolicy = "off";
          super.verticalScrollPolicy = "off";
          this.addEventListener(Event.CHANGE, adjustHeightHandler);
        private function adjustHeightHandler(event:Event):void{
          trace("textField.getLineMetrics(0).height: " + textField.getLineMetrics(0).height);
          if(height <= textField.textHeight + textField.getLineMetrics(0).height){
            height = textField.textHeight;    
            validateNow();
        override public function set text(val:String):void{
          textField.text = val;
          validateNow();
          height = textField.textHeight;
          validateNow();
        override public function set htmlText(val:String):void{
          textField.htmlText = val;
          validateNow();
          height = textField.textHeight;
          validateNow();
        override public function set height(value:Number):void{
          if(textField == null){
            if(height <= value){
              super.height = value;
          }else{      
            var currentHeight:uint = textField.textHeight + textField.getLineMetrics(0).height;
            if (currentHeight<= super.maxHeight){
              if(textField.textHeight != textField.getLineMetrics(0).height){
                super.height = currentHeight;
            }else{
                super.height = super.maxHeight;        
        override public function get text():String{
            return textField.text;
        override public function get htmlText():String{
            return textField.htmlText;
        override public function set maxHeight(value:Number):void{
          super.maxHeight = value;
        ]]>
      </mx:Script>
    <!--****************************************************************-->
         <mx:Script>
        <![CDATA[
          import mx.controls.Alert;
          private var str:String = "This text will be long enough to trigger " +
            "the TextArea to increase its height.";
          private var htmlStr:String = "This <b>text</b> will be <font color='#00FF00'>long enough</font> to trigger " +
            "the TextArea to increase its height.";
          private function setLargeText():void{
            txt1.text = str;
            txt2.text = str;
            txt3.text = str;
            txt4.text = str;
            txt5.htmlText = htmlStr;
            txt6.htmlText = htmlStr;
            txt7.htmlText = htmlStr;
            txt8.htmlText = htmlStr;
        ]]>
      </mx:Script>
      <DynamicTextArea id="txt1" width="300" height="14"/>
      <DynamicTextArea id="txt2" width="300" height="20"/>
      <DynamicTextArea id="txt3" width="300" height="28"/>
      <DynamicTextArea id="txt4" width="300" height="50"/>
      <DynamicTextArea id="txt5" width="300" height="14"/>
      <DynamicTextArea id="txt6" width="300" height="20"/>
      <DynamicTextArea id="txt7" width="300" height="28"/>
      <DynamicTextArea id="txt8" width="300" height="50"/>
      <mx:Button label="Set Large Text" click="setLargeText();"/>
    </mx:Application>
         Thanks for any insight you can provide!
    Harvey

    Gordon:
        As you've noted, there were multiple  misunderstandings.
        Some are due to references in the language which are  different from uses in pre-existing languages.
        Take "name spaces". They look like URLs but they're  not. One of the first errors I made when starting Flex was to try to browse to  http://www.adobe.com/2006/mxml. I  figured that it would have some description of the language. But it didn't. In  spite of LOOKING like a URL, it doesn't point to anything; it's really just an  arbitrary magic incantation, like "Open Sesame".
        But, then when I wanted to use my OWN namespace, I  find that it's NOT arbitrary, and does have to point to something, but it's  still not a URL. The "AHA" moment was when Michael told me that "*" means "look  in this directory for a file with the name later named in an import statement,  but not named here". And if the file was in subfolder  "X" I'd have to use "X.*", while if it were a URL I'd use slash instead of  dot, but never an asterisk.
        When the language syntax is so contrary to the  expectations of people coming from a declarative language or web programming  background, I think it is important to explicitly address the differences and  disabuse them of their preconceptions. I think the same should apply to the ways  in which ActionScript differs from ECMAScript.
        Another problem adding to my confusion is the habit  of naming variables with the names of keywords but with capitalization changes.  Not only does that set readers up for subtle "gotchas", but makes it unclear  which names are truly arbitrary, and which are required by the  compiler.
    It might be a good idea to have a convention of an  identifiable format for user variables. Many authors use names like  myButton for that purpose.
        It would also be helpful if printed text could  simulate the syntax coloring of the better editors, or at least have more  in-source comments saying exactly what each line does. (Or both)
        Another aid to understanding would be to provide a  reference to the alternative (MXML or AS) way of doing anything, whenever you  demonstrate one of the ways.
        I find that the emphasis on using FlexBuilder  distracts from a sense of what is really going on behind the scenes. E,g.: If  FlexBuilder automatically sets up the folder structure, I don't learn to do it  myself. I like to work at the code level, so when something goes wrong I don't  have to worry about what level it went wrong at.
        Also, not everyone is willing to drop $600 or $250  BEFORE they've learned whether they even like Flex. Your tutorials are, by  definition, addressed to newcomers who may well not yet have committed to the  expense of FlexBuilder. So more emphasis on using mxmlc would be nice. It would  also be helpful to discuss how to use local servers, like Tomcat, during the  development stage.
        Thanks for asking my opinion. I'm afraid that my 40  years of programming experience may make it harder for me to adapt to this new  style of programming than it would be for a kid with a tabula rasa. But, it  looks like it'll be fun once I get over the hump!
    Harvey

  • Flex in a week: error Could not resolve s:Application to a component implementation

    Hi All, I've seen other posts mentioning this error but seems no fix has come up.
    Was just trying out the example project for Flex in a Week and out of the box am stuck on
    " Could not resolve <s:Application> to a component implementation "
    the namespace and all expected attributes are in the s:Application tag.
    Is there a common fix for using these samples?
    thanks everyone for your consideration.

    Thanks, I am using Flex Builder 3.

  • Error - Could not resolve s:Script to a component implementation?

    Flex Builder 4.6, 60-day trial version. New  to MXML / AS, but familiar with Java, Javascript, XML, OpenLaszlo. Ooooold, sloooow Vista box.
    I want a bare-bones proof-of-concept class extending <s:Label> with a script responding to a click. Here's what I have:
    Ptile.mxml (in package com.blackbird):
    <?xml version="1.0" encoding="utf-8"?>
    <s:Label 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:comp="com.blackbird.*"
        click="talkToMe()">   
        <s:Script>
            <![CDATA[
            private function talkToMe() : void {
                trace("I'm alive, sarge");
            ]]>   
        </s:Script>
    </s:Label>
    Calling application is :
    TileTest.mxml (also package com.blackbird):
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/mx"
        minWidth="955"     minHeight="600"
        xmlns:comp="com.blackbird.*">
        <s:BorderContainer  width="100%" height="100%">
            <comp:Ptile x="40" y="200" />
        <s:BorderContainer/>
    <s:Application>
    Ptile.mxml won't compile - Error message in the editor is "Could not resolve <s:Script> to a component implementation". I've banged and hammered this around - namespaces, typos and syntax all checked, documentation, Google. No luck. For a bet, I'd guess it's a namespace problem - I'm a little shaky on that - but I'm sugared if I can find it.
    Using the <mx:Script> or <fx:Script> tags also fails.
    I've edited the Eclipse.ini file, as detailed here : http://forums.adobe.com/thread/449232. Nothing.
    Anybody? Thanks.

    There is no s:Script, it will be fx:Script and you will need the new Spark namespaces.
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"

  • EMS error - could not resolve the name of the server

    Hi.
    Log on to Exchange 2013 server (CAS)
    Try to run EMS on this server and get this error:
    ...The WinRM client could not process the request because it could not resolve the name of the server.
    Nslookup FQDN of this exchenge server -all ok.
    What happend? Two weeks ago, all worked.
    Thanks.

    Hi,
    To narrow down the cause, I recommend the following troublwshooting:
    1. Change another admin account to try to open the EMS on CAS server.
    2. Try to empty your local DNS cache by ipconfig/flushdns
    3. Try to Disable WinHTTP proxy by running  : netsh winhttp reset proxy
    4. Refer to the following article to resolve the WinRM error:
    http://blogs.technet.com/b/exchange/archive/2010/12/07/resolving-winrm-errors-and-exchange-2010-management-tools-startup-failures.aspx
    if you have any question, please feel free to let me know.
    Thanks,
    Angela Shi
    TechNet Community Support

  • Strange Error, could not resolve, please help

    Does any body know why would one get this error
    Error: File C:\GenevaSqlj\src\com\wellmanage\csm\handler\OnlineHandler.java does not contain type OnlineHandler as expected. Please adjust the class path so that the file does not appear in the unnamed package.

    The OnlineHandler.java file should have:
    package com.wellmanage.csm.handler;
    as the first line... as it looks to be in that package.

  • Error: Could not resolve mx:AdvancedDataGrid to a component implementation.

    while try to run this code in flex3.2sdk
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
        <mx:Script>
            <![CDATA[
                import mx.collections.ArrayCollection;
                [Bindable]
                private var dpFlat:ArrayCollection = new ArrayCollection([
                  {Region:"Southwest", Territory:"Arizona",
                      Territory_Rep:"Barbara Jennings", Actual:38865, Estimate:40000},
                  {Region:"Southwest", Territory:"Arizona",
                      Territory_Rep:"Dana Binn", Actual:29885, Estimate:30000}, 
                  {Region:"Southwest", Territory:"Central California",
                      Territory_Rep:"Joe Smith", Actual:29134, Estimate:30000}, 
                  {Region:"Southwest", Territory:"Nevada",
                      Territory_Rep:"Bethany Pittman", Actual:52888, Estimate:45000}, 
                  {Region:"Southwest", Territory:"Northern California",
                      Territory_Rep:"Lauren Ipsum", Actual:38805, Estimate:40000},
                  {Region:"Southwest", Territory:"Northern California",
                      Territory_Rep:"T.R. Smith", Actual:55498, Estimate:40000}, 
                  {Region:"Southwest", Territory:"Southern California",
                      Territory_Rep:"Alice Treu", Actual:44985, Estimate:45000},
                  {Region:"Southwest", Territory:"Southern California",
                      Territory_Rep:"Jane Grove", Actual:44913, Estimate:45000}
            ]]>
        </mx:Script>
        <mx:Panel title="AdvancedDataGrid Control Example"
            height="75%" width="75%" layout="horizontal"
            paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
            <mx:AdvancedDataGrid id="myADG"
                width="100%" height="100%"
                initialize="gc.refresh();">       
                <mx:dataProvider>
                    <mx:GroupingCollection id="gc" source="{dpFlat}">
                        <mx:grouping>
                            <mx:Grouping>
                                <mx:GroupingField name="Region"/>
                                <mx:GroupingField name="Territory"/>
                            </mx:Grouping>
                        </mx:grouping>
                    </mx:GroupingCollection>
                </mx:dataProvider>       
                <mx:columns>
                    <mx:AdvancedDataGridColumn dataField="Region"/>
                    <mx:AdvancedDataGridColumn dataField="Territory"/>
                    <mx:AdvancedDataGridColumn dataField="Territory_Rep"
                        headerText="Territory Rep"/>
                    <mx:AdvancedDataGridColumn dataField="Actual"/>
                    <mx:AdvancedDataGridColumn dataField="Estimate"/>
                </mx:columns>
           </mx:AdvancedDataGrid>
        </mx:Panel>
    </mx:Application>

    3.2 is pretty old.  I'm not sure ADG shipped with the 3.2 SDK.  It might have been an add-in.
    -Alex

  • Could not resolve to a component implementation error

    I am using the SuperImage component from
    http://www.quietlyscheming.com/blog/2007/01/23/some-thoughts-on-doubt-on-flex-as-the-best- option-orhow-i-made-my-flex-images-stop-dancing/
    The problem I am having is that when I try to use this
    component in a TileList ItemRenderer, I recieve the error Could not
    resolve <qs:SuperImage> to a component implementation.
    In my Application tag, I use xmlns:qs="qs.controls.*" which
    allows me to use the SuperImage component anywhere else, but the
    error occurs when I use it in a Component.
    I have searched for an answer but could not find anything
    that worked. Can anyone help me figure out what is wrong? Below is
    the code where the error occurs.
    <mx:TileList>
    <mx:itemRenderer>
    <mx:Component>
    <mx:VBox>
    <qs:SuperImage/>
    <mx:Label/>
    </mx:VBox>
    </mx:Component>
    </mx:itemRenderer>
    </mx:TileList>
    Thank you for any help.

    Why would Component not be able to find the package, but
    everywhere else in the same file can?
    If I add <qs:SuperImage/> right before the TileList, it
    works correctly. Is there a way to specify the classpath for
    Component specifically? I wasn't able to find a way to do
    that.

  • "Could not resolve a persistence unit" error...

    Hello,
    I created a Netbeans Visual Web application. I added an Entity Class from a database table. A resource is added into Server Resources part. when I look at its properties, I see that it's JNDI name is set to "bitkiwiki" and I check the Sun Application Server's JDBC Resources and I see "bitkiwiki" in JDBC Resources.
    My controller class has a EntityManagerFactory element:
        @PersistenceUnit(unitName = "bitkiwiki")
        private EntityManagerFactory emf;When I compile the project it compiles successfully but when I deploy it, I get an error like this:
    Deploying application in domain failed; Deployment Error -- Could not resolve a persistence unit corresponding to the persistence-unit-ref-name .......
    The Persistance UnitName exists in the server resources but it still complains about it.
    What's the problem you think?
    Thanks.

    In the persistence.xml you have something like this:
    <persistence-unit name="EJBCustomerPU" transaction-type="JTA">
    <jta-data-source>cust</jta-data-source>
    <properties>
    </properties>
    </persistence-unit>
    The unitName in the annotation should equal "EJBCustomerPU". I think the "bitkiwiki" is wrong. The "cust" in the above persistence.xml should be the resource you mention in the jdbc section of the app server admin.

  • Problem with child tag - Could not resolve x to a component implementation.

    Hello.
    I am writing some chart component and got a problem setting property via child tag. Property is a custom class.
    My directory structure:
    Makefile  oxcharts  Session.vim  stats.as  stats.mxml  stats.swf
    ./oxcharts:
    ColumnChart.as MyTest.as
    stats.mxml:
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:oxcharts="oxcharts.*">
        <oxcharts:ColumnChart id="myChart" showDataTips="true" width="600" height="310">
            <oxcharts:test x="5"></oxcharts:test>
         </oxcharts:ColumnChart>
    </mx:Application>
    ColumnChart.as:
    package oxcharts {
        public class ColumnChart extends UIComponent {
            public var test:MyTest;
    MyTest.as:
    package oxcharts {
        public class MyTest {
            public var x:Number;
    I got this error:
    Error: Could not resolve <oxcharts:test> to a component implementation.
    I guess something wrong with imports. Setting Number property via child tag works just fine.

    I'm gonna give a clerear example, I hope it'll help you better understand what I mean let's say I have a custom class named Login:
    package ec
             [Bindable]
         public class Login
              public var ID:int;
              public var Role:String;         
              public function Login()
    And I need to use this class within MyAmazingCanvas, so my main app will be like this:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:oxcharts="ec.*">
         <mx:Script>
              <![CDATA[
                   import ec.Login;
                   [Bindable]
                   private var myLoginStatus:Login=new Login();
                   private function setLoginData():void{
                        myLoginStatus.ID=myID.text
                        myLoginStatus.Role=myRole.text;
              ]]>
         </mx:Script>
         <oxcharts:MyAmazingCanvas id="myCustomComp" myPublicNumber="323" LoginStatus="{myLoginStatus}" />
         <mx:TextInput id="myID" />
         <mx:TextInput id="myRole" />
         <mx:Button id="setData" label="Set Data" click="setLoginData()" />
    </mx:Application>
    When I said at the top level I meant outside the scope of any function, altough is not a requierement, you can as well set it at a function level.

  • Upgrade from Burrito to 4.5, Could not resolve MobileApplication tag?

    Hello:
    As the topic states, I just upgraded from Burrito to 4.5 today. I imported my app and I get the following error:
    Could not resolve <s:MobileApplication> to a component implementation.    ...    line 6    Flex Problem
    Did they take out MobileApplication? If so how can I support the back button on my Xoom device now?
    Paul

    MobileApplication was renamed to ViewNavigatorApplication.
    Here's an example of how you would cancel the back button in the final 4.5 release:
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
            xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView"
            backKeyPressed="view1_backKeyPressedHandler()">
        <fx:Script>
            <![CDATA[
                private function view1_backKeyPressedHandler():void {
                    event.preventDefault();
                    // do something else here 
            ]]>
        </fx:Script>
    </s:View>

  • Could not resolve mx:DataGrid to a component implementation

    I'm very new at this. Building a mobile app. Running the latest Flex/FlashBuilder (4.6). When I compile I get this error: "could not resolve <mx:DataGrid> to a component implementation". Here is my code:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- dpcontrols/DataGridPassData.mxml -->
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
                        xmlns:s="library://ns.adobe.com/flex/spark"
                        xmlns:mx="library://ns.adobe.com/flex/mx"
                        title="Jobs List">
              <fx:Script>
                        <![CDATA[
                                  import mx.collections.*;
                                  private var DGArray:Array = [
                                            {Lease:'Bagby Heirs', Well:'1', Location:'Quitman', Customer:'Fair Oil Company', ScheduleDate:'2/23/2012', ServiceDate:'5/16/2012'},
                                            {Lease:'ITU', Well:'301', Location:'Ingram Trinity', Customer:'Southwest Operating, Inc.', ScheduleDate:'3/19/2012', ServiceDate:'4/25/2012'},
                                            {Lease:'ITU', Well:'81', Location:'ITU', Customer:'Southwest Operating, Inc.', ScheduleDate:'3/19/2012', ServiceDate:'4/25/2012'},
                                            {Lease:'Tolliver A', Well:'5', Location:'Turner Town', Customer:'SEDI', ScheduleDate:'4/16/2012', ServiceDate:'5/11/2012'},
                                            {Lease:'W R Cady', Well:'1', Location:'Coffield', Customer:'Green River Resource', ScheduleDate:'5/9/2012', ServiceDate:'4/10/2012'},
                                            {Lease:'Royal National Bar', Well:'2', Location:'Coffield', Customer:'Green River Resource', ScheduleDate:'5/9/2012', ServiceDate:'4/10/2012'},
                                            {Lease:'Pan American L', Well:'1', Location:'Chandler', Customer:'East Texas Oil & Gas', ScheduleDate:'5/14/2012', ServiceDate:'6/8/2012'},
                                            {Lease:'Paluxy B Sand', Well:'5', Location:'West Tyler', Customer:'Culver & Cain', ScheduleDate:'6/1/2012', ServiceDate:'5/25/2012'},
                                            {Lease:'Wh Pittman Hei', Well:'2', Location:'Quitman', Customer:'Southwest Operating, Inc.', ScheduleDate:'7/10/2012', ServiceDate:'6/18/2012'},
                                            {Lease:'Vivian Pruitt', Well:'1', Location:'Crow - Hwy 80M', Customer:'Buffco Productions, Inc.', ScheduleDate:'8/7/2012', ServiceDate:'8/29/2012'}
                                  [Bindable]
                                  public var initDG:ArrayList;
                                  //Initialize initDG ArrayList variable from the Array.
                                  //If you use this technique to process an HTTPService,
                                  //WebService, or RemoteObject result, use an ArrayCollection
                                  //rather than an ArrayList.
                                  public function initData():void {
                                            initDG=new ArrayList(DGArray);
                        ]]>
              </fx:Script>
              <!--s:states>
              <s:State name="loginState"/>
              <s:State name="State1"/>
              </s:states-->
              <fx:Declarations>
                        <!-- Place non-visual elements (e.g., services, value objects) here -->
                          <fx:Component className="AlertMsgDay">
                                  <s:SkinnablePopUpContainer x="70" y="300">
                                            <s:TitleWindow title="Filtering" close="close()">
                                                      <s:VGroup horizontalAlign="center" paddingTop="8" paddingBottom="8" paddingLeft="8" paddingRight="8" gap="5" width="100%">
                                                                <s:Label text="This button will filter jobs to show only TODAY."/>
                                                                <s:Button label="OK" click="close()"/>
                                                      </s:VGroup>
                                            </s:TitleWindow>
                                  </s:SkinnablePopUpContainer>
                        </fx:Component>
                        <fx:Component className="AlertMsgWeek">
                                  <s:SkinnablePopUpContainer x="70" y="300">
                                            <s:TitleWindow title="Filtering" close="close()">
                                                      <s:VGroup horizontalAlign="center" paddingTop="8" paddingBottom="8" paddingLeft="8" paddingRight="8" gap="5" width="100%">
                                                                <s:Label text="This button will filter jobs to show only THIS WEEK."/>
                                                                <s:Button label="OK" click="close()"/>
                                                      </s:VGroup>
                                            </s:TitleWindow>
                                  </s:SkinnablePopUpContainer>
                        </fx:Component>
              </fx:Declarations>
              <s:BorderContainer x="10"  y="111" borderColor="#808080" cornerRadius="5" borderWeight="2" width="98%" height="369">
                        <s:Scroller width="100%" height="363" verticalScrollPolicy="on">
                                  <s:Group width="100%" height="100%">
                                            <mx:DataGrid id="myGrid" width="900" height="350" dataProvider="{initDG}" >  <<<< THE ERROR IS HERE
                                                      <mx:columns>
                                                                <mx:DataGridColumn dataField="Lease" />
                                                                <mx:DataGridColumn dataField="Well" />
                                                                <mx:DataGridColumn dataField="Location" />
                                                                <mx:DataGridColumn dataField="Customer" />
                                                                <mx:DataGridColumn dataField="ScheduleDate" headerText="Schedule Date" />
                                                                <mx:DataGridColumn dataField="ServiceDate" headerText="Service Date" />
                                                      </mx:columns>
                                            </mx:DataGrid>
                                  </s:Group>
                        </s:Scroller>
              </s:BorderContainer>
              <s:Label x="10" y="10" width="96" height="53" fontSize="24" text="Sort by:"
                                   verticalAlign="middle"/>
              <s:Button id="btn_show_today" x="104" y="11" width="105" height="53" label="Today"
                                    fontSize="13" fontWeight="bold" click="(new AlertMsgDay()).open(this, false);"/>
              <s:Button id="btn_show_week" x="216" y="11" width="105" height="53" label="Week"
                                    fontSize="13" fontWeight="bold" click="(new AlertMsgWeek()).open(this, false);"/>
              <s:Button x="348" y="10" width="184" height="53" label="Edit this Job" fontSize="18" click="navigator.pushView(views.JobFormView);"/>
    </s:View>

    I'm very new at this. Building a mobile app. Running the latest Flex/FlashBuilder (4.6). When I compile I get this error: "could not resolve <mx:DataGrid> to a component implementation". Here is my code:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- dpcontrols/DataGridPassData.mxml -->
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
                        xmlns:s="library://ns.adobe.com/flex/spark"
                        xmlns:mx="library://ns.adobe.com/flex/mx"
                        title="Jobs List">
              <fx:Script>
                        <![CDATA[
                                  import mx.collections.*;
                                  private var DGArray:Array = [
                                            {Lease:'Bagby Heirs', Well:'1', Location:'Quitman', Customer:'Fair Oil Company', ScheduleDate:'2/23/2012', ServiceDate:'5/16/2012'},
                                            {Lease:'ITU', Well:'301', Location:'Ingram Trinity', Customer:'Southwest Operating, Inc.', ScheduleDate:'3/19/2012', ServiceDate:'4/25/2012'},
                                            {Lease:'ITU', Well:'81', Location:'ITU', Customer:'Southwest Operating, Inc.', ScheduleDate:'3/19/2012', ServiceDate:'4/25/2012'},
                                            {Lease:'Tolliver A', Well:'5', Location:'Turner Town', Customer:'SEDI', ScheduleDate:'4/16/2012', ServiceDate:'5/11/2012'},
                                            {Lease:'W R Cady', Well:'1', Location:'Coffield', Customer:'Green River Resource', ScheduleDate:'5/9/2012', ServiceDate:'4/10/2012'},
                                            {Lease:'Royal National Bar', Well:'2', Location:'Coffield', Customer:'Green River Resource', ScheduleDate:'5/9/2012', ServiceDate:'4/10/2012'},
                                            {Lease:'Pan American L', Well:'1', Location:'Chandler', Customer:'East Texas Oil & Gas', ScheduleDate:'5/14/2012', ServiceDate:'6/8/2012'},
                                            {Lease:'Paluxy B Sand', Well:'5', Location:'West Tyler', Customer:'Culver & Cain', ScheduleDate:'6/1/2012', ServiceDate:'5/25/2012'},
                                            {Lease:'Wh Pittman Hei', Well:'2', Location:'Quitman', Customer:'Southwest Operating, Inc.', ScheduleDate:'7/10/2012', ServiceDate:'6/18/2012'},
                                            {Lease:'Vivian Pruitt', Well:'1', Location:'Crow - Hwy 80M', Customer:'Buffco Productions, Inc.', ScheduleDate:'8/7/2012', ServiceDate:'8/29/2012'}
                                  [Bindable]
                                  public var initDG:ArrayList;
                                  //Initialize initDG ArrayList variable from the Array.
                                  //If you use this technique to process an HTTPService,
                                  //WebService, or RemoteObject result, use an ArrayCollection
                                  //rather than an ArrayList.
                                  public function initData():void {
                                            initDG=new ArrayList(DGArray);
                        ]]>
              </fx:Script>
              <!--s:states>
              <s:State name="loginState"/>
              <s:State name="State1"/>
              </s:states-->
              <fx:Declarations>
                        <!-- Place non-visual elements (e.g., services, value objects) here -->
                          <fx:Component className="AlertMsgDay">
                                  <s:SkinnablePopUpContainer x="70" y="300">
                                            <s:TitleWindow title="Filtering" close="close()">
                                                      <s:VGroup horizontalAlign="center" paddingTop="8" paddingBottom="8" paddingLeft="8" paddingRight="8" gap="5" width="100%">
                                                                <s:Label text="This button will filter jobs to show only TODAY."/>
                                                                <s:Button label="OK" click="close()"/>
                                                      </s:VGroup>
                                            </s:TitleWindow>
                                  </s:SkinnablePopUpContainer>
                        </fx:Component>
                        <fx:Component className="AlertMsgWeek">
                                  <s:SkinnablePopUpContainer x="70" y="300">
                                            <s:TitleWindow title="Filtering" close="close()">
                                                      <s:VGroup horizontalAlign="center" paddingTop="8" paddingBottom="8" paddingLeft="8" paddingRight="8" gap="5" width="100%">
                                                                <s:Label text="This button will filter jobs to show only THIS WEEK."/>
                                                                <s:Button label="OK" click="close()"/>
                                                      </s:VGroup>
                                            </s:TitleWindow>
                                  </s:SkinnablePopUpContainer>
                        </fx:Component>
              </fx:Declarations>
              <s:BorderContainer x="10"  y="111" borderColor="#808080" cornerRadius="5" borderWeight="2" width="98%" height="369">
                        <s:Scroller width="100%" height="363" verticalScrollPolicy="on">
                                  <s:Group width="100%" height="100%">
                                            <mx:DataGrid id="myGrid" width="900" height="350" dataProvider="{initDG}" >  <<<< THE ERROR IS HERE
                                                      <mx:columns>
                                                                <mx:DataGridColumn dataField="Lease" />
                                                                <mx:DataGridColumn dataField="Well" />
                                                                <mx:DataGridColumn dataField="Location" />
                                                                <mx:DataGridColumn dataField="Customer" />
                                                                <mx:DataGridColumn dataField="ScheduleDate" headerText="Schedule Date" />
                                                                <mx:DataGridColumn dataField="ServiceDate" headerText="Service Date" />
                                                      </mx:columns>
                                            </mx:DataGrid>
                                  </s:Group>
                        </s:Scroller>
              </s:BorderContainer>
              <s:Label x="10" y="10" width="96" height="53" fontSize="24" text="Sort by:"
                                   verticalAlign="middle"/>
              <s:Button id="btn_show_today" x="104" y="11" width="105" height="53" label="Today"
                                    fontSize="13" fontWeight="bold" click="(new AlertMsgDay()).open(this, false);"/>
              <s:Button id="btn_show_week" x="216" y="11" width="105" height="53" label="Week"
                                    fontSize="13" fontWeight="bold" click="(new AlertMsgWeek()).open(this, false);"/>
              <s:Button x="348" y="10" width="184" height="53" label="Edit this Job" fontSize="18" click="navigator.pushView(views.JobFormView);"/>
    </s:View>

Maybe you are looking for

  • Can one generate a report in Word document using PL/SQL?

    We have a weekly status report application created in APEX, is there a way to generate a report in MS Word document (including formatting the doc) using PL/SQL by pulling data from Oracle database? Please shed some lights on this and any info and exp

  • Can't get vpn to work on ML Server

    I have tried everything possible and added all the ports on my firewall but I still get the message: The server is unreachable. Try reconnecting. If the problem continues, verify your settings and contact your Administrator. So I don't know what has

  • Windows crashes upon Java exit.

    Firstly, I apologise that I know very little about Java and if I've omitted any important information here I may need precise instructions on how to find it out. According to the Add/Remove Programs menu, I have 'JS2E Runtime Environment 5.0 Update 6

  • Searching for ALV grid layout variants

    How can I find weather there are any saved layout variants? I tried some functions like LVC_VARIANT_F4, but I do not need any pop-ups and so on. I need only to are there any saved variants or no. Thanks in advance Regards Peter Yordanov

  • Bridge CS3: Lost Keyword 3rd Tier Hierarchy

    Wierd stuff happening to my Suite. PS went wonky so had to reinstall. Result is wonky Bridge. Lost 3rd tier of my keyword hierarchy. Have tried replacing xml file several times and Bridge automatically changes it each time. I also lost the buttons to