A Shaw


I'm getting this error while trying to insert records into a SQL Server Compact Edition database. I have pasted my connection string that was used when creating the database as well as for accessing that same database from my Windows application.

Thanks for any help any of you can give!

Data Source=OnTheGo.sdf;Encrypt Database=True;Password=<password>;Max Database Size=4091




Re: The database file is larger than the configured maximum database size.

Joao Paulo Figueira


According to the BOL, the property must read ssce:max database size=4091





Re: The database file is larger than the configured maximum database size.

A Shaw

I shall give this a try.. however... since everything that I had read regarding connecting to SqlCE databases from .NET has not mentioned this as required I did not add it. I will give it a try and repost once I have come to a conclusion.

Thanks Joao!