Gauge expection

4 posts, 0 answers
  1. Cristian
    Cristian avatar
    7 posts
    Member since:
    Jun 2011

    Posted 16 Nov 2011 Link to this post

    Hello,

    I have a problem when I try to execute my web application in a specific IIS. I have two computers, both with Windows 7 (one of them with Windows 7 Lite Ultimate and the other with Windows 7 Enterprise). I've published the same application in both computers (both with IIS 7.5). Results when I access to the web application and it tries to execute the silverlight object:
    - W7 Lite Ultimate: the application executes correctly silverlight and I don't have any problem.
    - W7 Enterprise: the browser downloads correctly the .xap ( I've seen that with firebug in firefox), but when it tries to execute silverlight object, it give me the next exception:
    Unhandled Error in Silverlight Application El valor no está dentro del intervalo esperado.
     
    Error no controlado en la aplicación de Silverlight
    Código: 4004
    Categoría: ManagedRuntimeError
    Mensaje: System.ArgumentException: El valor no está dentro del intervalo esperado.
    en MS.Internal.XcpImports.CheckHResult(UInt32 hr)
    en MS.Internal.XcpImports.SetValue(IManagedPeerBase obj, DependencyProperty property, Double d)
    en System.Windows.DependencyObject.SetValue(DependencyProperty property, Double d)
    en Telerik.Windows.Controls.Gauges.LinearScale.SetLeft(UIElement element, Double x)
    en Telerik.Windows.Controls.Gauges.LinearScale.ArrangeLabel(TickLabel label)
    en Telerik.Windows.Controls.Gauges.TickLabel.ArrangeOverride(Size finalSize)
    en System.Windows.FrameworkElement.ArrangeOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
       throw new Error(errMsg);

    It seems that there is any problem with radgauge, but this problem only occurs in the computer with W7 Enterprise ( I've alos published thsi application in an IIS 6 in a XP, and it runs prefectly too).

    Threre is someone whith any idea about what is happening??

  2. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 21 Nov 2011 Link to this post

    Hi Cristian,

    Unfortunately we can't help you much with this problem. Your application works fine on other systems, so most probably it is not a problem with RadGauge control. I would recommend you to check version of the Silverlight on the PC where you have a problems, install all Windows updates into this system and check version of the FireFox (some old versions had a problems with Silverlight plugin). I would appreciate, if you could create small application which can be used to reproduce the problem. This way we could check it on our systems.

    All the best,
    Andrey Murzov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
  4. Cristian
    Cristian avatar
    7 posts
    Member since:
    Jun 2011

    Posted 21 Nov 2011 Link to this post

    Hi,

    because of the few time I have to do this task, I've chosen the easiest option: i have rejected to use de RadGauge component, and then, I have pubilshed the web application again, and it works. So the problem was the gauge configuration. In the future, maybe I will have more time to investigate this problem and attach an example of the problematic project.

    Thanks for the reply.
  5. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 24 Nov 2011 Link to this post

    Hi Cristian,

    With the 2011.Q3 release we introduced a new gauge control. It is almost new control redesigned from scratch. Some of its features are similar to the old control’s features but they are implemented in absolutely different way (using different set of properties), some features are completely new. I would recommend that you take a look into this control. I hope it will better suit your needs and will eliminate this problem.

    Greetings,
    Andrey Murzov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top