Hello,
My DNN installation on my dev computer got hosed somehow so I am trying to copy my site back from PowerDNN. I will make a separate post with those symptoms in case it can get fixed.
I cannot find any good tutorials for how to move a site - the links all seem to be broken now - so here is what I did:
I FTP'd everything from the server into a new folder and created an application in IIS.
I changed permissions on the folder.
I backed up the database on PowerDNN and re-stored it to SQLExpress (not as a file.)
I changed the connection string in web.config to "Data Source=BRAHMA\SQLEXPRESS;Initial Catalog=hylandstudio;Integrated Security=True;MultipleActiveResultSets=True"
When I try to go to the site I get "Object reference not set to an instance of an object" error. Below is the full stack trace.
Now, I deleted the application for the old install in IIS so the re-directs of the aliases would not mess up the new install (not really sure if that was the right thing to do.)
My DNN version is 06.01.05 (142)
Any clues as to what is happening?
- Brad
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
DotNetNuke.Common.Utilities.Config.GetConnectionString(String name) +55
DotNetNuke.Data.SqlDataProvider..ctor(Boolean useConfig) +152
[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) +146
System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +298
System.Activator.CreateInstance(Type type, Boolean nonPublic) +79
System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +10371979
System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture) +28
System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) +816
DotNetNuke.Framework.Reflection.CreateInstance(Type Type) +95
DotNetNuke.ComponentModel.SingletonComponentBuilder.BuildComponent() +30
DotNetNuke.ComponentModel.SimpleContainer.GetComponent(Type contractType) +162
DotNetNuke.ComponentModel.AbstractContainer.GetComponent() +45
DotNetNuke.ComponentModel.ComponentFactory.GetComponent() +93
DotNetNuke.Security.Permissions.PermissionProvider..ctor() +23
DotNetNuke.Security.Permissions.CorePermissionProvider..ctor() +9
[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) +146
System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +298
System.Activator.CreateInstance(Type type, Boolean nonPublic) +79
System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +10371979
System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture) +28
System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) +816
DotNetNuke.Framework.Reflection.CreateInstance(Type Type) +95
DotNetNuke.ComponentModel.SingletonComponentBuilder.BuildComponent() +30
DotNetNuke.ComponentModel.SimpleContainer.GetComponent(Type contractType) +162
DotNetNuke.ComponentModel.AbstractContainer.GetComponent() +45
DotNetNuke.ComponentModel.ComponentFactory.GetComponent() +93
DotNetNuke.Common.DotNetNukeHttpApplication.RegisterIfNotAlreadyRegistered(String name) +62
DotNetNuke.Common.DotNetNukeHttpApplication.RegisterIfNotAlreadyRegistered() +67
DotNetNuke.Common.DotNetNukeHttpApplication.Application_Start(Object Sender, EventArgs E) +1675
[HttpException (0x80004005): Exception has been thrown by the target of an invocation.]
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +4233393
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +205
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +336
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +350
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +382
[HttpException (0x80004005): Exception has been thrown by the target of an invocation.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11420358
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4405140