Al intentar instalar desde 0 la consola me devuelve este error.

Se revisaron que tuviera el framework 2.4.0 y en el bin del sitio trajera los dlls que corresponden, asi mismo se verificaron los permisos del usuario conectado al pool.

Server Error in '/' Application.
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0009: Metadata file 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll' could not be opened -- Could not load file or assembly 'System.Collections.Immutable, Version=1.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Source Error:

  [No relevant source lines]

   Source File:    Line: 0

  c:\windows\system32\inetsrv>C:\inetpub\RysConsola24\bin\roslyn\csc.exe /t:library /utf8output /nostdlib+ /R: ....

Microsoft (R) Visual C# Compiler version 2.7.0.62620 (e873e693)
Copyright (C) Microsoft Corporation. All rights reserved.

error CS0009: Metadata file 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll' could not be opened -- Could not load file or assembly 'System.Collections.Immutable, Version=1.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
error CS0009: Metadata file 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\2287dd16\279ac468\assembly\dl3\179afa94\00d0728c_35aed201\Microsoft.Owin.dll' could not be opened -- Could not load file or assembly 'System.Collections.Immutable, Version=1.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

. . .

error CS0009: Metadata file 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\2287dd16\279ac468\assembly\dl3\5087be24\e0b6edf6_9542d201\Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.dll' could not be opened -- Could not load file or assembly 'System.Collections.Immutable, Version=1.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
error CS0009: Metadata file 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Runtime.dll' could not be opened -- Could not load file or assembly 'System.Collections.Immutable, Version=1.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3282.0
This question is marked "community wiki".

asked 21 Jan '19, 15:54

Cristian%20Recinos's gravatar image

Cristian Recinos
(suspended)
accept rate: 100%

edited 30 Jan '19, 16:08

Fernando%20Paz's gravatar image

Fernando Paz ♦♦
17.3k81635


La solución temporal, mientras se corrige el instalador de la versión 2.4 es copiar el contenido del folder bin\roslyn del sitio Público al folder bin\roslyn de la Consola de Administración.

El problema es que falta un archivo en la distribución del instalador

link

answered 30 Jan '19, 16:09

Fernando%20Paz's gravatar image

Fernando Paz ♦♦
17.3k81635
accept rate: 51%

edited 30 Jan '19, 16:10

El sitio RYS requiere .NET Framework 4.7 o superior

link

answered 21 Jan '19, 16:19

sbarahona's gravatar image

sbarahona ♦♦
(suspended)
accept rate: 32%

El Sitio tiene .NET Framework 4.7.2 pero aún así da ese error.

(21 Jan '19, 17:01) Roberto Sanchez Roberto%20Sanchez's gravatar image

Perdon, se me olvido indicar que ya tiene .NET 4.7.2

(21 Jan '19, 17:03) Cristian Recinos Cristian%20Recinos's gravatar image

Cristian, ¿podrías revisar si el contenido de los folders \bin\roslyn del Sitio Publico y de la Consola Administrativa tienen el mismo número de archivos y las mismas fechas de ultima modificación?

(28 Jan '19, 12:37) Fernando Paz ♦♦ Fernando%20Paz's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Evolution en BitBucket

En este sitio puede acceder al código fuente, centro de descargas y reportar bugs, propuestas y mejoras para Evolution.

Evolution en JIRA

En este sitio puedes sugerir nueva funcionalidad para Evolution, o puedes votar por la funcionalidad ya propuesta por otros usuarios.

Tags:

×14
×2

Asked: 21 Jan '19, 15:54

Seen: 894 times

Last updated: 30 Jan '19, 16:10

[Acerca de] [Preguntas Frecuentes] [Privacidad] [Soporte] [Contacto]
Copyright 2013-2018. Asesores en Informática