As i tried and fixed it,yet i want to know the reason to everyone. when you call wp from a external file, its should be in same folder where wp installed when multisite is enabled. but when multi-site is not enable,i found its work even from a different folder.