Visualizzazione dei risultati da 1 a 4 su 4

Discussione: errore ma..dove?

  1. #1
    Utente di HTML.it
    Registrato dal
    Mar 2001
    Messaggi
    217

    errore ma..dove?

    hola friend.. ho un errore alla linea in grassetto ma nn riesco a capire.

    questo è l'errore:
    Server.MapPath() error 'ASP 0173 : 80004005'

    Invalid Path Character

    /psnews/PSnews_set_and_open_database.asp, line 6

    An invalid character was specified in the Path parameter for the MapPath method.




    <%

    ' If using an Microsoft Access 2000 database, open with this method '
    If strDatabaseType = "1" Then
    Set Conn = Server.CreateObject("ADODB.Connection")
    Conn.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" &Server.MapPath("" & strAccessDatabasePathAndName & ";pwd=" & strAccessDatabasePassword & ";") End If

    ' If using a Microsoft SQL Server 2000 database, open with this method '
    If strDatabaseType = "2" Then
    Set Conn = Server.CreateObject("ADODB.Connection")
    Conn.Open = "DRIVER={SQL Server};SERVER=" & strSQLServerName & ";uid="& strSQLUserName &";pwd=" & strSQLPassword & ";database=" & strSQLDatabaseName & ""
    End If

    %>

  2. #2
    Conn.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" &Server.MapPath("" & strAccessDatabasePathAndName & ";pwd=" & strAccessDatabasePassword & ";")

    consiglio delle 3.55 di notte da gonfio...


    codice:
    Conn.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath(strAccessDatabasePathAndName) & ";pwd=" & strAccessDatabasePassword & ";"
    san imente saluta

    * http://simonecingano.it *

  3. #3
    Utente di HTML.it
    Registrato dal
    Mar 2001
    Messaggi
    217
    grassieeeeeeeeeeeeeeee
    saranno ste anke le 4 ma ci prendi alla grande :-)

  4. #4
    figurati...

    le funzioni base del mio cervello rimangono attive anche alle 4 da gonfio ( e una di queste è /BIN/DEVELOPER )
    san imente saluta

    * http://simonecingano.it *

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 © 2025 vBulletin Solutions, Inc. All rights reserved.