I have found a spelling error with generated code. the issue is with aspx code for <table_name>_add.aspx
The word generated is "rigth" and it should be "right". An example is as follows:
<td align="rigth">
<asp:button id="btnUpdate" runat="server" Text="Save" CssClass="buttonM" OnClick="btnInsert_Click"></asp:button>
</td>
<td><input class="buttonM" id="btnReset" runat="server" type="reset" value='Reset'>
</td>