Visualizzazione dei risultati da 1 a 3 su 3

Discussione: collegamento db

  1. #1
    Utente di HTML.it
    Registrato dal
    Jul 2003
    Messaggi
    583

    collegamento db

    sto provando questo coll.to al db

    cn.Open "driver={Microsoft Access Driver (*.mdb)};dbq="&Server.MapPath("../public/databaseutenti.mdb")


    mi da sempre questo errore


    Server.MapPath() error 'ASP 0175 : 80004005'

    Disallowed Path Characters
    /ccccxxxx/processprog.asp, line 10

    The '..' characters are not allowed in the Path parameter for the MapPath method.


    ma il coll.to è giusto perchè fa cosi
    saluti

  2. #2
    Moderatore di ASP e MS Server L'avatar di Roby_72
    Registrato dal
    Aug 2001
    Messaggi
    19,559
    codice:
    cn.Open "driver={Microsoft Access Driver (*.mdb)};dbq="&Server.MapPath("/public/databaseutenti.mdb")
    Non mettere il db nella cartella public comunque...

    Roby

  3. #3
    Utente di HTML.it
    Registrato dal
    Apr 2004
    Messaggi
    94

    Re: collegamento db

    Originariamente inviato da forte78
    sto provando questo coll.to al db

    cn.Open "driver={Microsoft Access Driver (*.mdb)};dbq="&Server.MapPath("../public/databaseutenti.mdb")


    mi da sempre questo errore


    Server.MapPath() error 'ASP 0175 : 80004005'

    Disallowed Path Characters
    /ccccxxxx/processprog.asp, line 10

    The '..' characters are not allowed in the Path parameter for the MapPath method.


    ma il coll.to è giusto perchè fa cosi
    saluti
    se sei su aruba deve stare nella cartella mdb-database

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.