While accessing my web service i am getting XMLHttpRequest status=0 in Crome/Mozilla and in IE getting XMLHttpRequest status=406.
What is the solution for it so that i will successfully get responseText from server?
I have tried accessing my html code with localhost but its getting same error,while when i run my code in that localhost location through local drive then it's working.
why this is happning i didn't get?

The problem is actually coming from the server. It is that the server cannot response with the type that your client browser is asking for. Check for type/format returned in your server code and compare it with what you expect it to be returned to your client.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.