Issue when switching rooms in spark but does not exist in mx namespace?

I have a Flex SDK 4.0 application that I have declared with <s:Application.  In this application I have 2 rooms, that have two different ConnectSession components associated with each as well as seperate Pod's with seperate shareID's for each. (nothing in the two rooms overlap).  I also have 2 buttons that switch between room1 and room2 when either button is clicked.
my issue is that using the <s:Application declaration for my app..then transitioning from room2 BACK to room1 (transitioning from room1 to room2 works fine), gives me this error:
TypeError: Error #1034: Type Coercion failed: cannot convert studygroups2@343f0a1 to mx.core.Application.
at com.adobe.rtc.collaboration::SharedCursorPane/removeMyEventListeners()[C:\work\branches\c onnect\1004\cocomoPlayer10\src\com\adobe\rtc\collaboration\SharedCursorPane.as:477]
at com.adobe.rtc.collaboration::SharedCursorPane/onSynchronizationChange()[C:\work\branches\ connect\1004\cocomoPlayer10\src\com\adobe\rtc\collaboration\SharedCursorPane.as:538]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.adobe.rtc.sharedModel::CollectionNode/http://www.adobe.com/2006/connect/cocomo/messaging/internal::setIsSynchronized()[C:\work\b ranches\connect\1004\cocomoPlayer10\src\com\adobe\rtc\sharedModel\CollectionNode.as:683]
at com.adobe.rtc.messaging.manager::MessageManager/onDisconnect()[C:\work\branches\connect\1 004\cocomoPlayer10\src\com\adobe\rtc\messaging\manager\MessageManager.as:813]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.adobe.rtc.session.managers::SessionManagerBase/http://www.adobe.com/2006/connect/cocomo/session/internal::disconnect()[C:\work\branches\c onnect\1004\cocomoPlayer10\src\com\adobe\rtc\session\managers\SessionManagerBase.as:112]
at com.adobe.rtc.session.managers::SessionManagerFMS/onFmsConnectorDisconnect()[C:\work\bran ches\connect\1004\cocomoPlayer10\src\com\adobe\rtc\session\managers\SessionManagerFMS.as:2 50]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.adobe.rtc.session.sessionClasses::FMSConnector/disconnect()[C:\work\branches\connect\ 1004\cocomoPlayer10\src\com\adobe\rtc\session\sessionClasses\FMSConnector.as:393]
at com.adobe.rtc.session.managers::SessionManagerFMS/http://www.adobe.com/2006/connect/cocomo/session/internal::logout()[C:\work\branches\conne ct\1004\cocomoPlayer10\src\com\adobe\rtc\session\managers\SessionManagerFMS.as:314]
at com.adobe.rtc.session.managers::SessionManagerAdobeHostedServices/http://www.adobe.com/2006/connect/cocomo/session/internal::logout()[C:\work\branches\conne ct\1004\cocomoPlayer10\src\com\adobe\rtc\session\managers\SessionManagerAdobeHostedService s.as:139]
at com.adobe.rtc.session::ConnectSession/logout()[C:\work\branches\connect\1004\cocomoPlayer 10\src\com\adobe\rtc\session\ConnectSession.as:442]
at com.adobe.rtc.session::ConnectSessionContainer/logout()[C:\work\branches\connect\1004\coc omoPlayer10\src\com\adobe\rtc\session\ConnectSessionContainer.as:267]
at XXXXX/goGlobal()[C:\Users\Rees\Adobe Flash Builder 4\XXXXX\src\XXXXX.mxml:50]
at XXXXX/___XXXXX_Button2_click()[C:\Users\XXXXX\Adobe Flash Builder 4\XXXXX\src\XXXXX.mxml:105]
However, when I change the application to <mx:Application, and then attempted the transition again... BACK to room1 from room2.. everything works FINE!  This may be a simple issue so please bare with =).  Can anyone tell me why I'm getting this issue with spark and how to fix it so that I CAN use spark as my application namespace?  Thanks in advance!

Wow, that's an interesting one - seems as though the sharedCursorPane has
some hard requirement that the base App be mx (this isn't terribly
surprising, considering it was built with the mx components, but it's still
a bug). Can you link against the source code (provided for player 10 now!),
and change that line in sharedCursorPane :
From :
Application(mx.core.Application.application).stage.removeEventListener(Mouse
Event.MOUSE_MOVE, onMouseMove);
To :
stage.removeEventListener(MouseEvent.MOUSE_MOVE, onMouseMove);
and see if that works for you? I can't honestly tell why we're using the
line that was there... It's possible this was a workaround for another
issue. Anyhow, if you wouldn't mind being the guinea pig for this one, we
can get to the bottom of it.
  thanks!
   nigel

