0
1

Versión: 1.9.0.0
SQL Server

Para una recién instalación de Evolution, he eliminado las dll de los módulos que no han sido adquiridos por el Cliente, como son ClínicasMedicas, EncuestasSalariales, SeguridadOcupacional, ValuacionPuestosPuntos, ValuacionPuestosHay, tal como se indica en ¿Cómo se restringe el listado de módulos disponibles para un cliente?, con la salvedad que no eliminé los registros de la tabla sec.axo, pero sí le quité los permisos a todos los roles sobre las opciones de los módulos indicados.

Sin embargo, al intentar ingresar a http://localhost/Evolution/ en el servidor, se genera el error: The type name or alias IAccionEmergenciaService could not be resolved. Please check your configuration file and verify this type name
¿A qué podría deberse? ¿Qué configuración me hace falta?

El Stack Trace que muestra es el siguiente:
[InvalidOperationException: The type name or alias IAccionEmergenciaService could not be resolved. Please check your configuration file and verify this type name.] Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.TypeResolverImpl.ResolveType(String typeNameOrAlias, Boolean throwIfResolveFails) +260 Microsoft.Practices.Unity.Configuration.RegisterElement.ConfigureContainer(IUnityContainer container) +100 Microsoft.Practices.Unity.Configuration.<>cDisplayClass1.<configurecontainer>b0(ContainerConfiguringElement element) +25 Microsoft.Practices.ObjectBuilder2.EnumerableExtensions.ForEach(IEnumerable1 sequence, Action1 action) +136 Microsoft.Practices.Unity.Configuration.UnityContainerExtensions.LoadConfiguration(IUnityContainer container, UnityConfigurationSection section, String containerName) +215 Aseinfo.VH4.UI.Web.MvcApplication.InitializeUnity() in c:BuildAgentwork89066541112bb801VH4UIWebGlobal.asax.cs:545 Aseinfo.VH4.UI.Web.MvcApplication.Application_Start() in c:BuildAgentwork89066541112bb801VH4UIWebGlobal.asax.cs:107

[HttpException (0x80004005): The type name or alias IAccionEmergenciaService could not be resolved. Please check your configuration file and verify this type name.] System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +12601645 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +175 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +304 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +404 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +475

[HttpException (0x80004005): The type name or alias IAccionEmergenciaService could not be resolved. Please check your configuration file and verify this type name.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12618692 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12458309

asked 05 Oct '15, 14:45

Henry%20Sandoval's gravatar image

Henry Sandoval
(suspended)
accept rate: 53%

edited 05 Oct '15, 15:09


Si vas a eliminar los DLL's de los módulos no adquiridos, también tendrias que eliminar las asociaciones en el unity.config a las clases existentens en los namespaces de los dll's eliminados.

Por eso, usualmente solo eliminamos los registros de las tablas sec.axo y sec.opc, para no tener que coregir el unity.config en los tres lugares donde existe: website, workflow y tools.

link

answered 05 Oct '15, 16:03

Fernando%20Paz's gravatar image

Fernando Paz ♦♦
17.3k81635
accept rate: 51%

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
×1
×1

Asked: 05 Oct '15, 14:45

Seen: 983 times

Last updated: 05 Oct '15, 16:03

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