A Debugging Issue

2011-04-03

Well I faced an issue which is that code is working locally fine but after hosting in the server it's not working. Me & my team lead sat together to findout what is the reason for this. We checked the code & did'nt found any bug. There was no log feature impleneted in the system then.

The application is a webservice consuming a service of provider which lists all the Hotels in a city. We were tired after spending some time to find out the issue & later called some one to check this issue. He said if it's working locally fine & after hosting it's not working, then check is there any FILE SYSTEM SPECIFIC path is mentioned any where.!!

Yes there was that hard coded!!!

LEARNT LESSON FROM THIS>> iF IN YOUR LOCAL CODE WORKING & HOSTED NOT WORKING CHECK FOR FILE SYSTEM SPECIFIC CODE IS ANY WHERE

0 comments: