Inquiridor
Erro ao carregar página após atualizar .NET Framework.

Pergunta
-
Olá, boa tarde.
Acho que estou postando no local errado... mas o erro me ocorreu logo após eu ter feito uma atualização do Windows Server 2003 (no .NET do servidor, no caso). Após a atualização eu estou recebendo o seguinte erro em um website:Server Error in '/' Application. Could not load file or assembly 'Microsoft.JScript, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The file or directory is corrupted and unreadable. (Exception from HRESULT: 0x80070570) 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 'Microsoft.JScript, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The file or directory is corrupted and unreadable. (Exception from HRESULT: 0x80070570) 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. Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.JScript, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' could not be loaded. WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. Stack Trace: [BadImageFormatException: Could not load file or assembly 'Microsoft.JScript, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The file or directory is corrupted and unreadable. (Exception from HRESULT: 0x80070570)] System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName) +0 System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +64 System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +58 System.Type.GetType(String typeName) +50 System.CodeDom.Compiler.CompilerInfo.get_IsCodeDomProviderTypeValid() +9 System.Web.Compilation.CompilationUtil.GetRecompilationHash(CompilationSection ps) +1844 System.Web.Configuration.CompilationSection.get_RecompilationHash() +99 System.Web.Compilation.BuildManager.CheckTopLevelFilesUpToDate2(StandardDiskBuildResultCache diskCache) +334 System.Web.Compilation.BuildManager.CheckTopLevelFilesUpToDate(StandardDiskBuildResultCache diskCache) +55 System.Web.Compilation.BuildManager.RegularAppRuntimeModeInitialize() +174 System.Web.Compilation.BuildManager.Initialize() +241 System.Web.Compilation.BuildManager.InitializeBuildManager() +267 System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags) +224 [HttpException (0x80004005): Could not load file or assembly 'Microsoft.JScript, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The file or directory is corrupted and unreadable. (Exception from HRESULT: 0x80070570)] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8890735 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +85 System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +259 Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082
Alguém teria uma solução pra tal erro? Estou procurando uma solução há mais de 5 horas e não acho nada, se alguém puder me ajudar.... :)
- Movido AndreAlvesLima domingo, 4 de julho de 2010 19:30 (De:.NET Development - Geral)
Todas as Respostas
-
-
-
O que propriamente foi alterado? A versão do .NET framework em ambiente de desenvolvimento ou no lado do cliente?
Existe algum componente de terceiro ou proprietário que esta utilizando uma versão diferente da versão do .net framework instalado?
Onde o problema esta ocorrendo?
Tornar o simples complicado é facil, tornar o complicado simples é criatividade, vontade e conhecimento -
-
Prezado,
Estou migrando seu post para o fórum de Desenvolvimento Web Geral.
Por favor, das próximas vezes que for postar alguma dúvida referente a esse assunto, poste por lá.
Obrigado.
André Alves de Lima
Visite o meu site: http://andrealveslima.spaces.live.com
Me siga no Twitter: @andrealveslima -
Neste caso, certifique-se de que o servidor esta utilizando a versão do .net framework compatível com a da sua aplicação.
Exemplo:
Migrei meu servidor web para .net framework 4.0 e alterei o application pool do meu website para .net 4.0, contudo, minha aplicação web estava no framework 3.5 (que utiliza o application pool com o .net framework 2.0), neste caso, devo migrar minha aplicação para .net framework 4.0 ou alterar o application pool do website para 2.0.
Veja se funciona e avise! Espero ter ajudado, até mais.
Tornar o simples complicado é facil, tornar o complicado simples é criatividade, vontade e conhecimento