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

    ASP Stats Generator 2.1.5 e l'errore msxml4.dll '80072f7c'

    Salve a tutti,

    come da titolo, sul sito che "amministro" esce questo errore quando, dopo aver effettuato il login sull'ASG, il server cerca di effettuare il redirect per vedere le normali funzioni.

    L'errore preciso che mi viene fuori è questo:

    Codice PHP:
    msxml4.dll error '80072f7c' 

     
    The HTTP redirect request failed  

     
    /myasg/asg-lib/http.aspline 63 

    mentre il file incriminato è questo:

    codice:
    <%
      public function asgHttpRequest(method, url)
      Dim objXmlHttp
      Dim intStatus, strResponse
      
      Set objXmlHttp = Server.CreateObject("MSXML2.ServerXMLHTTP.4.0") 
      'on error resume next 
      
      objXmlHttp.open method, url, false
      'objXmlHttp.setRequestHeader "User-Agent", "foo"
      objXmlHttp.send
      
      intStatus = objXmlHttp.status 
      'if err.number <> 0 or intStatus <> 200 then
      if intStatus <> 200 then
        strResponse = intStatus
      else
        strResponse = CStr(objXmlHttp.ResponseText)
      end if  
      
      Set objXmlHttp = Nothing
      asgHttpRequest = strResponse
    end function
    
    ' 
    ' Sends an HTTP GET Request to given url.
    ' method variable denotes the method used for the HTTP request.
    ' 
    ' Returns a string containing the HTTP response.
    '
    public function asgHttpGetRequest(url)
      asgHttpGetRequest = asgHttpRequest("GET", url)
    end function
    
    ' 
    ' Sends an HTTP POST Request to given url.
    ' method variable denotes the method used for the HTTP request.
    ' 
    ' Returns a string containing the HTTP response.
    '
    public function asgHttpPostRequest(url)
      asgHttpPostRequest = asgHttpRequest("POST", url)
    end function
    %>
    Io purtroppo non programmo in ASP e quindi non so proprio dove metter le mani .
    Se qualcuno riesce a fornirmi supporto gliene sarò grato .


    Raziel86

  2. #2
    Amministratore L'avatar di Vincent.Zeno
    Registrato dal
    May 2003
    residenza
    Emilia-Romagna (tortellini und cappelletti land!)
    Messaggi
    20,807
    ho avuto un problema analogo poco tempo fa...
    vai alla riga 59 e de-commenta on error resume next

  3. #3
    Grazie per la risposta.
    Ho fatto la modifica da te consigliata (così giusto?)

    codice:
     '/* 'on error resume next */
    ma ottengo la stessa cosa (anche a cache svuotata e diversi browser)

  4. #4
    Amministratore L'avatar di Vincent.Zeno
    Registrato dal
    May 2003
    residenza
    Emilia-Romagna (tortellini und cappelletti land!)
    Messaggi
    20,807
    DE-commenta: togli l'apostrofo all'inizio

  5. #5
    Funziona perfettamente.
    Grazie milleVincent.Zeno

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.