w**2 发帖数: 724 | 1 请问@6是什么意思?
我用ssms打开database看了,一切正常。
求救,大谢!
Unhandled Exception: System.Data.Entity.Infrastructure.DbUpdateException: An
error occurred while up
dating the entries. See the inner exception for details. ---> System.Data.
UpdateException: An error
occurred while updating the entries. See the inner exception for details. --
-> System.Data.SqlClient
.SqlException: The incoming tabular data stream (TDS) remote procedure call
(RPC) protocol stream is
incorrect. Parameter 9 ("@6"): The supplied value is not a valid instance
of data type float. Check
the source data for invalid values. An example of an invalid value is data
of numeric type with sca
le greater than precision.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception,
Boolean breakConnection, A
ction`1 wrapCloseInAction)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException
exception, Boolean breakConne
ction, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(
TdsParserStateObject stateObj, Boolea
n callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior,
SqlCommand cmdHandler, SqlData
Reader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj, Boolean&
dataReady)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds,
RunBehavior runBehavior
, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior
cmdBehavior, RunBehavior
runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task,
Boolean asyncWrite, Sql
DataReader ds)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior
cmdBehavior, RunBehavior run
Behavior, Boolean returnStream, String method, TaskCompletionSource`1
completion, Int32 timeout, Tas
k& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(
TaskCompletionSource`1 completion, St
ring methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at System.Data.Mapping.Update.Internal.DynamicUpdateCommand.Execute(
UpdateTranslator translator,
EntityConnection connection, Dictionary`2 identifierValues, List`1
generatedValues)
at System.Data.Mapping.Update.Internal.UpdateTranslator.Update(
IEntityStateManager stateManager,
IEntityAdapter adapter)
--- End of inner exception stack trace ---
at System.Data.Mapping.Update.Internal.UpdateTranslator.Update(
IEntityStateManager stateManager,
IEntityAdapter adapter)
at System.Data.EntityClient.EntityAdapter.Update(IEntityStateManager
entityCache)
at System.Data.Objects.ObjectContext.SaveChanges(SaveOptions options)
at System.Data.Entity.Internal.InternalContext.SaveChanges()
--- End of inner exception stack trace ---
at System.Data.Entity.Internal.InternalContext.SaveChanges()
at System.Data.Entity.Internal.LazyInternalContext.SaveChanges()
at System.Data.Entity.DbContext.SaveChanges()
at StockAnalyze.Analyze.ProcessRawStockData(String stock, Int32 mv_days,
Int32 | s**********o 发帖数: 14359 | 2 你的SOURCE CODE呢,UPDATE怎么写的 | w**2 发帖数: 724 | 3 thx, it was divided by 0
【在 s**********o 的大作中提到】 : 你的SOURCE CODE呢,UPDATE怎么写的
|
|