Software development of the log

        Yesterday 20:00 after no more than a customer called to say click login system response, let me hasten to solve it, and upon inspection error log, reported: == ErrorMessage: An error occurred while trying to encrypt the provided data Refer to the inner exception for. more information.

News encrypted data being given, I immediately locally debug, and even on the server environment, the results no problem, so I took the first step procedures to rule out, speculation is a client server problem, but people looking for network management, we must come up with the evidence is too strong a server problem job, but look at this log and

Do not see what the problem is, and then get dotnet command released a system, then you can also log, IIS suspected to be a problem, it is not a permissions problem out? The second step then began to file, IIS add a variety of privileges or not, so in addition to the suspect to go, and that did worry, and how this can do, waiting for customers to respond to it,

Later, ask a technical Daniel, he found a long time did not find the problem, he said that we have to logging was not, can only come to see abnormal ran out of information, more helpful error message display does not come out, add a evernlog component, and then the log lower permissions, re-released on iis, which was then query the system log

Error log and found that the C drive has a file write fails, this is our encryption will have to write a temporary issue, which will determine the next problem is a permissions problem, but we still everyone to IIS IIS also added a variety of privileges Why it does not work, I suddenly flash of inspiration, that is not the server security software was the problem?

But not sure, because the security software installed last year, and we have no problem, so we have to ask them who is not a network has recently been moving off security software, networks have to say they had just recently increased security software for Network security strategy, which ninety percent of my identify problems that appeared in this security software, and

So let them put security software temporarily closed, then access to the system, no problem.

         Through this thing, how important it is found that the system log, the system must take better to do logging, not just record some unusual information, see the problem though seventy to eighty percent abnormal information to find the problem, but in the event of systemic problem, for nothing, so the code to remind all farmers, must be a good record log information.

Guess you like

Origin www.cnblogs.com/fengshi/p/12571844.html