I have webservice in which I use JSON Parsing.
I hosted it on Godaddy server (AP region) having Shared Windows Hosting. It worked fine.
I then hosted it on my client's Godaddy server (EU Region) having Shared Windows Hosting. There it 开发者_如何学Pythonstarted giving "ExceptionType":"System.TypeInitializationException`" error.
I am confused as to what could be wrong. Same code works on one server and fails on the other.
Can there some settings on the server that can be altered?
What should I do to diagonise the issue?
Thanks!
Finally I got solution to this. Initally I was using Newton JSON 2.0 DLL. I changed it to Newton JSON 3.0 DLL and it started working fine.
Hope this helps someone having similar issue.
精彩评论