Hi, Folks -- Not sure if I'm in the right forum with this, but I'm getting fairly frequent exceptions in my ASP.Net app due to querystring duplication. The two entries below are from the log that I write my caught and uncaught exceptions out to. The referrer is sometimes the same page and sometimes another page. ---------------------------------------------- 8/17/2011 5:52:41 PM EXCEPTION CAUGHT Requested URL: http://www.googleanalyticstest.com/setup.aspx?di=180?di=180 Referrer: http://www.googleanalyticstest.com/setup.aspx?di=180 User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.205 Safari/534.16 The value for column 'questionCount' in table 'categories' is DBNull. System.InvalidCastException: Specified cast is not valid. at GatDataSet.categoriesRow.get_questionCount() System.Data.StrongTypingException: The value for column 'questionCount' in table 'categories' is DBNull. ---> System.InvalidCastException: Specified cast is not valid. at GatDataSet.categoriesRow.get_questionCount() --- End of inner exception stack trace --- at GatDataSet.categoriesRow.get_questionCount() at Setup.itemCounts() ---------------------------------------------- 8/17/2011 5:53:01 PM EXCEPTION CAUGHT Requested URL: http://www.googleanalyticstest.com/setup.aspx?di=180?di=180 Referrer: http://www.googleanalyticstest.com/profil.aspx?di=180 User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.205 Safari/534.16 The value for column 'questionCount' in table 'categories' is DBNull. System.InvalidCastException: Specified cast is not valid. at GatDataSet.categoriesRow.get_questionCount() System.Data.StrongTypingException: The value for column 'questionCount' in table 'categories' is DBNull. ---> System.InvalidCastException: Specified cast is not valid. at GatDataSet.categoriesRow.get_questionCount() --- End of inner exception stack trace --- at GatDataSet.categoriesRow.get_questionCount() at Setup.itemCounts() ---------------------------------------------- If anyone has any insights, I'd really appreciate them. Also, if anyone can recommend any freelance resources to help me with the debugging, please let me know. Thanks! Eric F.
Casting information: http://msdn.microsoft.com/en-us/library/ms173105.aspx http://msdn.microsoft.com/en-us/library/ms173105(v=vs.80).aspx I would review these methods: get_questionCount() Setup.itemCounts() and the SQL statement you are trying to execute.