Windows 2003 Server - SQL Server 2005 - DotNetNuke 4.8 - Microsoft .NET Framework Version:2.0.50727.235 - ASP.NET Version:2.0.50727.235
I'm getting the following error when I connect to my site and try to run the install script. Thanks.
Server Error in '/dotnetnuke' Application.
--------------------------------------------------------------------------------
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) +59
DotNetNuke.Data.SqlDataProvider..ctor() +126
[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) +128
System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +301
System.Activator.CreateInstance(Type type, Boolean nonPublic) +77
DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectProviderName, String ObjectNamespace, String ObjectAssemblyName, Boolean UseCache) +879
DotNetNuke.Data.DataProvider.CreateProvider() +93
[TypeInitializationException: The type initializer for 'DotNetNuke.Data.DataProvider' threw an exception.]
DotNetNuke.Entities.Portals.PortalSettings.GetProviderPath() +24
DotNetNuke.Common.Globals.GetUpgradeStatus() +88
DotNetNuke.Common.Initialize.CheckVersion(HttpApplication app) +229
DotNetNuke.Common.Initialize.InitializeApp(HttpApplication app) +652
DotNetNuke.Common.Initialize.Init(HttpApplication app) +126
DotNetNuke.HttpModules.RequestFilter.RequestFilterModule.FilterRequest(Object sender, EventArgs e) +179
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +176
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +177