Server Error in '/' Application.

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'aspx' at line 1

Description: 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.

Exception Details: ByteFX.Data.MySqlClient.MySqlException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'aspx' at line 1

Source Error:

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.

Stack Trace:


[MySqlException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'aspx' at line 1]
   ByteFX.Data.MySqlClient.Driver.ReadPacket() +149
   ByteFX.Data.MySqlClient.Driver.Send(DBCmd cmd, Byte[] bytes) +76
   ByteFX.Data.MySqlClient.MySqlCommand.ExecuteBatch(Boolean stopAtResultSet) +79
   ByteFX.Data.MySqlClient.MySqlDataReader.NextResult() +47
   ByteFX.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) +169
   ByteFX.Data.MySqlClient.MySqlCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +5
   System.Data.Common.DbDataAdapter.FillFromCommand(Object data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +304
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +77
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +36
   opera3gen.IBOperaGallery.viewGallery() +221
   opera3gen.Gallery.Page_Build() +135
   opera3gen.Gallery.Page_Load(Object sender, EventArgs e) +253
   System.Web.UI.Control.OnLoad(EventArgs e) +67
   System.Web.UI.Control.LoadRecursive() +35
   System.Web.UI.Page.ProcessRequestMain() +733


Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407