Tenía Evolution instalado y corriendo sin problemas en una maquina virtual no se si alguna actualización pudo desconfigurar algo...

Previamente tenía este warning

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].

Para lo cual creé variables en el regedit y ya no aparecio... HKEY_LOCAL_MACHINESOFTWAREMicrosoftFusion Add: DWORD ForceLog set value to 1 DWORD LogFailures set value to 1 DWORD LogResourceBinds set value to 1 String LogPath set value to folder for logs (e.g. C:FusionLog)

Ahora tengo el siguiente error:

Server Error in '/Evolution' Application.

Could not load file or assembly 'Elmah' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))

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.IO.FileLoadException: Could not load file or assembly 'Elmah' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))

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 'Elmah' could not be loaded.

Assembly manager loaded from:  C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
Running under executable  c:\windows\system32\inetsrv\w3wp.exe
--- A detailed error log follows.

=== Pre-bind state information ===
LOG: User = NT AUTHORITY\SYSTEM
LOG: DisplayName = Elmah
 (Partial)
WRN: Partial binding information was supplied for an assembly:
WRN: Assembly Name: Elmah | Domain ID: 5
WRN: A partial bind occurs when only part of the assembly display name is provided.
WRN: This might result in the binder loading an incorrect assembly.
WRN: It is recommended to provide a fully specified textual identity for the assembly,
WRN: that consists of the simple name, version, culture, and public key token.
WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue.
LOG: Appbase = file:///C:/inetpub/wwwroot/Evolution/
LOG: Initial PrivatePath = C:\inetpub\wwwroot\Evolution\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\inetpub\wwwroot\Evolution\web.config
LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/evolution/b7bac82b/5522db8/Elmah.DLL.
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/evolution/b7bac82b/5522db8/Elmah/Elmah.DLL.
LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/Evolution/bin/Elmah.DLL.
LOG: Using application configuration file: C:\inetpub\wwwroot\Evolution\web.config
LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
ERR: Failed to complete setup of assembly (hr = 0x80070057). Probing terminated.

Stack Trace:

[FileLoadException: Could not load file or assembly 'Elmah' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))]

[FileLoadException: Could not load file or assembly 'Elmah, Version=1.1.11517.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))]
   System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0
   System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +39
   System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks) +132
   System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +144
   System.Reflection.Assembly.Load(String assemblyString) +28
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +46

