• User Attivo •

    Problema Dataset

    Ciao A tutti, ho un problema a creare un dataset e quando faccio il test da dreamweaver mi da errore.
    Questo è quello che mi viene scritto (guardate sotto). Cosa posso fare? AIUTOOOOO:?
    System.Data.OleDb.OleDbException: Errore di sintassi nella query. Proposizione della query incompleta.
    in System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr)
    in System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult)
    in System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult)
    in System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult)
    in System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
    in System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior)
    in System.Data.OleDb.OleDbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
    in System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
    in System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
    in System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable)
    in DreamweaverCtrls.DataSet.DoInit()


  • User •

    Se leggi l'errore ti dice che hai un errore di sintassi nella query.
    Prova a postare la query che esegui che vediamo dov'è il problema 😉


  • User Attivo •

    Trovato l'errore! Gli dava fastidio il nome del database. Se ho altri problemi posto 🙂 Grazie comunque!


  • User Attivo •

    Era bello se non saltavano altri errori :rollo: Dubbio mi puoi aiutare? O qualche altra persona 😢
    Potete guardare l'immagine per capire cosa mi esce.
    (aggiungere h t t p : / / altrimenti non vedete) yfrog.com/j2erroreqp

    p.s.: Ho inserito già la frase che dice lui tra i tag configuration. :dull: