Server Error in '/' Application.

Syntax error (missing operator) in query expression 'Foto_ID  ='.

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: System.Data.OleDb.OleDbException: Syntax error (missing operator) in query expression 'Foto_ID  ='.

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:


[OleDbException (0x80040e14): Syntax error (missing operator) in query expression 'Foto_ID  ='.]
   System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) +267
   System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) +192
   System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) +48
   System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +106
   System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior) +111
   System.Data.OleDb.OleDbCommand.System.Data.IDbCommand.ExecuteReader() +6
   EasyPublishWeb.EasyPublish.Ultrasportal.TagManager.TagExec(Object ID, Object Params, Object Contents) in C:\Documents and Settings\Wolf\VSWebCache\www.ultrasportal.com\EasyPublish.Ultrasportal\clsTagExpander.vb:407
   EasyPublishWeb.EasyPublish.Ultrasportal.TagManager.FormatHTML(Object Testo) in C:\Documents and Settings\Wolf\VSWebCache\www.ultrasportal.com\EasyPublish.Ultrasportal\clsTagExpander.vb:484
   EasyPublishWeb.EasyPublish.Ultrasportal.TagManager.TagExec(Object ID, Object Params, Object Contents) in C:\Documents and Settings\Wolf\VSWebCache\www.ultrasportal.com\EasyPublish.Ultrasportal\clsTagExpander.vb:383
   EasyPublishWeb.EasyPublish.Ultrasportal.TagManager.FormatHTML(Object Testo) in C:\Documents and Settings\Wolf\VSWebCache\www.ultrasportal.com\EasyPublish.Ultrasportal\clsTagExpander.vb:484
   EasyPublishWeb.ultrasmxm.Page_Load(Object sender, EventArgs e) in C:\Documents and Settings\Wolf\VSWebCache\www.ultrasportal.com\ultrasmxm.ascx.vb:110
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436


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