Continuano i problemi molto simili a quelli segnalati ieri nel post: Could not load file or assembly 'App_Web_xxxxx'.
Da ieri sera in modo molto irregolare sono comparsi i seguenti i due tipi di errori:
Errore1:
--------------------------------------------
Event code: 3007
Event message: A compilation error has occurred.
Event time: 20/03/2007 18.33.47
Event time (UTC): 20/03/2007 17.33.47
Event ID: efcf997ed19c4f2eaa3f6deecde1ffea
Event sequence: 32
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/93423454/Root-5-128188856213353040
Trust level: Full
Application Virtual Path: /
Application Path: C:\astegiudiziarie\astegiudiziarie.it\
Machine name: ASTESERVER
Process information:
Process ID: 2552
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: Exception
Exception message: vbc : Command line (0): error BC2017: could not find library 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\29426720\e9f28c74\App_WebReferences.d_xbwqzg.dll'
Request information:
Request URL: http://www.astegiudiziarie.it/Default.aspx
Request path: /Default.aspx
User host address: 82.89.219.71
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE
Thread information:
Thread ID: 49
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at System.Web.UI.TemplateParser.ProcessException(Exception ex)
at System.Web.UI.TemplateParser.ProcessMainDirective(IDictionary mainDirective)
at System.Web.UI.TemplateControlParser.ProcessMainDirective(IDictionary mainDirective)
at System.Web.UI.PageParser.ProcessMainDirective(IDictionary mainDirective)
at System.Web.UI.TemplateParser.ProcessDirective(String directiveName, IDictionary directive)
at System.Web.UI.BaseTemplateParser.ProcessDirective(String directiveName, IDictionary directive)
at System.Web.UI.TemplateControlParser.ProcessDirective(String directiveName, IDictionary directive)
at System.Web.UI.PageParser.ProcessDirective(String directiveName, IDictionary directive)
at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
Custom event details:
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
--------------------------------------
Dopo qualche minuto l'errore 2 simile:
---------------------------------
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 20/03/2007 19.30.31
Event time (UTC): 20/03/2007 18.30.31
Event ID: 7b0f4472fa094bd7b35ccc446941c6b1
Event sequence: 12268
Event occurrence: 3992
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/93423454/Root-5-128188856213353040
Trust level: Full
Application Virtual Path: /
Application Path: C:\astegiudiziarie\astegiudiziarie.it\
Machine name: ASTESERVER
Process information:
Process ID: 2552
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: InvalidOperationException
Exception message: Unable to generate a temporary class (result=1).
error CS0006: Metadata file 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\29426720\e9f28c74\App_WebReferences.d_xbwqzg.dll' could not be found
Request information:
Request URL: http://www.astegiudiziarie.it/Default.aspx
Request path: /Default.aspx
User host address: 87.3.31.50
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE
Thread information:
Thread ID: 123
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, CompilerParameters parameters, Evidence evidence)
at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, CompilerParameters parameters, Assembly assembly, Hashtable assemblies)
at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)
at System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[] mappings, Type type)
at System.Web.Services.Protocols.SoapClientType..ctor(Type type)
at System.Web.Services.Protocols.SoapHttpClientProtocol..ctor()
at WS_Accessi.WSAccessi..ctor()
at ASP.global_asax.Session_Start(Object sender, EventArgs e)
at System.Web.SessionState.SessionStateModule.RaiseOnStart(EventArgs e)
at System.Web.SessionState.SessionStateModule.CompleteAcquireState()
at System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData)
at System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
.......
--------------------------------------------------------
In sostanza da "could not find library" siamo passati a "Unable to generate a temporary class" però per la stessa classe C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\root\29426720\e9f28c74\App_WebReferences.d_xbwqzg.dll.
Inoltre segnalo che navigando dalle macchine della azienda l'errore compare a video in modo casuale (ogni circa 10 refresh) da fuori azienda compare con frequenza maggiore.
Insomma il problema è serio. Primo perchè non riusciamo a trapparlo (come potremmmo gestirlo a livello di eccezione in modo da non far comparire la pagina di errore dell'asp.net?) e poi perchè non si intravede una soluzione tecnica (installare il framework 3.0 sul web server incriminato?).
Grazie ancora per la pazienza.