error:
“System.Data.SqlServerCe.SqlCeException”类型的第一次机会异常在 System.Data.SqlServerCe.dll 中发生
“Capture.vshost.exe”(托管(v4.0.30319)): 已加载“C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Transactions.resources\v4.0_4.0.0.0_zh-Hans_b77a5c561934e089\System.Transactions.resources.dll”
System.Transactions Critical: 0 : <TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Critical"><TraceIdentifier>http://msdn.microsoft.com/TraceCodes/System/ActivityTracing/2004/07/Reliability/Exception/Unhandled</TraceIdentifier><Description>未处理的异常</Description><AppDomain>Capture.vshost.exe</AppDomain><Exception><ExceptionType>System.Data.SqlServerCe.SqlCeException, System.Data.SqlServerCe, Version=4.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91</ExceptionType><Message>数据库文件大于配置的最大数据库大小。该设置仅在第一次并发数据库连接后生效。 [ Required Max Database Size (in MB; 0 if unknown) = 257 ]</Message><StackTrace> 在 System.Data.SqlServerCe.SqlCeCommand.ProcessResults(Int32 hr)
在 System.Data.SqlServerCe.SqlCeCommand.ExecuteCommandText(IntPtr&amp; pCursor, Boolean&amp; isBaseTableCursor)
在 System.Data.SqlServerCe.SqlCeCommand.ExecuteCommand(CommandBehavior behavior, String method, ResultSetOptions options)
在 System.Data.SqlServerCe.SqlCeCommand.ExecuteNonQuery()
fixed:
dbcon_ = new SqlCeConnection("Data Source = " + sdf + ";SSCE:Max Database Size=2048;");
above code is set new db size:2048 mb.
1 comment:
each time i used to read smaller posts that also clear their motive, and
that is also happening with this paragraph which I am
reading now.
Post a Comment