Similar Messages

  • Before removing iPhoto (latest update crashed the app), I accidently removed it from my purchased Apps from the App Store. I accept iPhoto when I search for it, but does not put it back in my list. How do I get this back so that I can reinstall iPhoto?

    Before removing iPhoto (latest update crashed the app), I accidently removed it from my purchased Apps from the App Store. I accept iPhoto when I search for it, but does not put it back in my list. How do I get this back so that I can reinstall iPhoto?
    Thank you.

    I found the answer just after posted this.  Thanks to a user named CloudWalker.  Solution is to go in AppStore, View Account under "Store" Menu and unhide any purchases.

  • Apple iPAD 2.  Needs password to unlock iPAD; however there is a permanent keyboard displayed on the screen that does not respond to touch. iPAD switches on with button but does not turn off using it at moment.  Can you help please?

    Apple iPAD 2.  Needs password to unlock iPAD; however there is a permanent keyboard displayed on the screen that does not respond to touch. iPAD switches on with button but does not turn off using it at moment.  Can you help please?

    Try a reboot by holding both the power and home buttons until the apple logo appears, ignore the red slider if that appears.  See if that clears the glitch.

  • Field ZZBUDAT is delta-relevant, but does not exist in the field list

    Hi All,
    I have created a Generic DataSource on a View.Now there is a situation ,i need to add a Date field form some other table.
    So i have enhanced the datasource now that date is coming in my datasource.
    But when i tried to make delta on that date field its showing error-
    Field ZZBUDAT is delta-relevant, but does not exist in the field list
    Message no. R8279
    Diagnosis
    The DataSource uses field ZZBUDAT for specifying the delta. In the DataSource field list, however, the field does not occur
    Now how i can make this field dalta relevant?
    Thanks,
    Piyush

    Piyush,
    I think the message in SAP is quite clear....
    If the field ZZBUDAT does not exist in the view ... how do you expect the datasource to know which records have changed...?
    The delta relevant field SHOULD be in the view - else there is no way the extractor can identify the changed records ...
    Please remember that the Generic extractor is a simple select statement with a where clause on the delta relevant field and nothing else ... if you want the changed on field to come from another table - then you need to write a function module extractor to do this...
    The order of processing is that - the view fields are processed first - then the enhanced fields are processed followed by the user exits...

  • Variable  is used in description text Task description, but does not exist

    Hi,
    I am getting following error in the standard task 207914 ERMS_DECSN.
    Workflow Error
    Variable &REQREQ.REQUISITIONERUSER.ITSDESTINATIONSY& exists in description text Task description, but not in the container
    Message no. 5W146
    Diagnosis
    Variable  is used in description text Task description, but does not exist in the container.
    System Response
    The task could cause workflow errors.
    Procedure
    Correct description text Task description or add the variable to the container.
    Can anybody please guide step by step process to correct this error.
    Regards,
    Deepak

    Hi Deepak,
    I face a similar issue,Task description contains an element which is available in container, but during Check, it throws below error.
    Variable &ZINFO.REASON& exists in description text Task description, but not in the container
    but variable "&ZINFO.REASON&" is not accessed in Task description.
    suggest any ways to check the binding or adjust binding between workflow/task.
    Please provide a solution to fix this error or advice if this error can be ignored?

  • The name "Pi" does not exist in the namespace "clr-namespace:PressureVessels".

    Pi is the name of a class. 
    I made some major modification to the program in VS 2013, then after transferring the program to another PC with VS 2012 running, I am getting many errors that says:
    The name "ClassName" does not exist in the namespace "clr-namespace:PressureVessels". 

    Cleaning removes all the stuff out your bin.
    If all this stuff is in the one solution then that's equivalent to manually deleting it.
    If your app is composed from separate dll then I maybe some versioning issue.
    If not and you can't reproduce the issue on your dev machine...
    Tricky.
    You would have mentioned it if you were putting stuff in the GAC.
    Could be a sln or csproj issue.
    They occasionally corrupt.
    What else.
    How did you get your code onto the other pc?
    Is it contained within one folder with no external references beyond .net framework ones?
    If you did something a bit dodgy with your references a dll might be coming from somewhere which is on your pc and not on this other one.
    The only other advice I can think of is to step away for a bit and do something else.
    It's all too easy to get into a flat spin when something drastic happens and one has no idea wtf is going on.
    I used to be a points hound.
    But I'm alright nooooooooooooooooooooooooooooOOOOOWWWW !

  • The type or namespace name 'VisualStudio' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)

    we are using VS 2013. i have created new build definition and run that created build its getting failed and showing error message as "The type or namespace name 'VisualStudio' does not exist in the namespace 'Microsoft' (are you missing an assembly
    reference?)" and "The type or namespace name 'WinComboBox, UITestControl, WinTitleBar.....etc' could not be found (are you missing a using directive or an assembly reference?)". in the error log is showing the error number are "error CS0234
    & error CS0246". 
    Actually i have created build for automation execution from MTM lab environment. i have to assign the build to the test plan. once the build is passed , i will assign to the test plan and run with automation options. 
    if i build the solution its getting successfully build. but when i run the created build definition it show the error message's.  
    Could you guide me how to resolve the above error's ? 
    Thanks in Advance...

    Hello Divakar Ponnada,
    I have checked the error CS0234 from here:
    http://msdn.microsoft.com/en-us/library/0e92xd7b.aspx
    It means your project cannot find the proper reference to your type "Visual Studio" from the namespace Microsoft.
    May I ask this question, does your build definition means something like the following blog described?
    http://www.asp.net/web-forms/overview/deployment/configuring-team-foundation-server-for-web-deployment/creating-a-build-definition-that-supports-deployment
    "A build definition is the mechanism that controls how and when builds occur for team projects in TFS. "
    If that is the problem, may I ask whether your build agent is in the same machine where you build your application?
    The build agent will first search for the reference from its local GAC and if it cannot find it, the error like you said will reports. Please manually build your project from your build agent machine to see the result, or install Visual Studio to your build
    agent machine. In that way I think your problem may fixed.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • The type or namespace name 'Optimization' does not exist in the namespace 'System.Web'

    App_Start\BundleConfig.cs (1): The type or namespace name 'Optimization' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
     Global.asax.cs (4): The type or namespace name 'Optimization' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
     App_Start\BundleConfig.cs (8): The type or namespace name 'BundleCollection' could not be found (are you missing a using directive or an assembly reference?)
    I'm getting the above errors when attempting to create a remote build.
    I've tried the solution found here (http://blog.davidebbo.com/2014/01/the-right-way-to-restore-nuget-packages.html) but no luck.

    Hi,
    I have an asp.net mvc project in Visual Studio 2013. I'm hosting it on Visual Studio Online. 
    The project builds fine on my local machine/Visual Studio 2013. When i try to do a build on Visual Studio Online (i created a build definition there), i get similar errors. 
     App_Start\BundleConfig.cs (2): The type or namespace name 'Optimization' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
     App_Start\FilterConfig.cs (2): The type or namespace name 'Mvc' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
     App_Start\RouteConfig.cs (5): The type or namespace name 'Mvc' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
     Controllers\HomeController.cs (5): The type or namespace name 'Mvc' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
     Controllers\HomeController.cs (9): The type or namespace name 'Controller' could not be found (are you missing a using directive or an assembly reference?)
     Global.asax.cs (5): The type or namespace name 'Mvc' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
     Global.asax.cs (6): The type or namespace name 'Optimization' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
     App_Start\BundleConfig.cs (9): The type or namespace name 'BundleCollection' could not be found (are you missing a using directive or an assembly reference?)
     App_Start\FilterConfig.cs (8): The type or namespace name 'GlobalFilterCollection' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\HomeController.cs (11): The type or namespace name 'ActionResult' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\HomeController.cs (16): The type or namespace name 'ActionResult' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\HomeController.cs (23): The type or namespace name 'ActionResult' could not be found (are you missing a using directive or an assembly reference?)
     C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (1697): Could not resolve this reference. Could not locate the assembly "System.Web.Helpers, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35,
    processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
     C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (1697): Could not resolve this reference. Could not locate the assembly "System.Web.Optimization". Check to make sure the assembly exists on disk. If this
    reference is required by your code, you may get compilation errors.
     C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (1697): Could not resolve this reference. Could not locate the assembly "System.Web.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL".
    Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
     C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (1697): Could not resolve this reference. Could not locate the assembly "System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35,
    processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
     C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (1697): Could not resolve this reference. Could not locate the assembly "System.Web.WebPages.Deployment, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35,
    processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
     C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (1697): Could not resolve this reference. Could not locate the assembly "System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35,
    processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
     C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (1697): Could not resolve this reference. Could not locate the assembly "WebGrease". Check to make sure the assembly exists on disk. If this reference is required
    by your code, you may get compilation errors.
     C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (1697): Could not resolve this reference. Could not locate the assembly "Antlr3.Runtime". Check to make sure the assembly exists on disk. If this reference
    is required by your code, you may get compilation errors.
     C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (1697): Could not resolve this reference. Could not locate the assembly "Newtonsoft.Json". Check to make sure the assembly exists on disk. If this reference
    is required by your code, you may get compilation errors.
     C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (1697): Assembly strong name "System.Web.Mvc, Version=__MvcPagesVersion__, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" is
    either a path which could not be found or it is a full assembly name which is badly formed. If it is a full assembly name it may contain characters that need to be escaped with backslash(\). Those characters are Equals(=), Comma(,), Quote("), Apostrophe('),
    Backslash(\).

  • XAML DataContext: name does not exist in the namespace

    I have created a new C# WPF Application project in VS 2013, named dataconfigtest.  The namespace is dataconfigtest.
    I add a new, public class named "TestDataClass".  It is also in the dataconfigtest namespace.
    I add the following code to the XAML file (MainWindow.xaml) in the <Window> section:
    xmlns:local="clr-namespace:dataconfigtest"
    I then define the datacontext as follows:
    <Window.DataContext>
    <local:TestDataClass />
    </Window.DataContext>
    When I build the project, I receive the following error:
    The name "TestDataClass" does not exist in the namespace "clr-namespace:dataconfigtest"
    I have tried:
    closing/opening VS
    removing/adding the project
    creating a fresh project
    cleaning and rebuilding
    including the assembly information in the XAML "local" namespace definition
    Note that I can set the datacontext in the C# code-behind.  It's only in the XAML that I have problems.
    Thank you for any help!
    EDIT: I opened the same VS project file on a different computer and it worked.  I will try repairing my installation of VS.
    EDIT2: I have repaired the installation and rebooted.  Same issue.  I will try re-installing VS.

    Hi Qubert,
    >>The name "TestDataClass" does not exist in the namespace "clr-namespace:dataconfigtest"
    From this error message,i think that your namespace could be incorrect or you need to rebuild the project.
    This is my code snippets:
    <Window x:Class="dataconfigtest.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:dataconfigtest"
    Title="MainWindow" Height="350" Width="525">
    <Window.DataContext>
    <local:TestDataClass></local:TestDataClass>
    </Window.DataContext>
    <Grid>
    </Grid>
    </Window>
    public class TestDataClass
    public string data { get; set; }
    >>EDIT: I opened the same VS project file on a different computer and it worked.  I will try repairing my installation of VS.
    In my experience,your environment might be some problems, So please feel free to tell me the result of  repairing your VS.

  • Build Error : The name "LocalizedStrings" does not exist in the namespace

    I have localised my app to 5 languages, it builds and runs perfectly in Silverlight, but when i open the project in Blend to make changes 
    it shows the following error 
    The name "LocalizedStrings" does not exist in the namespace "clr-namespace:appname".
    Since it is bound, i need to build it, only then the text is visible :(
    Any suggestions?
    Alfah
    Alfahisham

    This is the declaration for the LocalizedStrings.cs
    namespace LoveCycles_Free
    public class LocalizedStrings
    public LocalizedStrings()
    private static LoveCycles_Free.AppResources localizedResources = new LoveCycles_Free.AppResources();
    public LoveCycles_Free.AppResources LocalizedResources
    get
    return localizedResources;
    And this is my App.xaml
    <Application
    x:Class="LoveCycles_Free.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" >
    <!--Application Resources-->
    <Application.Resources>
    <local:LocalizedStrings xmlns:local="clr-namespace:LoveCycles_Free" x:Key="LocalizedStrings" />
    <FontFamily x:Key="CicleSemi">C:/Users/PT3560003/AppData/Local/Microsoft/Expression/Blend/Font Cache/pj1jeoqe.v1v/Cicle Semi.ttf#Cicle Semi</FontFamily>
    <FontFamily x:Key="PeaSnow">CustomFonts/peasnow.ttf#Pea Snow</FontFamily>
    <FontFamily x:Key="CicleFina">CustomFonts/CicleFina.ttf#Cicle</FontFamily>
    <Style x:Key="AnimatedButtons" TargetType="Button">
    <Setter Property="Background" Value="Transparent"/>
    <Setter Property="BorderBrush" Value="{StaticResource PhoneForegroundBrush}"/>
    <Setter Property="Foreground" Value="{StaticResource PhoneForegroundBrush}"/>
    <Setter Property="BorderThickness" Value="{StaticResource PhoneBorderThickness}"/>
    <Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilySemiBold}"/>
    <Setter Property="FontSize" Value="{StaticResource PhoneFontSizeMediumLarge}"/>
    <Setter Property="Padding" Value="10,3,10,5"/>
    <Setter Property="Template">
    <Setter.Value>
    <ControlTemplate TargetType="Button">
    <Border Background="Transparent">
    <VisualStateManager.VisualStateGroups>
    <VisualStateGroup x:Name="CommonStates">
    <VisualStateGroup.Transitions>
    <VisualTransition GeneratedDuration="0:0:0.2"/>
    </VisualStateGroup.Transitions>
    <VisualState x:Name="Normal"/>
    <VisualState x:Name="MouseOver"/>
    <VisualState x:Name="Pressed">
    <Storyboard>
    <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentContainer">
    <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneBackgroundBrush}"/>
    </ObjectAnimationUsingKeyFrames>
    <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="ButtonBackground">
    <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneForegroundBrush}"/>
    </ObjectAnimationUsingKeyFrames>
    <DoubleAnimation Duration="0" To="0.812" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleX)" Storyboard.TargetName="ButtonBackground" />
    <DoubleAnimation Duration="0" To="0.694" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleY)" Storyboard.TargetName="ButtonBackground" />
    </Storyboard>
    </VisualState>
    <VisualState x:Name="Disabled">
    <Storyboard>
    <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentContainer">
    <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneBackgroundBrush}"/>
    </ObjectAnimationUsingKeyFrames>
    <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="ButtonBackground">
    <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneDisabledBrush}"/>
    </ObjectAnimationUsingKeyFrames>
    <DoubleAnimation Duration="0" To="0.245" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="ButtonBackground" />
    </Storyboard>
    </VisualState>
    </VisualStateGroup>
    </VisualStateManager.VisualStateGroups>
    <Border x:Name="ButtonBackground" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="0" RenderTransformOrigin="0.5,0.5">
    <Border.RenderTransform>
    <CompositeTransform/>
    </Border.RenderTransform>
    <Border.Background>
    <ImageBrush Stretch="Fill" ImageSource="Images/02/but_bg_settings.png"/>
    </Border.Background>
    <ContentControl x:Name="ContentContainer" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" Foreground="{TemplateBinding Foreground}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" Padding="{TemplateBinding Padding}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" FontSize="20"/>
    </Border>
    </Border>
    </ControlTemplate>
    </Setter.Value>
    </Setter>
    </Style>
    <Style x:Key="AddButton" TargetType="Button">
    <Setter Property="Background" Value="Transparent"/>
    <Setter Property="BorderBrush" Value="{StaticResource PhoneForegroundBrush}"/>
    <Setter Property="Foreground" Value="{StaticResource PhoneForegroundBrush}"/>
    <Setter Property="BorderThickness" Value="{StaticResource PhoneBorderThickness}"/>
    <Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilySemiBold}"/>
    <Setter Property="FontSize" Value="{StaticResource PhoneFontSizeMediumLarge}"/>
    <Setter Property="Padding" Value="10,3,10,5"/>
    <Setter Property="Template">
    <Setter.Value>
    <ControlTemplate TargetType="Button">
    <Border Background="Transparent">
    <VisualStateManager.VisualStateGroups>
    <VisualStateGroup x:Name="CommonStates">
    <VisualStateGroup.Transitions>
    <VisualTransition GeneratedDuration="0:0:0.2"/>
    </VisualStateGroup.Transitions>
    <VisualState x:Name="Normal"/>
    <VisualState x:Name="MouseOver"/>
    <VisualState x:Name="Pressed">
    <Storyboard>
    <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentContainer">
    <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneBackgroundBrush}"/>
    </ObjectAnimationUsingKeyFrames>
    <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="ButtonBackground">
    <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneForegroundBrush}"/>
    </ObjectAnimationUsingKeyFrames>
    <DoubleAnimation Duration="0" To="0.812" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleX)" Storyboard.TargetName="ButtonBackground" />
    <DoubleAnimation Duration="0" To="0.694" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleY)" Storyboard.TargetName="ButtonBackground" />
    </Storyboard>
    </VisualState>
    <VisualState x:Name="Disabled">
    <Storyboard>
    <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentContainer">
    <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneBackgroundBrush}"/>
    </ObjectAnimationUsingKeyFrames>
    <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="ButtonBackground">
    <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneDisabledBrush}"/>
    </ObjectAnimationUsingKeyFrames>
    <DoubleAnimation Duration="0" To="0.245" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="ButtonBackground" />
    </Storyboard>
    </VisualState>
    </VisualStateGroup>
    </VisualStateManager.VisualStateGroups>
    <Border x:Name="ButtonBackground" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="0" RenderTransformOrigin="0.5,0.5">
    <Border.RenderTransform>
    <CompositeTransform/>
    </Border.RenderTransform>
    <Border.Background>
    <ImageBrush Stretch="Fill" ImageSource="Images/02/but_bg_password.png"/>
    </Border.Background>
    <ContentControl x:Name="ContentContainer" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" Foreground="{TemplateBinding Foreground}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" Padding="{TemplateBinding Padding}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" FontSize="20"/>
    </Border>
    </Border>
    </ControlTemplate>
    </Setter.Value>
    </Setter>
    </Style>
    </Application.Resources>
    <Application.ApplicationLifetimeObjects>
    <!--Required object that handles lifetime events for the application-->
    <shell:PhoneApplicationService
    Launching="Application_Launching" Closing="Application_Closing"
    Activated="Application_Activated" Deactivated="Application_Deactivated"/>
    </Application.ApplicationLifetimeObjects>
    </Application>
    Alfahisham

  • The name "XYZ" does not exist in the namespace

    I was getting error "The name “XYZ” does not exist in the namespace " at here
    <UserControl.Resources>
    <ms:VisiableConverter x:Key="VisiableConverter"></ms:VisiableConverter>
    </UserControl.Resources>
     How to solve?
    namespace DictionaryApp.Model
    public class VisiableConverter : IValueConverter
    public object Convert(object value, Type targetType, object parameter, string language)
    throw new NotImplementedException();
    public object Convert(
    object value,
    Type targetType,
    object parameter,
    CultureInfo culture)
    bool visibility = (bool)value;
    return visibility ? Visibility.Visible : Visibility.Collapsed;
    public object ConvertBack(object value, Type targetType, object parameter, string language)
    throw new NotImplementedException();
    public object ConvertBack(
    object value,
    Type targetType,
    object parameter,
    CultureInfo culture)
    Visibility visibility = (Visibility)value;
    return (visibility == Visibility.Visible);
    Next, add the converter in the UserControl's resources. In m
    y simple project, I had to create this section - but hopefully you're already using this in your real apps!
    You may also need to add an xmlns attribute in page.xaml for your project's namespace.
    x:Class="DictionaryApp.PageDictionary"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:DictionaryApp"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:ms="using:DictionaryApp.Model"
    mc:Ignorable="d">
    <UserControl.Resources>
    <ms:VisiableConverter x:Key="VisiableConverter"></ms:VisiableConverter>
    </UserControl.Resources>

    I think the not implemented exceptions could be causing the issue.  I would implement this functions also
    public object Convert(object value, Type targetType, object parameter, string language)
    throw new NotImplementedException();
    and 
    public object ConvertBack(object value, Type targetType, object parameter, string language)
    throw new NotImplementedException();

  • The name "Folder" does not exist in the namespace

     I am trying to learn Wpf and doing some of the examples on the Microsoft site. https://msdn.microsoft.com/en-us/library/vstudio/bb546972(v=vs.110).aspx?cs-save-lang=1&cs-lang=vb#code-snippet-1
    I am using Visual studio 2013. As I work through the example I am getting the following error. 
    Error 1
    The name "Folder" does not exist in the namespace "clr-namespace:FolderExplorer".
    c:\users\hbrown\documents\visual studio 2013\Projects\FolderExplorer\FolderExplorer\MainWindow.xaml
    11 17
    FolderExplorer
    Error 2
    The name "Folder" does not exist in the namespace "clr-namespace:FolderExplorer".
    c:\users\hbrown\documents\visual studio 2013\Projects\FolderExplorer\FolderExplorer\MainWindow.xaml
    16 7
    FolderExplorer
    Here is the code:
    <Window x:Class="MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
            xmlns:my="clr-namespace:FolderExplorer"
        Title="Folder Explorer" Height="350" Width="525">
        <Window.Resources>
            <ObjectDataProvider x:Key="RootFolderDataProvider" >
                <ObjectDataProvider.ObjectInstance>
                    <my:Folder FullPath="C:\"/>
                </ObjectDataProvider.ObjectInstance>
            </ObjectDataProvider>
            <HierarchicalDataTemplate 
       DataType    = "{x:Type my:Folder}"
                ItemsSource = "{Binding Path=SubFolders}">
                <TextBlock Text="{Binding Path=Name}" />
            </HierarchicalDataTemplate>
        </Window.Resources>
    I have a class file named Folder.vb with this code. 
    Public Class Folder
        Private _folder As DirectoryInfo
        Private _subFolders As ObservableCollection(Of Folder)
        Private _files As ObservableCollection(Of FileInfo)
        Public Sub New()
            Me.FullPath = "c:\"
        End Sub 'New
        Public ReadOnly Property Name() As String
            Get
                Return Me._folder.Name
            End Get
        End Property
        Public Property FullPath() As String
            Get
                Return Me._folder.FullName
            End Get
            Set(value As String)
                If Directory.Exists(value) Then
                    Me._folder = New DirectoryInfo(value)
                Else
                    Throw New ArgumentException("must exist", "fullPath")
                End If
            End Set
        End Property
        ReadOnly Property Files() As ObservableCollection(Of FileInfo)
            Get
                If Me._files Is Nothing Then
                    Me._files = New ObservableCollection(Of FileInfo)
                    Dim fi As FileInfo() = Me._folder.GetFiles()
                    Dim i As Integer
                    For i = 0 To fi.Length - 1
                        Me._files.Add(fi(i))
                    Next i
                End If
                Return Me._files
            End Get
        End Property
        ReadOnly Property SubFolders() As ObservableCollection(Of Folder)
            Get
                If Me._subFolders Is Nothing Then
                    Try
                        Me._subFolders = New ObservableCollection(Of Folder)
                        Dim di As DirectoryInfo() = Me._folder.GetDirectories()
                        Dim i As Integer
                        For i = 0 To di.Length - 1
                            Dim newFolder As New Folder()
                            newFolder.FullPath = di(i).FullName
                            Me._subFolders.Add(newFolder)
                        Next i
                    Catch ex As Exception
                        System.Diagnostics.Trace.WriteLine(ex.Message)
                    End Try
                End If
                Return Me._subFolders
            End Get
        End Property
    End Class
    Can someone explain what is happening. 
    Thanks Hal

    Did you try to build the application (Project->Build in Visual Studio) ? If the error doesn't go away then and you have no other compilation errors (if you do you need to fix these first), you should replace "FolderExplorer" with the namespace
    in which the Folder class resides. If you haven't explicitly declared a namespace, you will find the name of the default namespace under Project->Properties->Root namespace. Copy the value from this text box to your XAML:
    xmlns:my="clr-namespace:FolderExplorer"
    The default namespace is usually the same as the name of the application by default so if your application is called "FolderExplorer" you should be able to build it.
    If you cannot make it work then please upload a reproducable sample of your issue to OneDrive and post the link to it here for further help.
    Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question.

  • Tutorial - Create a blog reader Store app (C++) - Error:The name does not exist in the namespace!

    I'm trying to create my first store app based on msdn's sample.
    Link to the sample:
    https://msdn.microsoft.com/pl-PL/library/windows/apps/hh465045.aspx
    I have problem doing last step (number 3) of part 3.
    In code below in file App.xaml the compiler get the error "The name 'FeedDataSource' does not exist in the namespace 'using:SimpleBlogReader'"
    <Application
    x:Class="SimpleBlogReader.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:SimpleBlogReader">
    <Application.Resources>
    <local:FeedDataSource x:Key="feedDataSource"/>
    </Application.Resources>
    </Application>
    In the file App.xaml.h I added line #include "FeedData.h", and FeedData.h  looks like:
    //feeddata.h
    #pragma once
    #include "pch.h"
    namespace SimpleBlogReader
    namespace WFC = Windows::Foundation::Collections;
    namespace WF = Windows::Foundation;
    namespace WUIXD = Windows::UI::Xaml::Documents;
    namespace WWS = Windows::Web::Syndication;
    /// <summary>
    /// A FeedDataSource represents a collection of FeedData objects
    /// and provides the methods to retrieve the stores URLs and download
    /// the source data from which FeedData and FeedItem objects are constructed.
    /// This class is instantiated at startup by this declaration in the
    /// ResourceDictionary in app.xaml: <local:FeedDataSource x:Key="feedDataSource" />
    /// </summary>
    [Windows::UI::Xaml::Data::Bindable]
    public ref class FeedDataSource sealed
    private:
    Platform::Collections::Vector<FeedData^>^ m_feeds;
    FeedData^ GetFeedData(Platform::String^ feedUri, WWS::SyndicationFeed^ feed);
    void DeleteBadFeedHandler(Windows::UI::Popups::UICommand^ command);
    public:
    FeedDataSource();
    property Windows::Foundation::Collections::IObservableVector<FeedData^>^ Feeds
    Windows::Foundation::Collections::IObservableVector<FeedData^>^ get()
    return this->m_feeds;
    property Platform::String^ CurrentFeedUri;
    void InitDataSource();
    void RetrieveFeedAndInitData(Platform::String^ url, WWS::SyndicationClient^ client);
    How to solve this problem?

    You're testing this too early. You haven't yet finished writing code that your current code depends on. Feeddata.cpp won't build, so you can't use the data object that hasn't yet been created.
    In particular, feeddata.cpp doesn't build since it has many references to items which get added in later steps.
    For example, TextHelper is added in part 5 and App::RemoveFeed is added in part 10.
    You'll need to either wait until you've implemented those before you test or comment out the calls to the unimplemented features until they're done. TextHelper looks like it adds quite a bit and you're almost there, but you can probably get away with commenting
    out the calls to RemoveFeed and GetTitlesFromUri for now.

  • Error on new windows 8.1 project: The type or namespace name 'Foundation' does not exist in the namespace

    I upgraded to win 8.1 and VS 2013. I created a new Windows 8.1 C# grid  project and tried to compile it and I'm seeing the  following error: Error 1 The type or namespace name 'Foundation' does not exist in the namespace [my namespace](are
    you missing an assembly reference?)
    The errors are in navigationhelper.cs line 59  
    [Windows.Foundation.Metadata.WebHostHidden] // Foundation has the squigglies
    public class NavigationHelper : DependencyObject
    and app.xaml.cs line 68 ==> rootFrame.Language = Windows.Globalization.ApplicationLanguages.Languages[0]; which causes this error: Error 2 The type or namespace name 'Globalization' does not exist in the namespace [my namespace] (are you missing
    an assembly reference?)
    Windows phone and mvc projects are working fine and I've installed all the updates and even tried to fix vs 2013.
    Any help Is greatly appreciated.

    I did some more investigation and noticed that if I create an app with a "." in the name then this problem occurs. For example create a windows store project with the default name "App1": this will compile.
    However if I name the project "App1.Forms" to correspeond with the default namespace I want, then this problem occurs.  Still investigating but anyone should be able to repro it with that step.

  • The type or namespace name 'BusinessData' does not exist in the namespace 'Microsoft.SharePoint' (are you missing an assembly reference?)

    I am trying to compile my SharePoint 2010 solution(VS2010) in VS2013 to deploy in SP2013, i have removed all old 14 ref and added 15 ref for microsoft.SharePoint, office.server and other assemblies. 
    still i am getting "The type or namespace name 'BusinessData' does not exist in the namespace 'Microsoft.SharePoint'
    (are you missing an assembly reference?)"
    did i miss any step here or any version issue?
    any suggestions to resolve
    Thanks
    S.Venkata Appaji

    Hi,
        Just confirm that Target Frame work has been changed to 4.5 or not, if not changed it to 4.5 and give it a try.  Then also it gives error then check the SP reference, dll properties and check its version(it should be 15.0.).
    PS:-You can fine target framework under project properties->Application-> Target Framework.
    Regards,
    MS

