Date \ "123456 troubleshooting

Source: Internet
Author: User

Recently, when the server was re-installed, it simply reorganized all the source code and started to work normally. Later, it was found that an error was reported every time a screen was modified.

We tracked and found that data of the datetime, smartdate, and other time types was changed during serialization: Date \ "123456. When the JSON conversion is performed, the conversion error of the Time-type data is returned. The first thought is that there is a problem with the data, and then we found that all the pictures are this problem!

I guess it should be that when the source code is maintained and organized, a dll version may be called incorrectly, which leads to this problem. Naturally, I think it should be

The version of newtonsoft. JSON. dll file is incorrect. However, we compared the version and found that there is no problem! Be careful !!!!

Later, I used another computer to run the previous program and found that this problem was not found. I re-run all the current Code, but there was still a problem!

Later, I replaced the DLL of other projects referenced by the web project with the old DLL, and found that the Program reported an error. I looked at it carefully and mentioned it.

Newtonsoft. JSON. dll, I think it should still be the problem of this DLL, So I carefully checked it and found that it was from other class libraries referenced by the web project.

Inconsistent newtonsoft. JSON. dll !!!

This problem is actually well solved and well investigated. However, due to my carelessness, I spent nearly four hours searching !!!

The first is to remind other children's shoes whose projects are organized and upgraded. If the overall and all picture errors are found, they are basically dll version problems.

Second, warn yourself at any time. Be careful when you encounter problems.

 

Date \ "123456 troubleshooting

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.