"Could not complete the operation due to error c00ce514"
The error means that Microsoft XML Parser is having problems when parsing the AJAX response string.
Here is what to do: just set the proper character set encoding in your requested file then try again:)
PHP Example:
header("Content-type: text/html; charset=windows-1251");
Cheers!
10 comments:
what if this is posting when I'm not attempting to load any items with AJAX?
Worked great for me, thanks!
This is due to you are using the Update panel in your applicaiton or on that page.
Do not use update panel it will work properly.
Most of the time this error comes while you are downloding code.
== Jagdeep Mankotia
YahooIM: jagdeepmankotia
worked for me. thanks :)
What if you're trying to load an image? That's my case and I don't know how to solve. Thanks for the help.
2 more possible reasons:
1. You'll have to close your image tag: ie.: <img src="http://yout_web_site.com/image.gif" />
2. When fetching images you'll need to set up your requested page header like this: <?php header('Content-Type: image/png'); ?>
solution that works for me was:
add the control that generates the event to PostBackTrigger in triggers section in Update Panel
Thanks, works for me :)
Hi Nevyan
I got this error when using XMLHTTP to call an ASP page, and the page tried to return accented characters etc. I tried messing with code pages but it didn't change anything. At last I figured out that Server.URLEncode was the solution. That way, XMLHTTP is guaranteed to receive only valid URL characters.
Thank You For The Solution..........
Post a Comment