0

I have a program written in c# (framework 4.0). There I use entity framework with SQL CE 4.0, LINQ to XML.

When I start it with admin account, it works fine. If I launch it with user account, its performance falls down terribly. Perfomance of all components: LINQ, EF. For example loading some data from xml-file to database with admin account takes about 1 minute, but with user account it takes 4 hours.

This problem only occurs on Windows XP machine when using an encrypted SQL CE database.

Have anybody some ideas in which direction I must think to solve this problem?

Thanks.

4

1 回答 1

2

This is a known (at least to me and Microsoft) problem with SQL CE, Windows XP and encryption.

To solve the performance bottleneck grant All Users Read access to this folder: C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys

于 2013-07-30T10:48:20.343 回答