我从公司歇业申请。这似乎是使用SQL Server CE数据库。我已经搜查了系统,也找不到任何。自卫队
文件。看来,该数据库已经长得太大。任何想法如何,我可以找到数据库并更改的最大尺寸是多少?
错误消息:
无法登录应用程序启动。 - System.Data.EntityCommandExecutionException:发生错误 而从存储提供的数据读取器读取。见内 例外的详细信息。 --->
System.Data.SqlServerCe.SqlCeException:数据库文件是较大 大于配置的最大数据库大小。该设置生效 第一个并发数据库连接上而已。 [最大需求 数据库大小(以MB为单位; 0,如果未知)= 257]
解决方案您需要找到连接字符串,并添加:最大数据库大小= 1024
(最大为4000)
I have an application from a company that went out of business. It appears to use the SQL Server CE database. I have searched the system and can't find any .sdf
files. It appears that the database has grown too big. Any idea how I can find the DB and change the maximum size?
ERROR message:
Unable to log application start. - System.Data.EntityCommandExecutionException: An error occurred while reading from the store provider's data reader. See the inner exception for details. --->
System.Data.SqlServerCe.SqlCeException: The database file is larger than the configured maximum database size. This setting takes effect on the first concurrent database connection only. [ Required Max Database Size (in MB; 0 if unknown) = 257 ]
解决方案
You need to locate the connection string and add: Max Database Size=1024
(Max is 4000)
相关推荐
最新文章