Got the following unhandled exception when submitting registration form:
Server Error in ‘/community’ Application.
<h2> <i>Line 1: Incorrect syntax near ''.</i> </h2></span>
<font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif">
<b> Description: </b>An
unhandled exception occurred during the execution of the current web
request. Please review the stack trace for more information about the
error and where it originated in the code.
<b> Exception Details: </b>System.Data.SqlClient.SqlException: Line 1: Incorrect syntax near ''.<br><br>
<b>Source Error:</b> <br><br>
<table bgcolor="#ffffcc">
<tr>
<td>
<code>
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.
</td>
</tr>
</table>
<br>
<b>Stack Trace:</b> <br><br>
<table bgcolor="#ffffcc">
<tr>
<td>
<code></code><pre>[SqlException: Line 1: Incorrect syntax near ''.]<br> System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +181<br> Aspose.CommunityServer.UserManager.UserManager.AddUserNewInfo(Int32 userID, UserNewInfo newInfo) +653<br> CommunityServer.Controls.CreateUser.CreateUser_Click(Object sender, EventArgs e) +854<br> System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108<br> System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57<br> System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18<br> System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33<br> System.Web.UI.Page.ProcessRequestMain() +1330<br></pre>
</td>
</tr>
</table>
</font><br>
The registration
appears to have gone through OK though (otherwise I wouldn’t be posting
here!). Also got unhandled exceptions when attempting to run the demo
of Aspose.total. I hope the products have better exception handling than the website…!