ToString()不存在......任何地方! [英] ToString() does not exist ... anywhere !
问题描述
在.NET v1.1.4322中,在VS.NET应用程序中,有任何人遇到过这样的奇怪情况:在运行时.NET认为ToString()方法
不存在...
有时这个问题会显示为运行时异常,有时这个问题只会通过QuickWatch清楚地显示出来调试模式
但错误信息总是相同的:
"错误:''{object name} .ToString''不存在:
它可能是
System.Data.SqlConnection.SqlClient.State.ToString()
或者它可能是
应用程序[" key name"]。ToString()
或各种ToString()方法的其他用途...
我试过重建,重新启动机器......但问题是
继续。这是我遇到的最奇怪的行为
不,不能说我已经经历过这个或者甚至没有听说过。
John A Grandy < johnagrandy-AT-雅虎网络泡沫>在消息中写道
news:uX ************** @ TK2MSFTNGP04.phx.gbl ...在.NET v1中。 1.4322,在VS.NET应用程序中,任何人都遇到过奇怪的情况,在运行时.NET认为ToString()
方法不存在......
>有时这个问题会显示为运行时异常,有时候这个问题只能在调试模式下通过QuickWatch清除
但是错误信息总是一样的:
"错误:''{object name} .ToString''不存在:"
它可能是
System.Data.SqlConnection.SqlClient.State .ToString()
或者它可能是
应用程序[" key name"]。ToString()
或其他各种用途toString()方法...
我试过重建,重新启动机器......但问题仍然存在。
这是我遇到的最奇怪的行为
" John A Grandy" < johnagrandy-AT-雅虎网络泡沫> ha scritto nel messaggio
"错误:''{object name} .ToString''不存在:"
它可以是
System.Data.SqlConnection.SqlClient.State.ToString()
或者它可能是
应用程序[" key name"] .ToString()
或ToString()方法的各种其他用途...
我试过重建,重新启动机器......但是问题
继续。
你不能调试吗?
" John A Grandy" < johnagrandy-AT-雅虎网络泡沫>在消息中写道
news:uX ************** @ TK2MSFTNGP04.phx.gbl ...
< snip> < blockquote class =post_quotes>但错误信息总是相同的:
"错误:''{object name} .ToString''不存在:">
快速核对清单
错字?
你还记得那些parens吗?
Bill
In .NET v1.1.4322 , in a VS.NET application , has anyone ever run into the
bizarre situation where at runtime .NET believes that the ToString() method
does not exist ...
Sometimes this problem will show up as a runtime exceptions, sometimes this
problem will only be clear via QuickWatch in Debug mode
But the error message is always identical :
"error: ''{object name}.ToString'' does not exist:"
It could be
System.Data.SqlConnection.SqlClient.State.ToString ()
or it could be
Application["key name"].ToString()
or a variety of other uses of the ToString() method ...
I''ve tried rebuilding , restarting the machine ... but the problem
continues.
This is the strangest behavior I have ever encountered
Nope, can''t say I have experienced this or ever heard of it even.
"John A Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message
news:uX**************@TK2MSFTNGP04.phx.gbl...In .NET v1.1.4322 , in a VS.NET application , has anyone ever run into the
bizarre situation where at runtime .NET believes that the ToString()
method does not exist ...
Sometimes this problem will show up as a runtime exceptions, sometimes
this problem will only be clear via QuickWatch in Debug mode
But the error message is always identical :
"error: ''{object name}.ToString'' does not exist:"
It could be
System.Data.SqlConnection.SqlClient.State.ToString ()
or it could be
Application["key name"].ToString()
or a variety of other uses of the ToString() method ...
I''ve tried rebuilding , restarting the machine ... but the problem
continues.
This is the strangest behavior I have ever encountered
"John A Grandy" <johnagrandy-at-yahoo-dot-com> ha scritto nel messaggio
"error: ''{object name}.ToString'' does not exist:"
It could be
System.Data.SqlConnection.SqlClient.State.ToString ()
or it could be
Application["key name"].ToString()
or a variety of other uses of the ToString() method ...
I''ve tried rebuilding , restarting the machine ... but the problem
continues.
Can''t you debug this?
"John A Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message
news:uX**************@TK2MSFTNGP04.phx.gbl...
<snip>But the error message is always identical :
"error: ''{object name}.ToString'' does not exist:"
Quick checklist
Typo?
Did you remember the parens?
Bill
这篇关于ToString()不存在......任何地方!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!