Hi All,
I have a really simple WCF service that is consumed by a web page. I'm using an object datasource to populate a listview. I have no code in the code-behind. It was all done with the wizards. This weekend, due to a power outage caused by a flood, the server where the service resides was down. The webpage, hosted offsite, would not load because the service was down. Today, I'm trying to add error handling that will still let the page load and just not populate the listview. This has been more difficult that I thought it would be. Where/How should I catch the exception? All I did was add a service reference and then use wizards for the object datasource and listview. I still want the webpage to load and don't want to go over to a custom error page. This seems like it should be easy. Am I missing something obvious? It's an ASP.NET 3.5 website.
Thanks,
Chuck