Visualizzazione dei risultati da 1 a 2 su 2
  1. #1
    Utente di HTML.it L'avatar di Brainjar
    Registrato dal
    Nov 2004
    Messaggi
    1,162

    Failed to access IIS metabase.

    Salve a tutti.
    Sto iniziando a capire qualcosa di ASP.NET.
    Al primo tentativo si pagina, come da esempi sulla guida MS, mi imbatto in questo errore:

    Server Error in '/Mod05CS' Application.
    --------------------------------------------------------------------------------

    Failed to access IIS metabase.
    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.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase.

    The process account used to run ASP.NET must have read access to the IIS metabase (e.g. IIS://servername/W3SVC). For information on modifying metabase permissions, please see http://support.microsoft.com/?kbid=267904.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:


    [HostingEnvironmentException: Failed to access IIS metabase.]
    System.Web.Configuration.MetabaseServerConfig.MapP athCaching(String siteID, VirtualPath path) +3492138
    System.Web.Configuration.MetabaseServerConfig.Syst em.Web.Configuration.IConfigMapPath.MapPath(String siteID, VirtualPath vpath) +9
    System.Web.Hosting.HostingEnvironment.MapPathActua l(VirtualPath virtualPath, Boolean permitNull) +163
    System.Web.CachedPathData.GetConfigPathData(String configPath) +382
    System.Web.CachedPathData.GetConfigPathData(String configPath) +382
    System.Web.CachedPathData.GetConfigPathData(String configPath) +243
    System.Web.CachedPathData.GetConfigPathData(String configPath) +243
    System.Web.CachedPathData.GetApplicationPathData() +68
    System.Web.CachedPathData.GetVirtualPathData(Virtu alPath virtualPath, Boolean permitPathsOutsideApp) +3385647
    System.Web.Configuration.RuntimeConfig.GetLKGRunti meConfig(VirtualPath path) +189

    Premesso che ho attivato il servizioIIS su quella pagina come ASP.NET 2.0 ma non riesco
    a capire la natura del problema.

    Come devo operare ?
    Grazie a tutti in anticipo.
    Ciao, Brainjar

  2. #2
    Utente di HTML.it L'avatar di Brainjar
    Registrato dal
    Nov 2004
    Messaggi
    1,162
    Cercando sulla Rete, ho trovato una soluzione semplicissima.
    Da Installazione Applicazioni scegliere di Reinstallare/Riparare l'installazione del
    NET Framework (nel mio caso il 2.0).
    Occhio al file web.config, almeno all'inizio conviene cancellarlo. E' il responsabile ti
    molti errori. O meglio, se non lo si sa scrivere/implementare, si ottengono diverse
    segnalazioni.

    Grazie a tutti comunque.
    Ciao.
    Ciao, Brainjar

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