I have WPF application that is using EF6 with local SQL Server Compact Edition 4.0 database.
I’m using private deployment for SQL Server Compact Edition.
Application works without any errors on 99% of the workstations but I’m encountering a problem on the single one.
When I launch the application I receive MessageBox with below error:
“Underling provider failed on open”.
The error is thrown by the system (as I don’t have any MessageBox in my code) when I try to initialize Entity Framework data context.
I have found that when I run application “as an administrator” the problem doesn’t occur. Another thing I have noticed that when I run as an administrator on that laptop it takes a almost minute to load.
The only difference between environments that I can find is that on the not working laptop there is SQL Server Express 2012 installed.
Do you think it can have any influence on my application? Could be some DLLs conflict?
*edit I have installed SQL Server Express 2012 on the different machine and my application is working without problems. So I'm not sure if that's the reason.
Regards,