• Martes 19 de Noviembre de 2024, 19:43

Autor Tema:  ERROR: Could not load file or assembly 'Npgsql, Version=1.98  (Leído 3030 veces)

homess

  • Nuevo Miembro
  • *
  • Mensajes: 11
    • Ver Perfil
ERROR: Could not load file or assembly 'Npgsql, Version=1.98
« en: Viernes 18 de Julio de 2008, 19:45 »
0
saludos a todos

el motivo de mi mensaje es que tengo un error al cargar una pagina.. estoy haciendo un sistemas con un manejador de Contenidos y con base de datos Postgresql... todo esto en Xp... al momento de hacer la referencia a NPgsql.dll y cargar la pagina me sale el siguiente mensaje

Could not load file or assembly 'Npgsql, Version=1.98.2.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
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 'Npgsql, Version=1.98.2.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

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 'Npgsql, Version=1.98.2.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7' could not be loaded.


WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLMSoftwareMicrosoftFusion!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 [HKLMSoftwareMicrosoftFusion!EnableLog].

 

Stack Trace:


[FileLoadException: Could not load file or assembly 'Npgsql, Version=1.98.2.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]
   DotNetNuke.PostgreSqlDataProvider.PostgreSqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) +0
   DotNetNuke.Data.PostgreSqlDataProvider.GetPortalAliasByPortalID(Int32 PortalID) +77
   DotNetNuke.Entities.Portals.PortalAliasController.GetPortalAliasByPortalID(Int32 PortalID) +35
   DotNetNuke.Entities.Portals.PortalSettings.GetPortalAliasLookup() +74
   DotNetNuke.Entities.Portals.PortalSettings.GetPortalAliasInfo(String PortalAlias) +14
   DotNetNuke.HttpModules.UrlRewriteModule.RewriteUrl(HttpApplication app) +3534
   DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +840
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +138
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +65

 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

probe con un opcion que me da en la propia pagina... que es el modificar [HKLMSoftwareMicrosoftFusion!EnableLog] (DWORD) to 1.. pero no funciona...

Npgsql.dll esta en el directorio bin del sitio....
 
si alguien podría ayudarme...

de antemano muchas gracias.....