Visualizzazione dei risultati da 1 a 5 su 5

Discussione: Problema Xmlhttp

  1. #1

    Problema Xmlhttp

    su vb access ho questo codice

    codice:
    myURL = "http://www.miosito.it/fileditesto.txt"
    
    Set XMLHTTP = CreateObject("MSXML2.XMLHTTP")
    XMLHTTP.Open "GET", myURL, False
    XMLHTTP.send dapage
    dapage = XMLHTTP.responseText
    Set XMLHTTP = Nothing
    
    miaVar = Split(dapage, ";", -1, 0)
    
    testo.Value = miaVar(0)
    dove fileditesto.txt
    data;dato1;dato2....


    tutto ok su mio server


    ma su aruba fileditesto.txt
    codice:
     
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <HTML><HEAD><TITLE>The page cannot be displayed</TITLE>
    <META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">
    <STYLE type="text/css">
      BODY { font: 8pt/12pt verdana }
      H1 { font: 13pt/15pt verdana }
      H2 { font: 8pt/12pt verdana }
      A:link { color: red }
      A:visited { color: maroon }
    </STYLE>
    </HEAD><BODY><TABLE width=500 border=0 cellspacing=10><TR><TD>
    
    <h1>The page cannot be displayed</h1>
    There is a problem with the page you are looking for and it cannot be displayed. This error can occur if you are trying to display an HTML page that resides in a directory that is configured to allow Execute or Script permissions only.
    <hr>
    
    
    Please try the following:</p>
    <ul>[*]Contact the Web site administrator if you believe this directory should allow read access.[/list]
    <h2>HTTP Error 403.2 - Forbidden: Read access is denied.
    Internet Information Services (IIS)</h2>
    <hr>
    
    
    Technical Information (for support personnel)</p>
    <ul>[*]Go to Microsoft Product Support Services and perform a title search for the words HTTP and 403.[*]Open IIS Help, which is accessible in IIS Manager (inetmgr),
     and search for topics titled Using Virtual Directories, Changing Default Web Site Settings, and About Custom Error Messages.[/list]
    
    </TD></TR></TABLE></BODY></HTML>
    come mai????
    MEMENTO AUDERE SEMPER
    Maxxl

    www.maxxl.it

  2. #2
    Moderatore di ASP e MS Server L'avatar di Roby_72
    Registrato dal
    Aug 2001
    Messaggi
    19,559
    HTTP Error 403.2 - Forbidden: Read access is denied.

    Te lo dice, la pagina è in una cartella senza permessi di lettura.

    Roby

  3. #3
    grazie...

    strano però perchè il file è in mdb-database dove il db in access funziona senza problemi come pur la scrittura del file...

    Ho letto su aruba che la cartella dove scrivere e leggere file è /Public/ corretto???
    MEMENTO AUDERE SEMPER
    Maxxl

    www.maxxl.it

  4. #4

  5. #5

    Grazie Roby
    MEMENTO AUDERE SEMPER
    Maxxl

    www.maxxl.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.