This is a migrated thread and some comments may be shown as answers.

Gauge expection

3 Answers 55 Views
Gauge
This is a migrated thread and some comments may be shown as answers.
Cristian
Top achievements
Rank 1
Cristian asked on 16 Nov 2011, 12:56 PM
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??

3 Answers, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 21 Nov 2011, 08:51 AM
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 >>

0
Cristian
Top achievements
Rank 1
answered on 21 Nov 2011, 04:39 PM
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.
0
Andrey
Telerik team
answered on 24 Nov 2011, 08:41 AM
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 >>

Tags
Gauge
Asked by
Cristian
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Cristian
Top achievements
Rank 1
Share this question
or