Author: glenng910 | Posted on: 1/19/2010 6:39:14 AM | Views : 300

I just deployed my first ASP app to a remote server (using SQL SErver) and some data entry forms are crashing when the associated table is empty.  The PageLoad method is empty, but the error occurs before the page becomes visible.  The limited run time error I see says page not found error 404.  If I put a record in the table using  Mgt Studio, everything is fine.  The form contains two LInq data source controls that populate dropdown lists, but everything else was hand coded - no data bound controls at all.  There is no attempt to access the actual empty table until the data has been entered and the Insert button is pressed.  I have made sure that the tables that use the datacontrols for dropdowns have data in them, even though this should not matter.  I did not have this problem on my local machine when developing.  In summary, page does not load when table is empty, even ...

Go to the complete details ...