I made an infopath form where one button inserts data and one updates the database. The first button uses infopaths dataconnection feature to a mssql database, while the second uses a jscript to update a row. The problem is that when I am in preview mode of design mode and hit the update button it does it instantly, but when I publish it and test it , the update times out. What is the difference in how the form is handled between preview mode and its published state.