Visualizzazione dei risultati da 1 a 3 su 3

Discussione: Web Hosting

  1. #1
    Utente di HTML.it
    Registrato dal
    May 2008
    residenza
    Roma
    Messaggi
    26

    Web Hosting

    Ho un account sul server Aruba su piattaforma Windows.

    Ho creato con Visual Studio 2008 un piccolo sito costituito da default.aspx, default.aspx.vb e web.config che funzionano in local host perfettamente.

    Se le salvo sul server Aruba e tento di aprire il sito ottengo puntualmente questo errore:
    Server Error in '/' Application.
    Runtime Error
    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
    Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
    Ho scritto ad Aruba e ho ottenuto questa risposta:
    Gentile cliente,
    l'errore :

    Could not load file or assembly 'MyApplicationOne.Web' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.BadImageFormatException: Could not load file or assembly 'MyApplicationOne.Web' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
    Le ricordo che l'applicazione deve essere situata in ROOT e che non si creano virtual directory.
    Questo significa che il file di configurazione "web.config" deve essere uno e situato sulla ROOT (cartella nominata come il dominio), tutte le dll devono essere all'interno della cartella BIN anch'essa in ROOT .
    Il livello di sicurezza immodificabile è impostato su MEDIUM TRUST .
    Non ho capito molto: qualcuno può darmi una mano?
    Sigma Beta

  2. #2
    In pratica:
    Tutto ciò che hai realizzato, e si trova all'interno della tua cartella del progetto/sito, deve essere caricato nella cartella root del tuo sito, tramite ftp, ad es. mio-dominio.ext.

    Semmai, prima di fare l'upload sull'host, prova a compilare (build) il progetto.

    Saluti

  3. #3
    Utente di HTML.it
    Registrato dal
    May 2008
    residenza
    Roma
    Messaggi
    26

    Web Hosting Aruba

    Vuoi dire che dovrebbe esserci una cartella chiamata root o per root intendiamo il sito da per sè (nomesito.xx)?
    Inoltre devo caricare anche la pagina default.aspx.vb o - come qualcuno mi ha suggerito - dovrei mettere le dll nella cartella bin?
    Dove produco in caso le dll?
    Sigma Beta

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.