Maybe you are looking for

  • How to use a stored procedure as a datasource in Crystal Report for Eclipse

    Hi All, I've written a stored procedure in oracle 10g with few input parameters and one refcursor output parameter. I want to use this stored procedure as a data source for creating a report in "Crystal Report For Eclipse 3.6.0". When I tried to add

  • PDF printer not working, does not create PDF

    I am using Mac OS X 10.6.8 with Adobe Acrobat XI. Whenever I try to print a PDF though the printer function the PDF printer opens for a few seconds and no PDF is created. Here is an example of the report when I open a file with in the Acrobat Distill

  • Java Docs for the Module Process Classes

    Hi, I would like to start creating my own JDBC and file-based modules for interface development. I have found several  SDN contributions which step through the creation of these modules. These are very helpful. However, I have not yet found comprehen

  • Update Operation to SAP Failed using BDC Model

    Hi All, I am working in Duet Enterprise 1.0 development in SharePoint. At SAP front Query, Read and Update operations have been developed and the corresponding WSDL and Endpoint URLs are generated. I need to use these WSDL and Endpoint urls and perfo

  • Collection Manager Red Hat VMware

    Hello, My client is asking if the Red Hat Server that Collection Manager  is installed for the SCE platform supports VMware. I have read the installation guide of the collection manager but does not state anything. Is it ok to install in VMware?