The behavour you are experiencing is most likely due to Caching. The Porta lAlias settings are cached in the application and if you change in the DB directly then the app won't see it right away. Restart the app by re-uploading a DLL to the Bin Directory or making a change to the web.config.
How i fixed cycled app pool for that site-boom works now...