[ConfigurationErrorsException: Could not load file or assembly 'Elmah, Version=1.1.11517.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))]
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +618
   System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +209
   System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +130
   System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +178
   System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies() +94
   System.Web.Compilation.BuildManager.CallPreStartInitMethods() +332
   System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +677

[HttpException (0x80004005): Could not load file or assembly 'Elmah, Version=1.1.11517.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9088796
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +97
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +256

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

asked 28 May '13, 16:43

Danny%20Villalta's gravatar image

Danny Villalta
(suspended)
accept rate: 33%

Al ejecutar la URL del workflow lo hace correctamente, el problema es con Evolution. http://localhost/EvolutionWorkflowService/AuthorizationWorkflow.xamlx

(28 May '13, 16:44) Danny Villalta Danny%20Villalta's gravatar image

Suena trivial pero te sugiero que revises si el archivo "Elmah.dll" está en el folder c:\inetpub\wwwroot\evolution\bin

Si efectivamente aparece el DLL en tu folder bin:

  • Baja el iis
  • Elimina el contenido el siguiente folder:C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET
  • Desactivale lo que le activaste porque si no el log será demasiado largo y mejor ponele debug="true" en el web.config en este tag

    <compilation debug="true">

link

answered 28 May '13, 17:32

sabanito's gravatar image

sabanito ♦♦
(suspended)
accept rate: 54%

edited 28 May '13, 17:33

OK con eso ya no me aparece el error, carga la pantalla de inicio pero al intentar loguearme me da el siguiente mensaje:

An error occurred while executing the command definition. See the inner exception for details. Invalid column name 'usr_codexp'.

El log de Elmah: (menciona error con acceso a la BD pero desde la herramienta de configuracion los test conexion dan OK)

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<error host="EVOLUTION" type="System.Exception" message="No fue posible obtener acceso a la base de datos local donde se almacenan los perfiles de los usuarios." source="Aseinfo.Infrastructure.Base" detail="System.Exception: No fue posible obtener acceso a la base de datos local donde se almacenan los perfiles de los usuarios.
 at Aseinfo.Infrastructure.Base.Web.Profile.get_UICultureName() in C:\BuildAgent\work\5ed3bec7206feb61\Infrastructure\Base\Web\Profile.cs:line 27
 at Aseinfo.Infrastructure.Base.Web.GlobalizationHttpModule.AdjustCultureInfoHandler(Object sender, EventArgs e) in C:\BuildAgent\work\5ed3bec7206feb61\Infrastructure\Base\Web\GlobalizationHttpModule.cs:line 42
 at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
 at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)" user="admin" time="2013-04-24T21:33:35.8830816Z">
<serverVariables>
<item name="ALL_HTTP">
<value string="HTTP_CACHE_CONTROL:max-age=0
 HTTP_CONNECTION:keep-alive
 HTTP_ACCEPT:*/*
 HTTP_ACCEPT_CHARSET:ISO-8859-1,utf-8;q=0.7,*;q=0.3
 HTTP_ACCEPT_ENCODING:gzip,deflate,sdch
 HTTP_ACCEPT_LANGUAGE:es-ES,es;q=0.8
 HTTP_COOKIE:ASP.NET_SessionId=50jywe05no5zcgdugbeuh2qn; .ASPXFORMSAUTH=83474D6F62F63D62D9C830AE0D81EC90C4B8A973D3089C843597BB5EAE606F571B24F6873EDF5677C9446D3AB62EA4060DDE47E25D9BFCEEC6E871A69CB2DB14AEE77570692A1013564C96072D3C9237F277DFC86629749ED342D7E7128C3131BBD9F04FED5C3C398B28D5B3B2AADC4091D166865F6FEFD9223245FC1EEF6EEEEA177CB38094CB3A944284C71A40373F; UsernameCookieKey=
 HTTP_HOST:localhost
 HTTP_IF_MODIFIED_SINCE:Wed, 24 Apr 2013 21:30:53 GMT
 HTTP_REFERER:http://localhost/evolution
 HTTP_USER_AGENT:Mozilla/5.0 (Windows NT 6.0) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31
 HTTP_X_REQUESTED_WITH:XMLHttpRequest
 "/>
</item>
<item name="ALL_RAW">
<value string="Cache-Control: max-age=0
 Connection: keep-alive
 Accept: */*
 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
 Accept-Encoding: gzip,deflate,sdch
 Accept-Language: es-ES,es;q=0.8
 Cookie: ASP.NET_SessionId=50jywe05no5zcgdugbeuh2qn; .ASPXFORMSAUTH=83474D6F62F63D62D9C830AE0D81EC90C4B8A973D3089C843597BB5EAE606F571B24F6873EDF5677C9446D3AB62EA4060DDE47E25D9BFCEEC6E871A69CB2DB14AEE77570692A1013564C96072D3C9237F277DFC86629749ED342D7E7128C3131BBD9F04FED5C3C398B28D5B3B2AADC4091D166865F6FEFD9223245FC1EEF6EEEEA177CB38094CB3A944284C71A40373F; UsernameCookieKey=
 Host: localhost
 If-Modified-Since: Wed, 24 Apr 2013 21:30:53 GMT
 Referer: http://localhost/evolution
 User-Agent: Mozilla/5.0 (Windows NT 6.0) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31
 X-Requested-With: XMLHttpRequest
 "/>
</item>
<item name="APPL_MD_PATH">
<value string="/LM/W3SVC/1/ROOT/Evolution"/>
</item>
<item name="APPL_PHYSICAL_PATH">
<value string="C:\inetpub\wwwroot\Evolution\"/>
</item>
<item name="AUTH_TYPE">
<value string="Forms"/>
</item>
<item name="AUTH_USER">
<value string="admin"/>
</item>
<item name="AUTH_PASSWORD">
<value string=""/>
</item>
<item name="LOGON_USER">
<value string="admin"/>
</item>
<item name="REMOTE_USER">
<value string="admin"/>
</item>
<item name="CERT_COOKIE">
<value string=""/>
</item>
<item name="CERT_FLAGS">
<value string=""/>
</item>
<item name="CERT_ISSUER">
<value string=""/>
</item>
<item name="CERT_KEYSIZE">
<value string=""/>
</item>
<item name="CERT_SECRETKEYSIZE">
<value string=""/>
</item>
<item name="CERT_SERIALNUMBER">
<value string=""/>
</item>
<item name="CERT_SERVER_ISSUER">
<value string=""/>
</item>
<item name="CERT_SERVER_SUBJECT">
<value string=""/>
</item>
<item name="CERT_SUBJECT">
<value string=""/>
</item>
<item name="CONTENT_LENGTH">
<value string="0"/>
</item>
<item name="CONTENT_TYPE">
<value string=""/>
</item>
<item name="GATEWAY_INTERFACE">
<value string="CGI/1.1"/>
</item>
<item name="HTTPS">
<value string="off"/>
</item>
<item name="HTTPS_KEYSIZE">
<value string=""/>
</item>
<item name="HTTPS_SECRETKEYSIZE">
<value string=""/>
</item>
<item name="HTTPS_SERVER_ISSUER">
<value string=""/>
</item>
<item name="HTTPS_SERVER_SUBJECT">
<value string=""/>
</item>
<item name="INSTANCE_ID">
<value string="1"/>
</item>
<item name="INSTANCE_META_PATH">
<value string="/LM/W3SVC/1"/>
</item>
<item name="LOCAL_ADDR">
<value string="::1"/>
</item>
<item name="PATH_INFO">
<value string="/Evolution/Home/RefrescarEjecucionesProcesos"/>
</item>
<item name="PATH_TRANSLATED">
<value string="C:\inetpub\wwwroot\Evolution\Home\RefrescarEjecucionesProcesos"/>
</item>
<item name="QUERY_STRING">
<value string=""/>
</item>
<item name="REMOTE_ADDR">
<value string="::1"/>
</item>
<item name="REMOTE_HOST">
<value string="::1"/>
</item>
<item name="REMOTE_PORT">
<value string="49318"/>
</item>
<item name="REQUEST_METHOD">
<value string="GET"/>
</item>
<item name="SCRIPT_NAME">
<value string="/Evolution/Home/RefrescarEjecucionesProcesos"/>
</item>
<item name="SERVER_NAME">
<value string="localhost"/>
</item>
<item name="SERVER_PORT">
<value string="80"/>
</item>
<item name="SERVER_PORT_SECURE">
<value string="0"/>
</item>
<item name="SERVER_PROTOCOL">
<value string="HTTP/1.1"/>
</item>
<item name="SERVER_SOFTWARE">
<value string="Microsoft-IIS/7.0"/>
</item>
<item name="URL">
<value string="/Evolution/Home/RefrescarEjecucionesProcesos"/>
</item>
<item name="HTTP_CACHE_CONTROL">
<value string="max-age=0"/>
</item>
<item name="HTTP_CONNECTION">
<value string="keep-alive"/>
</item>
<item name="HTTP_ACCEPT">
<value string="*/*"/>
</item>
<item name="HTTP_ACCEPT_CHARSET">
<value string="ISO-8859-1,utf-8;q=0.7,*;q=0.3"/>
</item>
<item name="HTTP_ACCEPT_ENCODING">
<value string="gzip,deflate,sdch"/>
</item>
<item name="HTTP_ACCEPT_LANGUAGE">
<value string="es-ES,es;q=0.8"/>
</item>
<item name="HTTP_COOKIE">
<value string="ASP.NET_SessionId=50jywe05no5zcgdugbeuh2qn; .ASPXFORMSAUTH=83474D6F62F63D62D9C830AE0D81EC90C4B8A973D3089C843597BB5EAE606F571B24F6873EDF5677C9446D3AB62EA4060DDE47E25D9BFCEEC6E871A69CB2DB14AEE77570692A1013564C96072D3C9237F277DFC86629749ED342D7E7128C3131BBD9F04FED5C3C398B28D5B3B2AADC4091D166865F6FEFD9223245FC1EEF6EEEEA177CB38094CB3A944284C71A40373F; UsernameCookieKey="/>
</item>
<item name="HTTP_HOST">
<value string="localhost"/>
</item>
<item name="HTTP_IF_MODIFIED_SINCE">
<value string="Wed, 24 Apr 2013 21:30:53 GMT"/>
</item>
<item name="HTTP_REFERER">
<value string="http://localhost/evolution"/>
</item>
<item name="HTTP_USER_AGENT">
<value string="Mozilla/5.0 (Windows NT 6.0) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31"/>
</item>
<item name="HTTP_X_REQUESTED_WITH">
<value string="XMLHttpRequest"/>
</item>
</serverVariables>
<cookies>
<item name="ASP.NET_SessionId">
<value string="50jywe05no5zcgdugbeuh2qn"/>
</item>
<item name=".ASPXFORMSAUTH">
<value string="83474D6F62F63D62D9C830AE0D81EC90C4B8A973D3089C843597BB5EAE606F571B24F6873EDF5677C9446D3AB62EA4060DDE47E25D9BFCEEC6E871A69CB2DB14AEE77570692A1013564C96072D3C9237F277DFC86629749ED342D7E7128C3131BBD9F04FED5C3C398B28D5B3B2AADC4091D166865F6FEFD9223245FC1EEF6EEEEA177CB38094CB3A944284C71A40373F"/>
</item>
<item name="UsernameCookieKey">
<value string=""/>
</item>
</cookies>
</error>
link

answered 28 May '13, 18:28

Danny%20Villalta's gravatar image

Danny Villalta
(suspended)
accept rate: 33%

Ya se cual es tu problema. ¿Seguro te dio luego de upgrade? Mira si la vista sec.usr_users_v de la EvoData (Versión 1.7.0.0) esté asi. Por alguna razón no se actualiza bien en algunos upgrades:

ALTER VIEW [sec].[usr_users_v]
AS
SELECT isnull(usr_codigo, 0) usr_codigo,
       nullif(usr_username, '') usr_username, 
       nullif(usr_nombre_usuario, '') usr_nombre_usuario, 
       nullif(eus_codexp, '') usr_codexp, 
       nullif(usr_activo, 2) usr_activo, 
       nullif(usr_modo_autenticacion, '') usr_modo_autenticacion, 
       nullif(usr_ultimo_acceso, '') usr_ultimo_acceso, 
       nullif(usr_email, '') usr_email, 
       nullif(usr_password, '') usr_password, 
       nullif(usr_pass_vence, 2) usr_pass_vence, 
       nullif(usr_pass_ultimo_cambio, '') usr_pass_ultimo_cambio, 
       nullif(usr_pass_cambiar_prox_acceso, 2) usr_pass_cambiar_prox_acceso, 
       usr_fecha_creacion, 
       usr_usuario_creacion, 
       usr_fecha_modificacion, 
       usr_usuario_modificacion, 
       nullif(usr_ver_mismo, 2) usr_ver_mismo, 
       nullif(usr_ver_subalternos, 2) usr_ver_subalternos, 
       nullif(usr_ver_solo_subalt_inmediat, 2) usr_ver_solo_subalt_inmediat
  FROM sec.usr_users
  LEFT JOIN sec.eus_expediente_usuario on eus_codusr = usr_codigo
link

answered 28 May '13, 20:17

sabanito's gravatar image

sabanito ♦♦
(suspended)
accept rate: 54%

edited 28 May '13, 20:17

Eso debe ser por que me estoy conectando a una base 1.7 y el Evolution era 1.6, voy a correr las instrucciones de actualizacion. Gracias

(28 May '13, 20:38) Danny Villalta Danny%20Villalta'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:

×2

Asked: 28 May '13, 16:43

Seen: 106,397 times

Last updated: 28 May '13, 20:38

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