I have a system developed in .NET Framework 4.0 running on IIS 7.5. From time to time, the system gives a problem in which no user can log in anymore, however, in these moments, when I run the application through Visual Studio and I point to this base to try to debug the error, the same does not happen, I can enter normally.
When this type of problem happens I make a recycle in the application pool and the system returns to normal.
How to solve this?