Posted on: 10/5/2014 10:03:42 AM | Views : 455

my app is connecting fine to dev db.
when i moved to prod, app is not connecting to prod db...how can i test and find out what is wrong?
_________________________________________________________

i have gridview control in the page...my try and catch is not showing any error message in prod.
can i add try and catch in .aspx page too?

_________________________________________________________
i setup connection string like this in web.config
what is the best way to handle dev connection string and production connection string?  now i need to change Data Source=, before i move to production.
i want to write a loop   if prod, use prod ds else use  dev ds. How i do this?. can i do it web.config or i need to do before i try to connect db?
<connectionStrings> <add name="" connectionString="Persist Security Info=False; Data Source=; Initial Catalog= ; U ...

Go to the complete details ...