hi
I have installed a new instance of DotNetNuke on XP Professional. When navigate to http://localhost/dotNetNuke I get the error below.
Does anyone know how to fix it?
Regards
ghp
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:
Line 81: ComponentFactory.InstallComponents(New ProviderInstaller("profiles", GetType(DotNetNuke.Security.Profile.ProfileProvider)))
Line 82: ComponentFactory.InstallComponents(New ProviderInstaller("permissions", GetType(DotNetNuke.Security.Permissions.PermissionProvider)))
Line 83: Dim provider As DotNetNuke.Security.Permissions.PermissionProvider = DotNetNuke.ComponentModel.ComponentFactory.GetComponent(Of DotNetNuke.Security.Permissions.PermissionProvider)()
Line 84: If provider Is Nothing Then
Line 85: ComponentFactory.RegisterComponentInstance(Of DotNetNuke.Security.Permissions.PermissionProvider)(New DotNetNuke.Security.Permissions.PermissionProvider())
|
Source File: C:\dotnetnuke\App_Code\Global.asax.vb Line: 83
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
DotNetNuke.Common.Utilities.Config.GetConnectionString(String name) +50
DotNetNuke.Common.Utilities.Config.GetConnectionString() +38
DotNetNuke.Data.SqlDataProvider..ctor(Boolean useConfig) +105
DotNetNuke.Data.SqlDataProvider..ctor() +10
[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) +86
System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +230
System.Activator.CreateInstance(Type type, Boolean nonPublic) +67
System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +1051
System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +111
System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) +7646735
System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, CultureInfo culture) +36
DotNetNuke.Framework.Reflection.CreateInstance(Type Type) +27
DotNetNuke.ComponentModel.SingletonComponentBuilder.CreateInstance() +14
DotNetNuke.ComponentModel.SingletonComponentBuilder.BuildComponent() +16
DotNetNuke.ComponentModel.SimpleContainer.GetComponent(IComponentBuilder builder) +18
DotNetNuke.ComponentModel.SimpleContainer.GetComponent(Type contractType) +81
DotNetNuke.ComponentModel.AbstractContainer.GetComponent() +55
DotNetNuke.ComponentModel.ComponentFactory.GetComponent() +63
DotNetNuke.Security.Permissions.PermissionProvider..ctor() +12
DotNetNuke.Security.Permissions.CorePermissionProvider..ctor() +5
[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) +86
System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +230
System.Activator.CreateInstance(Type type, Boolean nonPublic) +67
System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +1051
System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +111
System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) +7646735
System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, CultureInfo culture) +36
DotNetNuke.Framework.Reflection.CreateInstance(Type Type) +27
DotNetNuke.ComponentModel.SingletonComponentBuilder.CreateInstance() +14
DotNetNuke.ComponentModel.SingletonComponentBuilder.BuildComponent() +16
DotNetNuke.ComponentModel.SimpleContainer.GetComponent(IComponentBuilder builder) +18
DotNetNuke.ComponentModel.SimpleContainer.GetComponent(Type contractType) +81
DotNetNuke.ComponentModel.AbstractContainer.GetComponent() +55
DotNetNuke.ComponentModel.ComponentFactory.GetComponent() +63
DotNetNuke.Common.Global.Application_Start(Object Sender, EventArgs E) in C:\dotnetnuke\App_Code\Global.asax.vb:83
|
Server Error in '/dotnetnuke' Application.
Object reference not set to an instance of an object.