Visualizzazione dei risultati da 1 a 7 su 7
  1. #1

    Errore: ADODB.Recordset error '800a0bb9'

    Ho realizzato un semplice sistema di news con dreamveaver

    in locale mi funziona e online mi da quest'errore

    ADODB.Recordset error '800a0bb9'

    Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.

    /inseriscinews.asp, line 130


    http://www.casinareale.it/index_admin.asp



    allego parte del codice

    <%@LANGUAGE="VBSCRIPT"%>

    <%
    Dim news
    Dim news_numRows

    Set news = Server.CreateObject("ADODB.Recordset")
    news.ActiveConnection = MM_news_STRING
    news.Source = "SELECT * FROM news ORDER BY ID DESC"
    news.CursorType = 0
    news.CursorLocation = 2
    news.LockType = 1
    news.Open()

    news_numRows = 0
    %>
    <%
    Dim Repeat1__numRows
    Dim Repeat1__index

    Repeat1__numRows = -1
    Repeat1__index = 0
    news_numRows = news_numRows + Repeat1__numRows
    %>
    <%
    Dim MM_paramName
    %>

    ecc......

  2. #2
    Moderatore di ASP e MS Server L'avatar di Roby_72
    Registrato dal
    Aug 2001
    Messaggi
    19,559
    E la riga 130?????????????

    Roby

  3. #3
    Originariamente inviato da Roby_72
    E la riga 130?????????????

    Roby
    si grazie lo so che è la riga 130

    ma è corretta la scritta dreamweaver

    io ho news.asp news_dettagli.asp.eccc

    e poi inserisci news,modifica cancella...ecc....

    prendiamo new.asp

    <%@LANGUAGE="VBSCRIPT"%>

    <%
    Dim news
    Dim news_numRows

    Set news = Server.CreateObject("ADODB.Recordset")
    news.ActiveConnection = MM_news_STRING
    news.Source = "SELECT * FROM news ORDER BY ID DESC"
    news.CursorType = 0
    news.CursorLocation = 2
    news.LockType = 1
    news.Open()

    news_numRows = 0
    %>
    <%
    Dim Repeat1__numRows
    Dim Repeat1__index

    Repeat1__numRows = -1
    Repeat1__index = 0
    news_numRows = news_numRows + Repeat1__numRows
    %>
    <%
    Dim MM_paramName
    %>



    mi da

    ADODB.Recordset error '800a0bb9'

    Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.

    /news.asp, line 8

    url del sito


    è strano perche questo codice lo uso per tanti siti che funzionano!

    esempio il mio portale

    gianpierobruno.com

  4. #4
    Moderatore di ASP e MS Server L'avatar di Roby_72
    Registrato dal
    Aug 2001
    Messaggi
    19,559
    Mi devi dire la riga del file in cui hai l'errore...
    Non un pezzo di codice a caso.

    Roby

  5. #5
    Originariamente inviato da Roby_72
    Mi devi dire la riga del file in cui hai l'errore...
    Non un pezzo di codice a caso.

    Roby
    riga n.8
    che sarebbe questa

    news.ActiveConnection = MM_news_STRING

    è strano che in locale mi funziona! con IIS

  6. #6
    Moderatore di ASP e MS Server L'avatar di Roby_72
    Registrato dal
    Aug 2001
    Messaggi
    19,559
    codice:
    news.Source = "SELECT news.* FROM news ORDER BY news.ID DESC"
    Roby

  7. #7
    Originariamente inviato da Roby_72
    codice:
    news.Source = "SELECT news.* FROM news ORDER BY news.ID DESC"
    Roby
    no ok

    ho risolto!

    all'interno di

    avevo scritto invece di
    MM_news_STRING = "Driver={Microsoft Access Driver (*.mdb)};Dbq=" & Server.Mappath("mdb-database/news.mdb")


    MM_article_STRING = "Driver={Microsoft Access Driver (*.mdb)};Dbq=" & Server.Mappath("mdb-database/news.mdb")

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.