User-166373564 posted
Hi mhcodner,
System.Data.SqlServerCe.SqlCeException: There is a file sharing violation. A different process might be using the file. [ D:\home\site\wwwroot\App_Data\Site.sdf ]
According to the error message above, it's recommended to take a look at the analysis of this issue below.
SQL Server CE code failing?
We need use SQL Server (Express, Professional or any other version) to access your database and connect to it using SQL Native Client, OleDB or any other Data Connector instead of SQLServerCE. This issue is related to your connection string after you
deploy your asp.net application to Azure.
Please let me know if there is anything that I can do to help.
Best regards,
Angie