GridView Ajax return Could not complete the operation due to error c00ce56e.

Help, GridView Ajax face the follow problem on IE but is working on Firefox. I have lookup internet for solution and found the following, but do not know what is the best way to correct this problem.

Can anyone please help… thanks.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; InfoPath.1; OfficeLiveConnector.1.5; OfficeLivePatch.1.3)

Timestamp: Fri, 12 Nov 2010 08:33:08 UTC

Message: Could not complete the operation due to error c00ce56e.

Line: 142

Char: 5

Code: 0

URI: http://localhost/en/assets/619aa6af/gridview/jquery.yiigridview.js

Did you try editing the default mimetype to ‘text/html; Charset=utf-8’ in your php.ini file?


Yes. See

; PHP’s built-in default is text/html


default_mimetype = "text/html"

; PHP’s default character set is set to empty.


;default_charset = "iso-8859-1"

default_charset = "utf8"

config database connection is set to utf8

		'db' => array(

			'class' => 'CDbConnection',

			'connectionString' => 'mysql:host=localhost;dbname=xxxx',

			'emulatePrepare' => true,

			'username' => 'xxxx',

			'password' => 'xxxx',

			'charset' => 'utf8',

			'tablePrefix' => '',

			'emulatePrepare' => true,

			'enableParamLogging' => LIVE, // to turn off when live

			'enableProfiling' => LIVE, // to turn off when live

			'schemaCachingDuration' => 60, // to set to 3600 when live,


I use PSPad and files are save as utf-8

Solved. It is to set php.ini charset from utf8 to utf-8.

Please note the charset for the database is utf8.