ExportSqlCe40.exe Error Code: 80004005
tuccero9 opened this issue · 3 comments
Hello,
I executed the tool ExportSqlCe40.exe to convert a database running on SQL Compact Edition version 4.0.8482.1 but i receive an error code 80004005 with message "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) = 0]"
Do i need to set this "Max Database Size" somewhere?
This is the command that i executed:
ExportSqlCe40.exe "Data Source=C:\ProgramData\Access Control Technology\ACT Enterprise\Database\ACTEnterprise.sdf" ACTEnterprise.sql
I used "ExportSqlCE40.zip - SQL Compact 4.0 command line utility to generate a script with schema and data" release 3.5.2.
The server is running on Windows Server 2016 Datacenter.
Database engine: SQL Compact Edition version 4.0.8482.1
Let me know if you need to share some additional information.
Set the max database size in the connection string: https://learn.microsoft.com/en-us/previous-versions/sql/compact/sql-server-compact-4.0/ew0d66d7(v=vs.100)