Impossibile trovare il file o l'assembly di nome System oppure una delle sue dipendenze.
Descrizione: Eccezione non gestita durante l'esecuzione della richiesta Web corrente. Per ulteriori informazioni sull'errore e sul suo punto di origine nel codice, vedere l'analisi dello stack.
Dettagli eccezione: System.IO.FileNotFoundException: Impossibile trovare il file o l'assembly di nome System oppure una delle sue dipendenze.
Errore nel codice sorgente:
Il codice sorgente che ha generato questa eccezione non gestita può essere visualizzato soltanto durante la compilazione in modalità di debug. Per attivare tale modalità, eseguire una delle operazioni descritte di seguito, quindi richiedere l'URL:
1) Aggiungere una direttiva "Debug=true" all'inizio del file che ha generato l'errore. Esempio:
<%@ Page Language="C#" Debug="true" %>
Oppure:
2) Aggiungere la seguente sezione al file di configurazione dell'applicazione:
<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>
Se si utilizza la seconda tecnica, tutti i file all'interno dell'applicazione verranno compilati in modalità di debug. Con la prima tecnica verrà invece compilato in modalità di debug solo il file interessato.
Importante: l'esecuzione di applicazioni in modalità di debug causa un sovraccarico della memoria o una riduzione delle prestazioni. Assicurarsi che il debug di un'applicazione sia disattivato prima di distribuirla in un contesto di produzione.
Analisi del caricamento dell'assembly: Le informazioni che seguono possono aiutare a stabilire perché non è stato possibile caricare l'assembly 'System'.
=== Pre-bind state information ===
LOG: DisplayName = System, Version=1.0.2411.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
(Fully-specified)
LOG: Appbase = file:///c:/inetpub/wwwroot/aspnet/cap. 13/dotBoardUI
LOG: Initial PrivatePath = bin
Calling assembly : dotBoardUI, Version=1.0.649.37094, Culture=neutral, PublicKeyToken=null.
===
LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file (C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\aspn et.config).
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\confi g\machine.config.
LOG: Post-policy reference: System, Version=1.0.2411.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/aspnet_cap. 13_dotboardui/01d22f61/6e2fb3e7/System.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/aspnet_cap. 13_dotboardui/01d22f61/6e2fb3e7/System/System.DLL.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/aspnet/cap. 13/dotBoardUI/bin/System.DLL.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/aspnet/cap. 13/dotBoardUI/bin/System/System.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/aspnet_cap. 13_dotboardui/01d22f61/6e2fb3e7/System.EXE.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/aspnet_cap. 13_dotboardui/01d22f61/6e2fb3e7/System/System.EXE.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/aspnet/cap. 13/dotBoardUI/bin/System.EXE.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/aspnet/cap. 13/dotBoardUI/bin/System/System.EXE.
Analisi dello stack:
[FileNotFoundException: Impossibile trovare il file o l'assembly di nome System oppure una delle sue dipendenze.]
dotBoardUI.Global.InitializeComponent() +0
dotBoardUI.Global..ctor() in C:\Documents and Settings\asills\Desktop\Chapter 13\dotBoardUI\Global.asax.vb:13
ASP.Global_asax..ctor() in C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\Tempo rary ASP.NET Files\aspnet_cap. 13_dotboardui\01d22f61\6e2fb3e7\hhhhcqi0.0.vb:38
[TargetInvocationException: Eccezione generata dalla destinazione di una chiamata.]
System.RuntimeType.CreateInstanceImpl(Boolean publicOnly) +0
System.Activator.CreateInstance(Type type, Boolean nonPublic) +66
System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +277
System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +109
System.Web.HttpApplicationFactory.GetNormalApplica tionInstance(HttpContext context) +163
System.Web.HttpApplicationFactory.GetApplicationIn stance(HttpContext context) +241
System.Web.HttpRuntime.ProcessRequestInternal(Http WorkerRequest wr) +407