3D VisionLive [Format_InvalidString] Getting [Format_InvalidString] Message in 3D VisionLive
2 / 2
I'm having the same problems. I went to the site indicated in the error message and got:
<quote>
Exception Message Details
Value Input string was not in a correct format.
Resource ID Format_InvalidString
DLL mscorlib.dll
Version 4.0.60129.0
This webpage provides developers with Silverlight exception message text, which can be useful in diagnosing failures and problems with Silverlight applications. Some exception strings contain tokens for additional information produced by your application.
To see these descriptive error messages on your local machine and obtain other debugging resources, please install the latest version of Silverlight for Developers on your Windows or Mac computer.
<endquote>
Things were working fine until I maxed out a video (the "Alligator Home" one on the nVidia site) and hit some button, responding "yes" to something that I didn't quite catch. I figured that I just screwed things up for myself, but now I think the problem must be more common.
BTW, I also notice that my Firefox screen, when maxed out, no longer extends to the top of my screen. This seems to have happened at the same time that the system stopped playing streaming 3D video.
Also, my Display Window Manager went wonky when this all happened.
I still have to set up my "tech details" for inclusion in message - sorry.
I'm having the same problems. I went to the site indicated in the error message and got:
<quote>
Exception Message Details
Value Input string was not in a correct format.
Resource ID Format_InvalidString
DLL mscorlib.dll
Version 4.0.60129.0
This webpage provides developers with Silverlight exception message text, which can be useful in diagnosing failures and problems with Silverlight applications. Some exception strings contain tokens for additional information produced by your application.
To see these descriptive error messages on your local machine and obtain other debugging resources, please install the latest version of Silverlight for Developers on your Windows or Mac computer.
<endquote>
Things were working fine until I maxed out a video (the "Alligator Home" one on the nVidia site) and hit some button, responding "yes" to something that I didn't quite catch. I figured that I just screwed things up for myself, but now I think the problem must be more common.
BTW, I also notice that my Firefox screen, when maxed out, no longer extends to the top of my screen. This seems to have happened at the same time that the system stopped playing streaming 3D video.
Also, my Display Window Manager went wonky when this all happened.
I still have to set up my "tech details" for inclusion in message - sorry.
I've found that in internet, perhaps it can help :
I ran across something interesting on an internal alias about a new marketing campaign on the Visual Studio Team System marketing site that allows you to customize an amusing video that you can send to friends and team members. What caught my eye wasn’t the video itself, but the error that some users were encountering when attempting to view one of the Silverlight-based videos:
Message: Unhandled Error in Silverlight 2 Application [Format_InvalidString]
Arguments:
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.31005.0&File=mscorlib.dll&Key=Format_InvalidString at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
at System.Double.Parse(String s, NumberStyles style, NumberFormatInfo info)
at System.Double.Parse(String s, IFormatProvider provider)
at System.Convert.ToDouble(String value)
at PepTalk_Full.DataObjects.doTextOverlay..ctor(XElement element)
at PepTalk_Full.DataObjects.doPepTalk.Init()
at PepTalk_Full.DataObjects.doPepTalk..ctor()
at PepTalk_Full.App.wc_DownloadStringCompleted(Object sender, DownloadStringCompletedEventArgs e)
at System.Net.WebClient.OnDownloadStringCompleted(DownloadStringCompletedEventArgs e)
at System.Net.WebClient.DownloadStringOperationCompleted(Object arg)
To keep download sizes smaller, the client Silverlight plug-in does not contain Exception error messages, but by clicking the URL above, or by looking at the stack can you guess what the problem is? I’ll give you a hint – Convert.ToDouble(String) passes CultureInfo.CurrentCulture as the IFormatProvider argument to Double.Parse.
Yep, you guessed it, basically, the application is attempting to parse a string that it has downloaded from the web and the call to Convert.ToDouble is failing because it is expecting the format of the string to match the current culture, while the string itself is formatted using another culture. For example, the string likely contains a value formatted using the invariant culture, say ‘1.00’, but when a visitor from Germany or Norway comes to visit, Convert.ToDouble(String) is looking for a string in the format ‘1,00’.
The irony in all this is that if the Microsoft team or contractor that wrote the Silverlight application were actually using the Code Analysis feature of Team System, they would have received the following warning from Specify IFormatProvider:
Because the behavior of 'Convert.ToDouble(string)' could vary based on the current user's locale settings, replace this call in 'doTextOverlay.doTextOverlay(XElement)' with a call to 'Convert.ToDouble(string, IFormatProvider)'. If the result of 'Convert.ToDouble(string, IFormatProvider)' will be displayed to the user, specify 'CultureInfo.CurrentCulture' as the 'IFormatProvider' parameter. Otherwise, if the result will be stored and accessed by software, such as when it is persisted to disk or to a database, specify 'CultureInfo.InvariantCulture'.
All the developer has to do is to call the overload of Convert.ToDouble that takes an IFormatProvider passing it CultureInfo.InvariantCulture and the application would work on all systems regardless of the user’s culture.
The moral of the story is, use the tools available at your disposal – if you have Team System, use Code Analysis, otherwise, we still offer FxCop as a free download – they both catch bugs like this one.
I've found that in internet, perhaps it can help :
I ran across something interesting on an internal alias about a new marketing campaign on the Visual Studio Team System marketing site that allows you to customize an amusing video that you can send to friends and team members. What caught my eye wasn’t the video itself, but the error that some users were encountering when attempting to view one of the Silverlight-based videos:
Message: Unhandled Error in Silverlight 2 Application [Format_InvalidString]
at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
at System.Double.Parse(String s, NumberStyles style, NumberFormatInfo info)
at System.Double.Parse(String s, IFormatProvider provider)
at System.Convert.ToDouble(String value)
at PepTalk_Full.DataObjects.doTextOverlay..ctor(XElement element)
at PepTalk_Full.DataObjects.doPepTalk.Init()
at PepTalk_Full.DataObjects.doPepTalk..ctor()
at PepTalk_Full.App.wc_DownloadStringCompleted(Object sender, DownloadStringCompletedEventArgs e)
at System.Net.WebClient.OnDownloadStringCompleted(DownloadStringCompletedEventArgs e)
at System.Net.WebClient.DownloadStringOperationCompleted(Object arg)
To keep download sizes smaller, the client Silverlight plug-in does not contain Exception error messages, but by clicking the URL above, or by looking at the stack can you guess what the problem is? I’ll give you a hint – Convert.ToDouble(String) passes CultureInfo.CurrentCulture as the IFormatProvider argument to Double.Parse.
Yep, you guessed it, basically, the application is attempting to parse a string that it has downloaded from the web and the call to Convert.ToDouble is failing because it is expecting the format of the string to match the current culture, while the string itself is formatted using another culture. For example, the string likely contains a value formatted using the invariant culture, say ‘1.00’, but when a visitor from Germany or Norway comes to visit, Convert.ToDouble(String) is looking for a string in the format ‘1,00’.
The irony in all this is that if the Microsoft team or contractor that wrote the Silverlight application were actually using the Code Analysis feature of Team System, they would have received the following warning from Specify IFormatProvider:
Because the behavior of 'Convert.ToDouble(string)' could vary based on the current user's locale settings, replace this call in 'doTextOverlay.doTextOverlay(XElement)' with a call to 'Convert.ToDouble(string, IFormatProvider)'. If the result of 'Convert.ToDouble(string, IFormatProvider)' will be displayed to the user, specify 'CultureInfo.CurrentCulture' as the 'IFormatProvider' parameter. Otherwise, if the result will be stored and accessed by software, such as when it is persisted to disk or to a database, specify 'CultureInfo.InvariantCulture'.
All the developer has to do is to call the overload of Convert.ToDouble that takes an IFormatProvider passing it CultureInfo.InvariantCulture and the application would work on all systems regardless of the user’s culture.
The moral of the story is, use the tools available at your disposal – if you have Team System, use Code Analysis, otherwise, we still offer FxCop as a free download – they both catch bugs like this one.
Krumpf I think you got it. I changed my regional settings from Deutsch(Schweiz) to English(USA) and voilá the show begins.
Nvidia folks please start bashing Microsoft to update Silverlight accordingly, BTW I tried the silverlight 5 beta version, same problem there.
[Edit]
Played around a bit more and effectively if within regional settings the decimal separator is a dot -> failure, if it is a comma -> everything works fine.
Krumpf I think you got it. I changed my regional settings from Deutsch(Schweiz) to English(USA) and voilá the show begins.
Nvidia folks please start bashing Microsoft to update Silverlight accordingly, BTW I tried the silverlight 5 beta version, same problem there.
[Edit]
Played around a bit more and effectively if within regional settings the decimal separator is a dot -> failure, if it is a comma -> everything works fine.
<quote>
Exception Message Details
Value Input string was not in a correct format.
Resource ID Format_InvalidString
DLL mscorlib.dll
Version 4.0.60129.0
This webpage provides developers with Silverlight exception message text, which can be useful in diagnosing failures and problems with Silverlight applications. Some exception strings contain tokens for additional information produced by your application.
To see these descriptive error messages on your local machine and obtain other debugging resources, please install the latest version of Silverlight for Developers on your Windows or Mac computer.
<endquote>
Things were working fine until I maxed out a video (the "Alligator Home" one on the nVidia site) and hit some button, responding "yes" to something that I didn't quite catch. I figured that I just screwed things up for myself, but now I think the problem must be more common.
BTW, I also notice that my Firefox screen, when maxed out, no longer extends to the top of my screen. This seems to have happened at the same time that the system stopped playing streaming 3D video.
Also, my Display Window Manager went wonky when this all happened.
I still have to set up my "tech details" for inclusion in message - sorry.
<quote>
Exception Message Details
Value Input string was not in a correct format.
Resource ID Format_InvalidString
DLL mscorlib.dll
Version 4.0.60129.0
This webpage provides developers with Silverlight exception message text, which can be useful in diagnosing failures and problems with Silverlight applications. Some exception strings contain tokens for additional information produced by your application.
To see these descriptive error messages on your local machine and obtain other debugging resources, please install the latest version of Silverlight for Developers on your Windows or Mac computer.
<endquote>
Things were working fine until I maxed out a video (the "Alligator Home" one on the nVidia site) and hit some button, responding "yes" to something that I didn't quite catch. I figured that I just screwed things up for myself, but now I think the problem must be more common.
BTW, I also notice that my Firefox screen, when maxed out, no longer extends to the top of my screen. This seems to have happened at the same time that the system stopped playing streaming 3D video.
Also, my Display Window Manager went wonky when this all happened.
I still have to set up my "tech details" for inclusion in message - sorry.
I ran across something interesting on an internal alias about a new marketing campaign on the Visual Studio Team System marketing site that allows you to customize an amusing video that you can send to friends and team members. What caught my eye wasn’t the video itself, but the error that some users were encountering when attempting to view one of the Silverlight-based videos:
Message: Unhandled Error in Silverlight 2 Application [Format_InvalidString]
Arguments:
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.31005.0&File=mscorlib.dll&Key=Format_InvalidString at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
at System.Double.Parse(String s, NumberStyles style, NumberFormatInfo info)
at System.Double.Parse(String s, IFormatProvider provider)
at System.Convert.ToDouble(String value)
at PepTalk_Full.DataObjects.doTextOverlay..ctor(XElement element)
at PepTalk_Full.DataObjects.doPepTalk.Init()
at PepTalk_Full.DataObjects.doPepTalk..ctor()
at PepTalk_Full.App.wc_DownloadStringCompleted(Object sender, DownloadStringCompletedEventArgs e)
at System.Net.WebClient.OnDownloadStringCompleted(DownloadStringCompletedEventArgs e)
at System.Net.WebClient.DownloadStringOperationCompleted(Object arg)
To keep download sizes smaller, the client Silverlight plug-in does not contain Exception error messages, but by clicking the URL above, or by looking at the stack can you guess what the problem is? I’ll give you a hint – Convert.ToDouble(String) passes CultureInfo.CurrentCulture as the IFormatProvider argument to Double.Parse.
Yep, you guessed it, basically, the application is attempting to parse a string that it has downloaded from the web and the call to Convert.ToDouble is failing because it is expecting the format of the string to match the current culture, while the string itself is formatted using another culture. For example, the string likely contains a value formatted using the invariant culture, say ‘1.00’, but when a visitor from Germany or Norway comes to visit, Convert.ToDouble(String) is looking for a string in the format ‘1,00’.
The irony in all this is that if the Microsoft team or contractor that wrote the Silverlight application were actually using the Code Analysis feature of Team System, they would have received the following warning from Specify IFormatProvider:
Because the behavior of 'Convert.ToDouble(string)' could vary based on the current user's locale settings, replace this call in 'doTextOverlay.doTextOverlay(XElement)' with a call to 'Convert.ToDouble(string, IFormatProvider)'. If the result of 'Convert.ToDouble(string, IFormatProvider)' will be displayed to the user, specify 'CultureInfo.CurrentCulture' as the 'IFormatProvider' parameter. Otherwise, if the result will be stored and accessed by software, such as when it is persisted to disk or to a database, specify 'CultureInfo.InvariantCulture'.
All the developer has to do is to call the overload of Convert.ToDouble that takes an IFormatProvider passing it CultureInfo.InvariantCulture and the application would work on all systems regardless of the user’s culture.
The moral of the story is, use the tools available at your disposal – if you have Team System, use Code Analysis, otherwise, we still offer FxCop as a free download – they both catch bugs like this one.
I ran across something interesting on an internal alias about a new marketing campaign on the Visual Studio Team System marketing site that allows you to customize an amusing video that you can send to friends and team members. What caught my eye wasn’t the video itself, but the error that some users were encountering when attempting to view one of the Silverlight-based videos:
Message: Unhandled Error in Silverlight 2 Application [Format_InvalidString]
Arguments:
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.31005.0&File=mscorlib.dll&Key=Format_InvalidString at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
at System.Double.Parse(String s, NumberStyles style, NumberFormatInfo info)
at System.Double.Parse(String s, IFormatProvider provider)
at System.Convert.ToDouble(String value)
at PepTalk_Full.DataObjects.doTextOverlay..ctor(XElement element)
at PepTalk_Full.DataObjects.doPepTalk.Init()
at PepTalk_Full.DataObjects.doPepTalk..ctor()
at PepTalk_Full.App.wc_DownloadStringCompleted(Object sender, DownloadStringCompletedEventArgs e)
at System.Net.WebClient.OnDownloadStringCompleted(DownloadStringCompletedEventArgs e)
at System.Net.WebClient.DownloadStringOperationCompleted(Object arg)
To keep download sizes smaller, the client Silverlight plug-in does not contain Exception error messages, but by clicking the URL above, or by looking at the stack can you guess what the problem is? I’ll give you a hint – Convert.ToDouble(String) passes CultureInfo.CurrentCulture as the IFormatProvider argument to Double.Parse.
Yep, you guessed it, basically, the application is attempting to parse a string that it has downloaded from the web and the call to Convert.ToDouble is failing because it is expecting the format of the string to match the current culture, while the string itself is formatted using another culture. For example, the string likely contains a value formatted using the invariant culture, say ‘1.00’, but when a visitor from Germany or Norway comes to visit, Convert.ToDouble(String) is looking for a string in the format ‘1,00’.
The irony in all this is that if the Microsoft team or contractor that wrote the Silverlight application were actually using the Code Analysis feature of Team System, they would have received the following warning from Specify IFormatProvider:
Because the behavior of 'Convert.ToDouble(string)' could vary based on the current user's locale settings, replace this call in 'doTextOverlay.doTextOverlay(XElement)' with a call to 'Convert.ToDouble(string, IFormatProvider)'. If the result of 'Convert.ToDouble(string, IFormatProvider)' will be displayed to the user, specify 'CultureInfo.CurrentCulture' as the 'IFormatProvider' parameter. Otherwise, if the result will be stored and accessed by software, such as when it is persisted to disk or to a database, specify 'CultureInfo.InvariantCulture'.
All the developer has to do is to call the overload of Convert.ToDouble that takes an IFormatProvider passing it CultureInfo.InvariantCulture and the application would work on all systems regardless of the user’s culture.
The moral of the story is, use the tools available at your disposal – if you have Team System, use Code Analysis, otherwise, we still offer FxCop as a free download – they both catch bugs like this one.
Nvidia folks please start bashing Microsoft to update Silverlight accordingly, BTW I tried the silverlight 5 beta version, same problem there.
[Edit]
Played around a bit more and effectively if within regional settings the decimal separator is a dot -> failure, if it is a comma -> everything works fine.
Now at least there is a workaround.
Nvidia folks please start bashing Microsoft to update Silverlight accordingly, BTW I tried the silverlight 5 beta version, same problem there.
[Edit]
Played around a bit more and effectively if within regional settings the decimal separator is a dot -> failure, if it is a comma -> everything works fine.
Now at least there is a workaround.
Many thanks to your solution of this bug. After waiting for months, now I can watch videos at 3DVisionLive again on my computer at Switzerland.
Many thanks to your solution of this bug. After waiting for months, now I can watch videos at 3DVisionLive again on my computer at Switzerland.