Change viewstack that is within a component

Hi there. I have an app with the main nav (just buttons) in
my main app file. I then have a custom component containing a
viewstack. For some reason I can not change the viewstack from the
main buttons.
main.mxml (simplified for this)
quote:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
xmlns:comp="assets.components.*"
layout="absolute"
horizontalScrollPolicy="off"
creationComplete="onInit()">
<mx:Style>
Application {
backgroundColor: #4e7ee2;
backgroundGradientColors: #4e7ee2, #3554a6;
themeColor: #3554a6;
color: #3554a6;
</mx:Style>
<mx:Script source="index.as"/>
<mx:Image
source="@Embed('assets/pix/silouetteExport.png')" id="bg"
alpha="0.30" bottom="0"/>
<comp:MyLogo id="theLogo" top="200" right="-450"
visible="false"/>
<mx:VBox id="theMenu" top="205" right="-450"
visible="false">
<mx:Spacer width="100%" height="20"/>
<mx:Button x="513" y="227" id="News" label="Latest News"
width="125" click="handleSection()"/>
<mx:Button x="513" y="257" id="Company" label="Company"
width="125" click="handleSection()"/>
<mx:Button x="513" y="287" id="Production"
label="Production" width="125"/>
<mx:Button x="513" y="317" id="Development"
label="Development" width="125"/>
<mx:Button x="513" y="347" id="Done" label="What We've
Done" width="125"/>
<mx:Button x="513" y="377" id="Services" label="Services"
width="125"/>
<mx:Button x="513" y="407" id="Contact" label="Contact"
width="125"/>
</mx:VBox>
<comp:siteView id="sections" top="50" bottom="50"/>
</mx:Application>
Then in my included main.as (there will be more code later):
quote:
// ActionScript file
import mx.effects.easing.Bounce;
import mx.managers.CursorManager;
//on creation complete function
private function onInit():void {
currentState='LogoIn';
private function handleSection():void {
currentState='SectionIn';
sections.mySections.selectedChild=LatestNews;
Then in the component it is simply:
quote:
<?xml version="1.0" encoding="utf-8"?>
<mx:Box xmlns:mx="
http://www.adobe.com/2006/mxml">
<mx:ViewStack id="mySections" width="500" height="668"
borderStyle="solid" borderThickness="20" borderColor="#ffffff"
backgroundColor="#e6e6e6">
<mx:Canvas label="LatestNews" width="100%" height="100%"
id="LatestNews">
<mx:Label text="Latest News"/>
</mx:Canvas>
<mx:Canvas label="Company" width="100%" height="100%"
id="Company">
<mx:Label text="Company"/>
</mx:Canvas>
</mx:ViewStack>
</mx:Box>
So the error I am getting is:
quote:
1120: Access of undefined property LatestNews.
I suspect it has to do with the component not being
initialized or something like that.... Any idea?

Each component declaration creates a new scope. With your
"LatestNews" component (i.e. the canvas) being declared in
siteView.mxml, your container component (mx:Application), can't see
it.
Try:
sections.mySections.selectedChild = sections.LatestNews
That seems a little convoluted to me, though... there are
better ways to do it. You could write some AS into siteView.mxml
and have a public interface. Equally you could to move the
declaration of the ViewStack components to the mx:Application
scope, or use a singleton model, or a combination of events/event
listeners etc.

Similar Messages

  • Changing states from within a component

    Let's say that I have a TileList that is rendering data in a
    VBox. Eventually the TileList fills up and starts scrolling. I want
    to change states when clicking on item in the TileList.
    I don't want to place the click-attribute in the TileList,
    because it will change states when I am scrolling the list without
    actually selecting anything.
    I want to say click="currentState='state2'" inside the VBox,
    but that does not work because state2 is at the root level, and I
    don't know how to get to the root-level (in lack of a better word)
    from withing the component.
    This is not the proper syntax, so misunderstand me the right
    way here... Is there an equivallence to
    click="currentState='_root.state2'" in mxml?
    Thanks for any suggestions or best practices. I want the easy
    way out.
    This is the general structure...
    <mx:Application>
    <mx:states>
    <mx:State id="state1"/>
    <mx:State id="state2"/>
    <mx:State id="state3"/>
    </mx:states>
    <mx:TileList dataprovider="{...}">
    <mx:itemRenderer>
    <mx:component>
    <mx:VBox id="ClickThisBoxToChangeStates">
    <mx:Image/>
    <mx:Label/>
    </mx:Vbox>
    </mx:component>
    </mx:itemRenderer>
    </mx:TileList>
    </mx:Application>

    Your assumption is right.
    It doesn't work because there is no state2-state defined
    within the mx:component.
    In the documentation about changing states it says that I can
    go from application level and change states within a component;
    like this: click="currentState='mycomponent.anotherstate'" but not
    how I can change a state at application level from within a state.
    When I try, it says (at runtime) that the state is not defined.
    So I don't know why <mx:VBox
    click="currentState='state2'"/> doesn't work.
    I apprechiate your expertese a lot.

  • Change ViewStack index from component in ViewStack

    Hello everyone.
    I got ViewStack with 3 components inside.
    How to change ViewStack active index from inside of one of
    this components ?

    Hello,
    Also, you could try using a ModelLocator like the one
    implemented in the Cairngorm framework. then you can just refrence
    your viewstack from anywhere.
    If you haven't tried an MVC system it's something worth
    looking at if your app will be of any size.
    3 solutions, all should work though if you just want
    somethign quick and dirty I'd reccommend passing the refrence as
    mentioned in the first reply
    Cheers

  • Help - How do I reference a dataprovider for a custom itemrender within a component ?

    I have a custom component that references a cutsom itemrenderer.
    In the item renderer I have
    <s:ComboBox
      id="ddl"
      itemCreationPolicy="immediate"
      includeIn="normal"
      width="100"
      open="ddl.skin['dropDown'].owner = this"
      labelField="ACCT_TYPE_R_NM"
      selectedItem="{data.ACCT_TYPE_NM}"
      dataProvider="{parentDocument.acctTypeAc}">
    But beacuse this item renderer resides within the component the reference to parentDocument is the Module that the component is in. The data however is in the component. As a result the item renderer is blank. I have tried outerDocument and that will not compile.
    Does anyone know what I should use instead of parentDocument. Moving the data to the module is not an option as the component is used within multiple modules.

    Have you been able to solve this problem?
    Thanks
    Bilal Ahmad

  • Skins that effect the host component behaviour.

    There was an interesting question that was raised in the pre-release forums about what is the appropriate way to handle animations between the skin and its host. Basically the issue was if there is an animation in the host and another in the skin what would be the best way to code it so that both animations ran in parallel, My thoughts are why not do it all in the skin. this example animates a container by resizing it and centering it in the application.
    I figured it would be an interesting topic for those that are trying adding extra component functionality into the skin.
    @PD - Maybe you could apply a little of your magic to something like this and add it your blog.
    David
    The App
    =============================================================
    <?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/halo"
      creationComplete="application1_creationCompleteHandler(event)" width="100%" height="100%">
    <s:layout>
    <s:BasicLayout/>
    </s:layout>
    <fx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    import mx.events.FlexEvent;
    protected function application1_creationCompleteHandler(event:FlexEvent):void
    menu1.verticalCenter=height/2*-1 + 35; 
    menu1.horizontalCenter=width/2*-1 + 110;
    ]]>
    </fx:Script>
    <s:SkinnableContainer id="menu1" left="10" top="10" width="200" height="50"
    skinClass="SkinnableContainerSkin2" backgroundColor="#A16969">
    </s:SkinnableContainer>
    </s:Application>
    =============================================================
    The Skin
    =============================================================
    <?xml version="1.0" encoding="utf-8"?>
    <s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:fb="http://ns.adobe.com/flashbuilder/2009" alpha.disabled="0.5" creationComplete="skin1_creationCompleteHandler(event)">
    <fx:Declarations>
    <s:Parallel id="sizer">
    <s:Animate target="{hostComponent}" duration="2000" repeatCount="1">
    <s:SimpleMotionPath id="setheight" property="height" valueTo="500"/>
    </s:Animate>
    <s:Animate target="{hostComponent}" duration="2000" repeatCount="1">
    <s:SimpleMotionPath id="setvertical" property="verticalCenter" valueTo="0"/>
    </s:Animate>
    <s:Animate target="{hostComponent}" duration="2000" repeatCount="1">
    <s:SimpleMotionPath id="sethorizontal" property="horizontalCenter" valueTo="0"/>
    </s:Animate>
    </s:Parallel>
    </fx:Declarations>
    <fx:Metadata>
        <![CDATA[
            [HostComponent("spark.components.SkinnableContainer")]
        ]]>
        </fx:Metadata>
        <fx:Script fb:purpose="styling">
            <![CDATA[       
    import mx.events.FlexEvent;
    import mx.core.FlexGlobals;
    private var Vert:int;
    private var Horz:int;
                override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number) : void
                    bgFill.color = getStyle("backgroundColor");
                    bgFill.alpha = getStyle("backgroundAlpha");
                    super.updateDisplayList(unscaledWidth, unscaledHeight);
    protected function resizeMe(e:MouseEvent): void
    Vert = int(FlexGlobals.topLevelApplication.contentGroup.height/2*-1)+35;
    Horz = int(FlexGlobals.topLevelApplication.contentGroup.width/2*-1)+110;
    if (hostComponent.height < 51)
    setheight.valueTo=500;
    setvertical.valueTo=0;
    sethorizontal.valueTo=0;
    else
    setheight.valueTo=50;
    setvertical.valueTo=Vert;
    sethorizontal.valueTo=Horz;
    sizer.play();
    protected function skin1_creationCompleteHandler(event:FlexEvent):void
    Vert = int(FlexGlobals.topLevelApplication.contentGroup.height/2*-1);
    Horz = int(FlexGlobals.topLevelApplication.contentGroup.width/2*-1);
            ]]>       
        </fx:Script>
        <s:states>
            <s:State name="normal" />
            <s:State name="disabled" />
        </s:states>
        <s:Rect left="0" right="0" top="0" bottom="0">
            <s:fill>
                <s:SolidColor id="bgFill" color="0x00DDDD"/>
            </s:fill>
        </s:Rect>
        <s:Group id="contentGroup" left="0" right="0" top="0" bottom="0" minWidth="0" minHeight="0" click="resizeMe(event)">
            <s:layout>
                <s:BasicLayout/>
            </s:layout>
        </s:Group>
    </s:Skin>

    This is a good question.
    There's no hard and fast rule to apply which says "this belongs in the skin" vs. "this belongs in the component".  Similarly, there are also no hard and fast rules around when to use a the new skinning architecture vs. just creating a custom component.  Just do whatever you feel comfortable with and makes your job easier.  At the end of the day, it's about productivity and not living up to ideals.  That said, there are probably some easier and more logical ways to do some things.
    On the skinning architecture vs. custom component debate, with a SkinnableComponent we have a clear separation of the component properties and behavior on one side and the look and feel of the component on the Skin side.  Also, there's a clear contract we use to talk back and forth to one another.  The reason for the separation between the Skin and the SkinnableComponent is so that we can have one Button SkinnableComponent and multiple Skins for that Button which all tweak the visual appearance of it.
    It doesn't make sense for every component to be skinnable.  If you know what your component is going to be and look like and don't need the extra flexibility skinning provides, then you can get rid of the extra overhead that skinning requires (like having 2 classes).  An example custom component is:
    <s:Group>
    <s:Rect>
    </s:Rect>
    <mx:Image src="..." />
    <s:Panel skinClass="myCustomSkinClass">
    </s:Panel>
    </s:Group>
    If you want more flexibility and want the ability to easily change the look and feel of the component (i.e. skin it), then you'd extend SkinnableComponent, fill out the skinning lifecycle methods, and create a default Skin for its appearance.
    Now, when you're building a SkinnableComponent, there's always a question of what to put in the component vs. what to put in the skin.  In general, we try to put the core properties and behaviors in the component and anything visual in the skin.  However, another guideline to consider is whether all skins would want this behavior.  If so, then it makes sense (and makes your life easier) to put it in the SkinnableComponent rather than the Skin.  We do this in the framework for components like VSlider, where the logic for positioning the y-axis of the thumb is in the component and not the skin, even though it's a "visual" thing.  We also have discussed how we would build up a ColorPicker component, and I think the way we would go about it is by putting a lot of the "visual" logic in the component because otherwise we'd have to duplicate it across all skins.
    Now, the other question you guys are asking here are "when do I bake effects (or any behavior) in to the component (either in the skin or in the SkinnableComponent AS class) vs. when do I declare effects alongside the component".  Again, I think the answer to that is whether you want all your components to have this behavior.  If that was the case, then I'd lose no sleep baking it in to the component.  However, if it's not the case, then I'd make the end-developer delcare it when they use your component, like:
    <s:MyCustomComponent id="myComponent" />
    <s:Resize id="resizer" widthTo="100" heightTo="50" target="{myComponent}"/>
    I would think most of the time, you probably wouldn't want to bake an effect like that in to the component, especially because it has some sizing information on it.  However, we have some effects baked in to some of the framework components, like when the thumb of a Slider moves around due to someone clicking on the track.  I think it's fine that it's baked in to the component, but I do think it should probably be stylable so that a user can customize it (that's on our list of lower-priority things to do btw).
    The framework has definitely evolved.  I think we started out with a more purist attitude and wanted a clear separation between the skin and the component.  However, as we built out components, we realized it's not always practical to do that.  Similarly, we wanted our skins to be pure MXML; however, for usability reasons, we decided that our skins should be styleable, and that requires a little bit of ActionScript code.  Border is a great example where it doesn't really follow a lot of these guidelines, but it's just a styleable component; however, this component makes other people's jobs easier.  At the end of the day, it's about productivity and usability, and hopefully the Spark architecture is a step in the right direction.
    Anyways, I hope that helps some.  These are just some guidelines.  As people play around with the architecture more, I'm sure some other people will have some good advice to share as well.
    -Ryan

  • JTabbedPane switching from within added component

    Hey guys,
    Anyone know how/if its possible to change between JTabbedPanes
    by using a button within a component added to one of the Panes?
    Class A has a JtabbedPane in it
    and Class B extends JPanel and is added to the TabbedPane
    as a Component
    Is there anyway to have a buttonclick in class b to switch to
    another tab in the parent class?

    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class AddingATab
        public static void main(String[] args)
            BasicGUI gui = new BasicGUI();
            JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(gui.getUIChanger(), "North");
            f.getContentPane().add(gui.getMainUI());
            f.setSize(400,400);
            f.setVisible(true);
    class BasicGUI
        JTabbedPane tabbedPane;
        public BasicGUI()
            tabbedPane = new JTabbedPane();
        public JTabbedPane getMainUI()
            JPanel
                redPanel = new JPanel(),
                bluePanel = new JPanel();
            redPanel.setBackground(Color.red);
            bluePanel.setBackground(Color.blue);
            tabbedPane.addTab("red", redPanel);
            tabbedPane.addTab("blue", bluePanel);
            return tabbedPane;
        public JPanel getUIChanger()
            JButton add = new JButton("add tab");
            add.addActionListener(new ActionListener()
                public void actionPerformed(ActionEvent e)
                    String nextTab = "tab " + String.valueOf(tabbedPane.getTabCount()+1);
                    tabbedPane.addTab(nextTab, new AddOnPanel(tabbedPane));
            JPanel panel = new JPanel();
            panel.add(add);
            return panel;
    class AddOnPanel extends JPanel
        JTabbedPane tabbedPane;
        public AddOnPanel(JTabbedPane tp)
            tabbedPane = tp;
            addNavButtons();
        private void addNavButtons()
            int numberTabs = tabbedPane.getTabCount();
            JButton[] buttons = new JButton[numberTabs];
            ActionListener l = new ActionListener()
                public void actionPerformed(ActionEvent e)
                    JButton button = (JButton)e.getSource();
                    int index = tabbedPane.indexOfTab(button.getActionCommand());
                    tabbedPane.setSelectedIndex(index);
            for(int i = 0; i < buttons.length; i++)
                String ac = tabbedPane.getTitleAt(i);
                buttons[i] = new JButton(ac);
                buttons.setActionCommand(ac);
    buttons[i].addActionListener(l);
    add(buttons[i]);

  • I can't call up a URL from within a component?

    Hi all. Hope you can help.
    I have a flash site that contains a component. The component
    is for a scroll bar that shows image slices of my work. The image
    slices are buttons that when clicked should call up a seperate web
    (URL) window to display the work. However when clicked the button
    doesn't work. The button im using is on (release) {getURL
    ("work.htm")} this is fom the browser/network submenu in the global
    functions menu. I think that I should be looking in the components
    menu but have no idea what function or code to use.
    Any advice would be massively helpful.
    Cheers
    Rob

    The images are added within the component as buttons. I don't
    know how to check wether the button is accessable or not? IF you
    could advise on this that would be really good. I don't think its
    tracing anything.
    Basically just want it to open a javascript URL window.
    Cheers in advance
    Rob

  • Creating form element from within a component

    Hi all,
    I am trying to create a form element within a component
    function which is then called from a .cfm page which has the cfform
    tags. I keep getting a context validation error for the form
    element tag. Here is some sample code:
    <cfcomponent name="yourComponent">
    <cffunction name="createTag" returntype="string"
    access="public">
    <cfsavecontent variable="returnContent">
    <cfselect name="thisSelect">
    <option value="0">Value 1</option>
    </cfselect>
    </cfsaveconten>
    <cfreturn returnContent>
    </cffunction>
    </cfcomponent>
    And in the .cfm page:
    <cfform>
    <cfinvoke component="yourComponent" method="createTag"
    returnVariable="returnContent"/>
    <cfoutput>#returnContent#</cfoutput>
    </cfform>
    The error occurs in the function and it says the cfselect
    must be within a cfform. I tried the function without the save
    content and just set the output="yes" but the same error occurs.
    Any help appreciated in how to get around this. Just putting
    the code in the .cfm is not an option for this.
    Any help appreciated.
    Jim

    quote:
    Originally posted by:
    jim1234
    Thanks for the reply. Yes, that works. So it looks like it
    has to do with the function call.
    After some further investigation, I found out that a regular
    <select> works, it's just the <cfselect> that does not.
    ColdFusion wants it directly within the <cfform> tag.
    Something does not make sense. If the cfsavecontent worked in
    the cfm file, there is no reason for it not to work in a cfc.
    If you want to persue this, the next troubleshooting step is
    to copy the function to your cfm file and see if it works. I
    suspect that you are trying something simple as a proof of concept.

  • How to control change request creation for particular IBase Component?

    Dear Experts,
    Can anybody suggest , how to control change request creation for particular IBase Component?
    We have implemented ChaRM which is integrated with SAP ECC & SAP BI.
    ChaRM is not integrated with SAP Solution Manager.
    End Users are creating support notifications from -Help Menu- Create Support Notification.
    The IBase Component is not editable once notification is created. This Ibase is copied to change request when the action-create change document is saved.
    Requirement is that, during creation of change document, system should check the IBase component of support notification. If the IBase is related to solution manager system, system should restirct the change request creation.
    Kindly suggest how to achieve this.
    Regards
    Vivek

    Hello Vivek,
    The way to do what you want is to create a schedule condition for action Create Change Document. The action has to be displayed only when the IBase/Component value differs from SolMan. To add the IBase/Component value to the container so that it can be evaluated during runtime, you will have to create a subtype of BUS2000116 on which condition can be buit.
    See the following posts for more information :
    Hope this helps,
    BR.
    Stéphane.

  • I have change some fields in  (Production order component )

    I have change some fields in (Production order component overview)

    Hi,
    do you want to hide or disable the fields or add new fields ??? by the way can you please let us know the transaction that you are referring to ??
    Regards,
    Santosh

  • Add change event to a custom MXML component

    I am building an MXML project in Flash Builder 4.5
    I have a custom MXML component that contains a TextInput field. I want the custom component to have a change event that triggers a function in the main application.
    I created a test project to try and solve this.  At the moment, it appears to trigger an event once and then stops.  Please take a look and let me know where I am going wrong. Many thanks.
    customComponent.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"
               width="40" height="20">
        <mx:Script>
        <![CDATA[
            [Bindable]
            public var value:Number;
            protected function inputBox_clickHandler(event:KeyboardEvent):void
                if (event.keyCode == 38 ) {
                    keyUp();
                if (event.keyCode == 40 ) {
                    keyDown();
            protected function keyUp():void
                value = value++;
                dispatchEvent(new Event('change'))
            protected function keyDown():void
                value = value--;
                dispatchEvent(new Event('change'))
        ]]>
    </mx:Script>
    <mx:Metadata>
        [Event(name="change", type="flash.events.Event")]
    </mx:Metadata>
    <mx:TextInput id="inputBox" x="0" y="0" width="40" height="20"
                  text="{value}"
                  keyDown="inputBox_clickHandler(event)"
                  change="dispatchEvent(new Event('change'))"
                  />
    </mx:Canvas>
    main.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
                xmlns:CustomComponents="CustomComponents.*"
                minWidth="955" minHeight="600" layout="absolute">
    <mx:Script>
        <![CDATA[
            private function changeTestLabel():void
                testLabel.text = String(myComponent.value);
        ]]>
    </mx:Script>
    <CustomComponents:customComponent x="180" y="183"
        id="myComponent" value="0"
        change="changeTestLabel()">
    </CustomComponents:customComponent>
    <mx:Label id="testLabel" x="165" y="206" text="Test label"/>
    </mx:Application>

    I have found the solution to this...
    The clue was that it worked the first time a change was made, changing the value to the default '0'.
    The problem was that the var value is type Number and the inputBox.text is type String.
    I therefore added the following function:
      protected function textChange():void
       value = Number(inputBox.text);
       dispatchEvent(new Event('change'))
    I also changed the  change="dispatchEvent(new Event('change'))"  property to
       valueCommit="textChange()"
    ... and that fixed it..
    Thanks to all those who took the trouble to look at this

  • Change 'drive' that itunes looks on?

    Ok here is my problem. All my music, videos, and some other things are stored on an external HDD. I don't always turn it on but when I do it comes up on my computer as drive E: I just turned my drive on and for some reason it is showing up as drive F: not E: There is nothing else attached to my computer right now, the drives go C: (internal HDD), D: (CDRW/DVD combo), and then F: it totally skips E: for some reason which I don't see why.
    I have tried to reconnect the drive and restart my computer but the drive still comes up at drive F: Is there a way to change the drive itunes will look on since all my files are on the same one. Or does anyone know a way to change the drive designation within windows? Or do I have to reload everything, I would not like to do that since I would have to redo lots of settings on tons of videos and other stuff to get them to sort properly.

    problem solved, I found how to change the drive letter manually.

  • The search service is not able to connect to the machine that hosts the administration component. Verify that the administration component 'GUID′ in search application 'Search Service Application' is in a good state and try again.

    Another post with a well-known title. Believe me, I know. Here's my setup;
    - 1 Server 2012 WFE, SharePoint Server 2013, totally up-to-date, including the september 2014 hotfix
    - 1 Server 2012 DB, SQL Server 2012
    Installed SP 2013 using PowerShell, with the AutoSPinstaller. Worked like a charm. Got everything up and running, with some tweaking here and there to customize it to fit my situation. Now, I can't get the Search Service Application to work. Must have created,
    deleted and recreated it at least 30 times. Used both PowerShell scripts, PowerShell line-by-line, Central Admin, heck, I even went so far as to use the configuration wizzard... No luck. I keep on getting the message that search cannot connect to the machine
    that hosts the 'administration component'.
    In order to avoid answers that suggest all the things I've already tried, here's a summary of the various scenarios I followed:
    Tried both a dedicated application pool as well as the SharePoint Web Services Default
    Timer job job-application-server-admin-service is running and not showing errors
    IIS 8.0 is installed, so is .NET 4.5 (not the known perp of IIS 7.5 and .NET 4.0)
    the get-SPEnterpriseSearchServiceInstance -local returns a healthy, online state
    the SPEnterpriseSearchQueryAndSiteSettingsServiceInstance is also running
    FireWall is disabled; registry has the BackConnectionHostNames modified with the necessary FQDNs
    Accounts used to install and / or run the serviceapp all have sufficient rights - tried a dedicated managed account, SP_2013_SearchSvc, the SP admin account, and even the original Farm account; all to no avail, I keep on getting the error message.
    Even tried stsadm to start the server search running - NOTHING WORKS!!!
    As you might understand, this is driving me nuts. About to miss my second deadline, and no amount of IISresetting is making this go away. Been stuck on this issue for far too long, now (my searching is measured in days and weeks instead of hours, by now).
    Whoever helps me solve this - you will have my eternal gratitude, and a nice bottle of Prosecco. Or whatever's your poison. You need to come get it, though. I´m situated in the Netherlands. Hey, you always meant to visit Amsterdam and see for yourself, right?
    Thanks, community, for coming to my rescue!

    Thanks again - Alas, I've been there. Deleted Search a dozen times, at least, and tried installing it, initially using a PowerShell script (tried several scripts actually, from full-blown total Search Applications with extensive topologies to the most basic
    of basics 'please just start without showing me errors'), PowerShell line-by-line to see where things went South, next tried installing through Central Admin (hoping that it was my own stupidity in overlooking things and hoping The System would get it right
    for me), and eventually even tried using the config wizzard as a total and utter last resort - Nothing worked.
    At first, I found out that removing a Service App needs a *little* bit more work than simply removing it through Central Admin, but by now I can truthfully state that if there's one thing I've become supergood at, it's removing Search Service Applications.Totally.
    I will check out the article, though - I realized early on in my SharePoint experience that regardless of what you think you know, there's so much more to find out. I know, that's almost philosophical. That is, my friends, indeed the point I've reached...

  • I recently got my moms friend old iphone5 that he had for like a month. Everything is fine with it but it wont let me update any of my apps because it asks for his apple ID password. Is there anything i can do to change/fix that?

    I recently got my moms friends old iphone5 that he had for like a month. Everything is fine with it but it wont let me update any of my apps because it asks for his apple ID password. Is there anything i can do to change/fix that?

    sabrinabriii wrote:
    I recently got my moms friends old iphone5 that he had for like a month. Everything is fine with it but it wont let me update any of my apps because it asks for his apple ID password. Is there anything i can do to change/fix that?
    You should remove his AppleID and restore it as new.

  • The search service is not able to connect to the machine that hosts the administration component

    Hi
    After uninstalling the binaries, and reinstalling / joining back to the farm, everything seems happy expect search.
    When we try and start the Search Service back, it takes us to the Search Application section, and shows this message;
    The search service is not able to connect to the machine that hosts the administration component
    How can I get search to work again, or get around this error?
    I am pretty inexperienced with Search

    Hi  Tibsy80,
    For your issue, it can be caused by the search admin timer job was disabled.
    Run below PS command to know the status:
    Get-SPTimerJob job-application-server-admin-service | fl
    If it returns “IsDisabled: True”, ran below PS command to enable the service:
    Enable-SPTimerJob job-application-server-admin-service
    Then run below PS command to stop and start the timer and IIS reset:
    Net Stop timer
    Net start timer
    iisreset
    Then wait 1-2 min and try browsing to the SSA again.
    Reference:
    http://neelb.wordpress.com/2012/01/19/the-search-service-is-not-able-to-connect-to-the-machine/
    Also you can refer to the blogs:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/b04498ec-78d1-4bb9-8077-0481977cef10/the-search-service-is-not-able-to-connect-to-the-machine-that-hosts-the-administration-component?forum=sharepointadminprevious
    http://davidbajak.com/blog/post/2011/09/29/Fix-SharePoint-2010-Enterprise-Search-After-Using-AutoSPInstaller-Script-Installer.aspx
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

Maybe you are looking for