Answer the question
In order to leave comments, you need to log in
How to fix the PersistenceException system error?
The code is the same in two projects. In the first it works, in the second it gives an error. Calling server:
var parcelShops = svc.getParcelShops(request);
Throws error:
System.ServiceModel.FaultException`1: "System Error: PersistenceException"
Next "To prevent an unsafe abort while evaluating the System.Windows.Controls.Control.ToString function, all threads were allowed to run. This could change the state process, and any breakpoints encountered were skipped.
Answer the question
In order to leave comments, you need to log in
I think it would be helpful to first look at the code inside getParcelShops, the error is clearly coming from there. In general, before asking a question, it is very useful to try to search for information in your favorite search engine:
persistenceexception c#
First link - PersistenceException Class
Written:
This exception is thrown by a SqlPersistenceProviderFactory when general connectivity errors are encountered.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question