Closed GoogleCodeExporter closed 8 years ago
That error arises when the "Index Start Value" is not a number. See the
attached
image for where the error is occurring. Make sure it is a a proper
number/currency.
Let me know if you still are having issues.
Original comment by mypersonalindex@gmail.com
on 7 Jul 2009 at 10:36
Attachments:
Thanks, but I'm using the standard value of 100 (in currency format) even if I
change it into the integer 100, it will cause another sort of error, a compiler
error. -->> Sorry i'm using a dutch system.
Exception:
************** Tekst van uitzondering **************
The count of column names and source expressions do not match. [ Column name
count =
14,Source expression count = 15 ]
************** Geladen assembly's **************
mscorlib
Assembly-versie: 2.0.0.0
Win32-versie: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
mscorlib.resources
Assembly-versie: 2.0.0.0
Win32-versie: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
MyPersonalIndex
Assembly-versie: 2.0.0.0
Win32-versie: 2.0.0.0
CodeBase: file:///D:/Program%20Files/MyPersonalIndex/MyPersonalIndex.exe
----------------------------------------
System.Windows.Forms
Assembly-versie: 2.0.0.0
Win32-versie: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e
089/S
ystem.Windows.Forms.dll
----------------------------------------
System
Assembly-versie: 2.0.0.0
Win32-versie: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly-versie: 2.0.0.0
Win32-versie: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/Sy
stem.
Drawing.dll
----------------------------------------
ZedGraph
Assembly-versie: 5.1.4.31904
Win32-versie: 5.1.4.31904
CodeBase: file:///D:/Program%20Files/MyPersonalIndex/ZedGraph.DLL
----------------------------------------
System.Windows.Forms.resources
Assembly-versie: 2.0.0.0
Win32-versie: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_nl_b
77a5c
561934e089/System.Windows.Forms.resources.dll
----------------------------------------
System.Data
Assembly-versie: 2.0.0.0
Win32-versie: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.
Data.
dll
----------------------------------------
System.Data.SqlServerCe
Assembly-versie: 3.5.1.0
Win32-versie: 3.5.5692.0
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Data.SqlServerCe/3.5.1.0__89845dcd80
80cc9
1/System.Data.SqlServerCe.dll
----------------------------------------
System.Transactions
Assembly-versie: 2.0.0.0
Win32-versie: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089
/Syst
em.Transactions.dll
----------------------------------------
System.Configuration
Assembly-versie: 2.0.0.0
Win32-versie: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50
a3a/S
ystem.Configuration.dll
----------------------------------------
System.Xml
Assembly-versie: 2.0.0.0
Win32-versie: 2.0.50727.3082 (QFE.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System
.Xml.
dll
----------------------------------------
System.EnterpriseServices
Assembly-versie: 2.0.0.0
Win32-versie: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11
d50a3
a/System.EnterpriseServices.dll
----------------------------------------
System.Data.resources
Assembly-versie: 2.0.0.0
Win32-versie: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Data.resources/2.0.0.0_nl_b77a5c5619
34e08
9/System.Data.resources.dll
----------------------------------------
************** JIT-foutopsporing **************
Als u JIT-foutopsporing wilt inschakelen, moet in het configuratiebestand voor
deze
toepassing of computer (machine.config) de waarde
jitDebugging in het gedeelte system.windows.forms zijn ingesteld.
De toepassing moet ook zijn gecompileerd terwijl foutopsporing
was ingeschakeld.
Bijvoorbeeld:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
Wanneer JIT-foutopsporing is ingeschakeld, worden onverwerkte uitzonderingen
naar het JIT-foutopsporingsprogramma gestuurd dat op de computer is
geregistreerd
en worden niet door dit dialoogvenster verwerkt.
I'm well aware that this value must be a number.
Original comment by kees1...@gmail.com
on 8 Jul 2009 at 10:54
Sorry to imply you didn't know it should be a number. Just from the limited
information I got in the first bug, I had to be sure.
I believe I just realized what the issue is. I assume your number looks like:
100,00 correct? The comma is causing the issue, since the US doesn't use
commas for
decimal places. When it is trying to save the settings, the comma acts as a
separator for another column. Since I haven't tested other localizations, I
overlooked this problem. The comma is also why you first had the incorrect
number error.
For now, I will work on making the program international ready. For this
version, it
will not work unless you set decimal points to a "." Sorry about that, I guess
I am
furthering the US stereotype that we think our numbers are the way of the world
:)
Original comment by mypersonalindex@gmail.com
on 8 Jul 2009 at 11:51
No, sorry. I've used the US format as well, because that was the standard
value.
Nevertheless it's not working. Tomorrow I'm going to check whether the program
is
properly working on another system.
Thank you for your support.
Kees
Original comment by kees1...@gmail.com
on 10 Jul 2009 at 11:12
Kees,
Let me know how that goes. However, I tested using the Dutch regional
settings, and
encountered the same issues. The problem is even if you use 100.00 the program
tries
to convert it to actual currency when saving. That is not a valid number and
you
then get the "Not a valid number" error. If you do use the comma as a decimal,
if
fails in trying to save.
Original comment by mypersonalindex@gmail.com
on 10 Jul 2009 at 12:19
It does work perfectly on my other desktop (WINXP, Dutch settings), without any
changes in the standard values of the portfolio fields.
Original comment by kees1...@gmail.com
on 14 Jul 2009 at 6:03
Completed and to be released in latest 2.01 deployment.
Original comment by mypersonalindex@gmail.com
on 19 Jul 2009 at 8:25
Original issue reported on code.google.com by
kees1...@gmail.com
on 7 Jul 2009 at 1:13