Category Archives: Error Note

Record a error or bugs

[MAC] Virtualbox : The remote device or resource won’t accept the connection.

Solution :

In Internet Explore :

Goto Tools -> Options -> Connections Tab and click LAN Setting

And Check ‘Automatically detect settings’ and Uncheck Use a proxy server … option.


ieRef ref1 ref2

Posted in Error Note, Tech Note | Tagged , , , | Leave a comment

edmx failed to find or load the registered?

I upgrade my (Advantage Database Server) data provider version, and for some reason, I had to downgrade data provider. (v.11.0 -> v.9.1)

After remove the newer data provider, I checked there is old provider still. So I add the provider to my project reference again but I got an error message,

‘edmx failed to find or load the registered…’

I checked the provider version in properties, and it was right.




then I found the data provider version is still indicated newer version.

<add name="Advantage Data Provider" invariant="Advantage.Data.Provider" 

description=".Net Framework Data Provider for Advantage Database Server"

type="Advantage.Data.Provider.AdsFactory, Advantage.Data.Provider,

Version=, Culture=neutral, PublicKeyToken=e33137c86a38dc06" />

After changed the version with right value, the error message has been gone :)

Oh! one more thing, I had to restart Visual Studio also.

Posted in Error Note | Tagged , , | 1 Comment

Error message for ‘Resource matching “view” not found’

Error Message ::

Fatal error: Uncaught exception ‘Zend_Application_Bootstrap_Exception’ with message ‘Resource matching “view” not found’ in /var/www/vhosts/zend/library/Zend/Application/Bootstrap/BootstrapAbstract.php:694 Stack trace: #0 /var/www/vhosts/zend/library/Zend/Application/Bootstrap/BootstrapAbstract.php(629): Zend_Application_Bootstrap_BootstrapAbstract->_executeResource(‘view’) #1 /var/www/vhosts/zend/library/Zend/Application/Bootstrap/BootstrapAbstract.php(586): Zend_Application_Bootstrap_BootstrapAbstract->_bootstrap(‘view’) #2 /var/www/vhosts/zend/application/Bootstrap.php(8): Zend_Application_Bootstrap_BootstrapAbstract->bootstrap(‘view’) #3 /var/www/vhosts/zend/library/Zend/Application/Bootstrap/BootstrapAbstract.php(669): Bootstrap->_initViewSetting() #4 /var/www/vhosts/zend/library/Zend/Application/Bootstrap/BootstrapAbstract.php(622): Zend_Application_Bootstrap_BootstrapAbstract->_executeResource(‘viewsetting’) #5 /var/www/vhosts/zend/library/Zend/Application/Bootstrap/BootstrapAbstract.php(586): Zend_Application_Boot in /var/www/vhosts/zend/library/Zend/Application/Bootstrap/BootstrapAbstract.php on line 694


resources.view[] = ""

into application.ini file.

Posted in Error Note, Tech Note, Zend Framework | Leave a comment

When restart apache, an error occur like this :

[root@test /]# /etc/rc.d/init.d/httpd restart

Starting httpd: httpd: apr_sockaddr_info_get() failed for testLinuxhttpd: Could not reliably determine the server’s fully qualified domain name, using for ServerName

Solve : it’s because is used for serverName by default. so we need to define server name in /etc/httpd/conf/httpd.conf file.




Posted in Error Note, Tech Note | Tagged , | Leave a comment

Setting Fedex production URL (WSDL v10)

My application(getting fedex shipping rate part) works in test enviorment, But after move to production, Fedex response en error message.

[Error message]

Error returned in processing transaction
Severity: ERROR
Source: crs
Code: 803

Message: Meter number is missing or invalid.

LocalizedMessage: Meter number is missing or invalid.

But I put the exactly correct Meter number. and I realized the error message response is not becuase the Meter number, it’s because of Production URL which I received by email once I move to production step.(its like, Production URL: XXXXXXX)

Even though I found the problem but it was not easy to figure out where I need to put the production URL. :(I knew I need to update RateService_v10.wsdl file but it hide in 4870 line and the production URL is end of line :(

Here is the solution,

Find this line ‘<s1:address location=””/>’, (: 4867)
and edit to your right production URL ‘<s1:address location=””/>’

Posted in Error Note, Tech Note | Tagged , , , , , , , , , | 18 Comments

Refresh Applet (Reload)

import java.applet.*;
import java.awt.*;

public class AppletTest extends Applet{

    public void init(){


    public void stop(){


    public void paint(Graphics g){
        g.drawString("ABC",20,20); //I will draw DEF and FFF after ABC.


Even if change ABC to DEF, it show always ABC (or DEF after change FFF)

I think the browser remember ABC when load applet first time.

So I tried to add “<META HTTP-EQUIV=”CACHE-CONTROL” CONTENT=”NO-CACHE”>” but it does not work.

Solution ,

Pass the string that need to be changed as parameter,

<param name=”str” value=”FFF” />

and get the string

String str = getParameter(“str”); // in init() method

then, it refresh applet contents well :)

Posted in Error Note, Tech Note | Tagged , , | Leave a comment

[Symfony] How to use Criteria::IN

I had a problem with using Criteria::IN

because I thought , I need to put the string which is divided by comma as parameter. But we should put the array as parameter!


$temp = '1,2,3';
$c->add(testPeer::ID,$temp,Criteria::EQUAL); (x)

$temp = array('1','2','3');
$c->add(testPeer::ID,$temp,Criteria::EQUAL); (0)
Posted in Error Note, Tech Note | Tagged , , | 3 Comments

[Ext-JS] Form Submit return always failure

Ext-JS :

handler : function(){
	var formPanel = Ext.getCmp('ItInventory.updateCategoryForm');
	//check vaild
		waitMsg : 'Updating Data...',
		success : function(form, action){
			//var result = Ext.util.JSON.decode(action.response.responseText);
		failure : function(form, action){

			//alert('Faild : '+ action.response.responseText);
			alert(action.response.status+ " / "+action.response.statusText); //200 /  OK


$array = array("test" => "test");
echo json_encode($array);

action.response.status = 200

action.response.statusText = OK

but the result alwasy say failure!

BECAUSE, we need to return ‘success’ field and the success has to have ‘true’

fix php code like this,

$array = array("success" => "true"); // <--
echo json_encode($array);
Posted in Error Note, Ext-JS, Tech Note | Tagged , , , | 1 Comment

[Ext-Js] autoScroll for grid does not work

autoHeight: true,
autoWidth : true,
into the grid.

var grid = new Ext.grid.GridPanel ({
	store : SalesReportStore,
	view : gridView,
	loadMask : true,
	stripeRows : true,
	autoHeight: true, //!!!
	autoWidth : true, //!!!
Posted in Error Note, Tech Note | Tagged , , | 4 Comments