Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • javier 59 posts 79 karma points
    Jun 11, 2010 @ 12:04
    javier
    0

    Can't search members with MySql

    Hi,

    When ever I try to search for a member, under the admin member section, I get the followeing error. I'm using MySql and Umbraco 4.0.4.1

     

     

    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 '(10), NODEID) + '">' +  TEXT + '</a>' AS NAME, LOGINNAME, EMAIL FROM CMSMEMBER I' at line 1

     

    Descripción: Excepción no controlada al ejecutar la solicitud Web actual. Revise el seguimiento de la pila para obtener más información acerca del error y dónde se originó en el código. 

    Detalles de la excepción: MySql.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 '(10), NODEID) + '">' +  TEXT + '</a>' AS NAME, LOGINNAME, EMAIL FROM CMSMEMBER I' at line 1

    Error de código fuente: 

    Se ha generado una excepción no controlada durante la ejecución de la solicitud Web actual. La información sobre el origen y la ubicación de la excepción pueden identificarse utilizando la excepción del seguimiento de la pila siguiente.


    Seguimiento de la pila: 

    [MySqlException (0x80004005): 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 '(10), NODEID) + '">' +  TEXT + '</a>' AS NAME, LOGINNAME, EMAIL FROM CMSMEMBER I' at line 1]
       MySql.Data.MySqlClient.MySqlStream.OpenPacket() +238
       MySql.Data.MySqlClient.NativeDriver.ReadResult(UInt64& affectedRows, Int64& lastInsertId) +60
       MySql.Data.MySqlClient.MySqlDataReader.GetResultSet() +49
       MySql.Data.MySqlClient.MySqlDataReader.NextResult() +482
       MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) +839
       MySql.Data.MySqlClient.MySqlHelper.ExecuteReader(MySqlConnection connection, MySqlTransaction transaction, String commandText, MySqlParameter[] commandParameters, Boolean ExternalConn) +151
       MySql.Data.MySqlClient.MySqlHelper.ExecuteReader(String connectionString, String commandText, MySqlParameter[] commandParameters) +99
       umbraco.DataLayer.SqlHelpers.MySql.MySqlHelper.ExecuteReader(String commandText, MySqlParameter[] parameters) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\datalayer\SqlHelpers\MySql\MySqlHelper.cs:81
       umbraco.DataLayer.SqlHelper`1.ExecuteReader(String commandText, IParameter[] parameters) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\datalayer\SqlHelper.cs:240
    
    [SqlHelperException: Umbraco Exception (DataLayer): SQL helper exception in ExecuteReader]
       umbraco.DataLayer.SqlHelper`1.ExecuteReader(String commandText, IParameter[] parameters) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\datalayer\SqlHelper.cs:244
       umbraco.presentation.members.search.ButtonSearch_Click(Object sender, EventArgs e) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\presentation\umbraco\members\search.aspx.cs:53
       System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
       System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
    

    Información de versión: Versión de Microsoft .NET Framework:2.0.50727.3607; Versión ASP.NET:2.0.50727.3082

     

     

     

Please Sign in or register to post replies

Write your reply to:

Draft