SoloCodigo

Bases de Datos => Otras Bases de Datos => PostgreSQL => Mensaje iniciado por: homess en Martes 17 de Junio de 2008, 15:48

Título: Error: Conexion Postgres Con Dotnetnuke
Publicado por: homess en Martes 17 de Junio de 2008, 15:48
saludos a todos del foro de SoloCodigo

estoy intentando conectar postgres con dotnetnuke y al modificar algunos parametros del web.config me produce el siguiente error:

Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.

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.  

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   DotNetNuke.Common.Utilities.Config.GetConnectionString(String name) +48
   DotNetNuke.Common.Utilities.Config.GetConnectionString() +38
   DotNetNuke.Data.SqlDataProvider..ctor() +83

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0
   System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +103
   System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +261
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +66
   DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectProviderName, String ObjectNamespace, String ObjectAssemblyName, Boolean UseCache) +582
   DotNetNuke.Data.DataProvider.CreateProvider() +46
   DotNetNuke.Data.DataProvider..cctor() +13

[TypeInitializationException: The type initializer for 'DotNetNuke.Data.DataProvider' threw an exception.]
   DotNetNuke.Common.Globals.GetUpgradeStatus() +67
   DotNetNuke.Common.Initialize.CheckVersion(HttpApplication app) +147
   DotNetNuke.Common.Initialize.InitializeApp(HttpApplication app) +408
   DotNetNuke.Common.Initialize.Init(HttpApplication app) +127
   DotNetNuke.HttpModules.RequestFilter.RequestFilterModule.FilterRequest(Object sender, EventArgs e) +162
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +138
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +65

 
los parametros que cambie son <connectionStrings>, <authentication mode="Forms">, <machineKey>, <membership>, <roleManager>, <profile>, <sessionState>, si alguien podría ayudarme a corregir el error, me ayudaria un mundo

de antenamo.... gracias