Some problems in initialization

4 posts, 0 answers
  1. Alex
    Alex avatar
    2 posts
    Member since:
    Oct 2008

    Posted 03 Oct 2008 Link to this post

    Hello!

    After i installed your controls (in trial mode at this moment). I enctountered strange problem.

    I included all dlls in toolbox and was able to add combobox (tested with other controls aswell) to new project`s page (as its written in your manual).

    Compilation went ok and after running debug i got exception on page.xaml.cs in InitializeComponent function call.

    Exception text is following:
    System.TypeInitializationException: [TypeInitialization_Type]
    Arguments:Telerik.Windows.Controls.RadComboBox
    Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=2.0.30523.8&File=mscorlib.dll&Key=TypeInitialization_Type ---> System.MissingMethodException: Method not found: 'Void System.Windows.PropertyMetadata..ctor(System.Object, System.Windows.PropertyChangedCallback)'.
       at Telerik.Windows.PropertyMetadata..ctor(Object defaultValue, PropertyChangedCallback propertyChangedCallback)
       at Telerik.Windows.Controls.RadComboBox..cctor()
       --- End of inner exception stack trace ---
       at System.Runtime.CompilerServices.RuntimeHelpers._RunClassConstructor(IntPtr type)
       at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type)
       at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.Reflection.ConstructorInfo.Invoke(Object[] parameters)
       at MS.Internal.TypeProxy.CreateInstance(UInt32 customTypeId)
       at MS.Internal.FrameworkCallbacks.CreateKnownObject(IntPtr nativeRootPeer, UInt32 customTypeId, String initializationString, IntPtr& nativePeer) [Line: 0 Position: 0]

    As i know i made all steps of installing/link as they were posted (and tryed em 2 times). What can be the reason of this then?
  2. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 03 Oct 2008 Link to this post

    Hello Alex,

    Most probably there is a reference to the old Telerik.Windows.Controls.dll left in your application, which is causing the problem. Could you try to remove all references to the Telerik assemblies and then add them again?

    All the best,
    Valeri Hristov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Alex
    Alex avatar
    2 posts
    Member since:
    Oct 2008

    Posted 03 Oct 2008 Link to this post

    The problem is i havent used reference to old versions, because i just installed them for first time. There might be chance that some controls were used in testing purposes for ASP.NET on PC i m working, but there are no actual use of them anywhere now, but i m trying new project and in bin there are only links to the new versions i just downloaded.
    Any other chances for this exception.

    P.s.: I dont really know if its matter - but 'demo page' from silverlight tab aint working for me - it open static page which leads me to silverlight installation page from MS, and there i can see that i already have newest ver.
  4. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 05 Oct 2008 Link to this post

    Hello Alex,

    you need to install the latest "developer" version which is RC0 right now. Read more info here:
    http://weblogs.asp.net/scottgu/archive/2008/09/25/silverlight-2-release-candidate-now-available.aspx

    Sincerely yours,
    Valentin.Stoychev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top