Visualizzazione dei risultati da 1 a 7 su 7
  1. #1
    Utente di HTML.it L'avatar di LupinI
    Registrato dal
    Jul 2008
    Messaggi
    54

    Win server 2019 e sito asp classico

    Salve.
    Sto migrando il mio server da win srv 2012 a 2019.
    Il sito web ASP + DB Access non funziona, ma soprattutto sembrerebbe che la funzionalità ASP non sia attiva pur essendo installata.

    Sto provando e riprovando, confronto le impostazioni dal vecchio al nuovo server ma niente da fare.

    Qualcuno ha avuto lo stesso problema?

    Grazie

  2. #2

  3. #3
    Utente di HTML.it L'avatar di LupinI
    Registrato dal
    Jul 2008
    Messaggi
    54
    Quote Originariamente inviata da optime Visualizza il messaggio
    Un passo avanti è stato fatto.
    l'errore mostrato sta ad indicare che ASP sta lavorando.

    Riporto di seguito l'errore :
    Microsoft OLE DB Provider for ODBC Drivers error '80004005'


    [Microsoft][Driver Manager ODBC] Nome origine dati non trovato e driver predefinito non specificato.


    /connessione.asp, riga 25

    Dal codice dell'errore sembrerebbe un problema di autorizzazioni ma confrontandole col win server 2012 sono identiche.
    L'utente che esegue le pagine ASP dovrebbe essere IUSR ma pur assegnando il controllo completo non va.

    Non ricordo se bisogna aggiungere un componente in Origini dati ODBC 32bit e Origini dati ODBC 64bit

  4. #4
    Utente di HTML.it L'avatar di LupinI
    Registrato dal
    Jul 2008
    Messaggi
    54
    Ho fatto altri TEST, non ci avevo pensato prima, ho messo un file asp di test che visualizza la data e l'ora di sistema e tutto funziona correttamente.
    Considerato l'errore il problema è di permessi insufficienti che non permettono lettura e scrittura dei db access pertanto chiedo se qualcuno mi può suggerire quali utenti devono essere abilitati sulle cartelle di lavoro e con quali permessi.
    Help

  5. #5
    Utente di HTML.it L'avatar di abellos
    Registrato dal
    Feb 2002
    Messaggi
    431
    Ciao quando ero passato a win 2012 anche io avevo avuto problemi ti elenco gli errori e le soluzioni che avevo trovato:

    1 - http://serverfault.com/questions/670...ors-in-browser
    errore:
    Browser is showing "500 - Internal server error." (I have turned off "Show Friendly Http Messages".
    In IIS 8 I have gone to ASP settings and set "Send Errors to Browser = True".

    soluzione:
    All you need to change here is Send Errors To Browser = True
    This should give you the real error in a browser on the server.
    To see that error in a remote computer click on the Error Pages icon for the site in IIS Manager and click Edit Feature Settings in the Actions pane on the right. Here choose Detailed errors.


    2 - http://www.iis.net/learn/application...led-by-default
    errore:
    Active Server Pages error 'ASP 0131'
    Disallowed Parent Path
    /test/example.asp, line 100
    The Include file '../_fpclass/fpdblib.inc' cannot contain '..' to indicate the parent directory.

    soluzione:
    You can enable or disable parent paths by using IIS Manager.
    To do so, open IIS Manager and navigate to the site or application where you want to configure parent paths, and then-double click the ASP feature.
    In the list of ASP features, configure the Enable Parent Paths option.

    3 - http://stackoverflow.com/questions/2...d-and-no-defau
    errore:
    Data source name not found and no default driver specified

    soluzione:
    1.Go to IIS and Application Pools in the left menu.
    2.Select relevant application pool which is assigned to the project.
    3.Click the Set Application Pool Defaults.
    4.In General Tab, set the Enable 32 Bit Application entry to "True".


    ************************************************** ************************************************** *
    ** IIS locale non si vedono immagini
    https://stackoverflow.com/questions/...ption-in-iis-7

    soluzione:
    "And if you're on a non-server OS like Windows 8, do a search on the start page for "Turn Windows features on or off"
    and enable Internet Information Services -> World Wide Web Services -> Common HTTP Features -> Static Content"

    ------------------------------
    reinstallazione PC
    attivare le funzionalita aggiuntive windows
    vedi immagini IIS_funzionalità
    Da un grande potere derivano grandi responsabilità

  6. #6
    Amministratore L'avatar di Vincent.Zeno
    Registrato dal
    May 2003
    residenza
    Emilia-Romagna (tortellini und cappelletti land!)
    Messaggi
    20,781
    l'origine dati 32 bit è abilitata?

  7. #7
    Utente di HTML.it L'avatar di LupinI
    Registrato dal
    Jul 2008
    Messaggi
    54
    Grazie, risolto semplicemente seguendo il punto 3

    In effetti, ora che ricordo, ho avuto lo stesso problema passando da 2003 a 2012.
    Mille grazie a tutti


    Quote Originariamente inviata da abellos Visualizza il messaggio
    Ciao quando ero passato a win 2012 anche io avevo avuto problemi ti elenco gli errori e le soluzioni che avevo trovato:

    1 - http://serverfault.com/questions/670...ors-in-browser
    errore:
    Browser is showing "500 - Internal server error." (I have turned off "Show Friendly Http Messages".
    In IIS 8 I have gone to ASP settings and set "Send Errors to Browser = True".

    soluzione:
    All you need to change here is Send Errors To Browser = True
    This should give you the real error in a browser on the server.
    To see that error in a remote computer click on the Error Pages icon for the site in IIS Manager and click Edit Feature Settings in the Actions pane on the right. Here choose Detailed errors.


    2 - http://www.iis.net/learn/application...led-by-default
    errore:
    Active Server Pages error 'ASP 0131'
    Disallowed Parent Path
    /test/example.asp, line 100
    The Include file '../_fpclass/fpdblib.inc' cannot contain '..' to indicate the parent directory.

    soluzione:
    You can enable or disable parent paths by using IIS Manager.
    To do so, open IIS Manager and navigate to the site or application where you want to configure parent paths, and then-double click the ASP feature.
    In the list of ASP features, configure the Enable Parent Paths option.

    3 - http://stackoverflow.com/questions/2...d-and-no-defau
    errore:
    Data source name not found and no default driver specified

    soluzione:
    1.Go to IIS and Application Pools in the left menu.
    2.Select relevant application pool which is assigned to the project.
    3.Click the Set Application Pool Defaults.
    4.In General Tab, set the Enable 32 Bit Application entry to "True".


    ************************************************** ************************************************** *
    ** IIS locale non si vedono immagini
    https://stackoverflow.com/questions/...ption-in-iis-7

    soluzione:
    "And if you're on a non-server OS like Windows 8, do a search on the start page for "Turn Windows features on or off"
    and enable Internet Information Services -> World Wide Web Services -> Common HTTP Features -> Static Content"

    ------------------------------
    reinstallazione PC
    attivare le funzionalita aggiuntive windows
    vedi immagini IIS_funzionalità

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.