Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Migrating DNN from IIS 6 on Win Server 2003 to IIS 7.5 on Win Server 2008 R2Migrating DNN from IIS 6 on Win Server 2003 to IIS 7.5 on Win Server 2008 R2
Previous
 
Next
New Post
3/11/2013 2:00 PM
 
I had a new hosting server setup using WebsitePanel on Win Server 2008 R2 with IIS 7.5. When I try to migrate a site by copying the DNN files to the new location I get an error related to having duplicate sections in web.config.

Error: Config section 'system.webServer/validation' already defined. Sections must only appear once per config file.

I see that this section is used twice, in two separate System.webServer nodes.



Both System.webServer nodes say...



But they have different elements within them.

Just curious about what I need to do to resolve this and am I likely to encounter other issues in moving from IIS 6 to IIS 7.5?




Forerunner Communications, LLC
DotNetNuke Integration Specialists

 
New Post
3/15/2013 2:13 PM
 
I am still struggling with this. I did use Web App Gallery to install a DNN 7 site and it is working properly. So I feel like the server is configured well. I read that I can use Web App Gallery to install a new site and then copy in my code files and restore my old db. But I am trying to migrate DNN 6 sites and all I see is DNN 7 in the Web App Gallery. Will it work to create a DNN 7 site and then copy over the DNN 6 files?

Forerunner Communications, LLC
DotNetNuke Integration Specialists

 
New Post
3/15/2013 4:57 PM
 

Cliff, I did this about a year ago, there were a couple issues as I recall ...
As we can't see "both say" - that is blank in your post ...
I think you also have to set your app pool to integrated and load user profile to true
I'm not sure who had article on that, perhaps Google something like DNN app pool IIS 7.5

As far as duplicate section, why not merge them and figure out what is the correct element? Just make a backup copy first!

 
New Post
3/15/2013 6:06 PM
 
I went down the path of installing DNN 7 under Web App Gallery and that site worked. Then I copied in the files and db from my DNN 6 backup and started making some progress. Had to update Telerik references for DNN 6 version. I saw another post referencing the setting for Load User Profile and so I did that. But I am still getting this round of errors. I feel like I have to be close. I am still using the NETWORK SERVICE user with Full Control. Should I change that in IIS 7.5?

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.Globals.get_Status() +112
DotNetNuke.Services.Log.EventLog.LogController.AddLog(LogInfo logInfo) +38
DotNetNuke.Services.Log.EventLog.ExceptionLogController.AddLog(Exception objException, ExceptionLogType LogType) +3205
DotNetNuke.ComponentModel.ProviderInstaller.InstallProvider(IContainer container, Provider provider) +182
DotNetNuke.ComponentModel.ProviderInstaller.InstallComponents(IContainer container) +130
DotNetNuke.ComponentModel.ComponentFactory.InstallComponents(IComponentInstaller[] installers) +109
DotNetNuke.Web.Common.Internal.DotNetNukeHttpApplication.Application_Start(Object Sender, EventArgs E) +335

[HttpException (0x80004005): Object reference not set to an instance of an object.]
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +4057733
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +191
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +352
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +407
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +375

[HttpException (0x80004005): Object reference not set to an instance of an object.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11702064
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +141
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4870277

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

Forerunner Communications, LLC
DotNetNuke Integration Specialists

 
New Post
3/15/2013 6:12 PM
 
Thanks John. I guess I will retype my reply since DNN crashed when I submitted. I typically copy my posts to the clipboard before submitting, but got in a hurry.

I went down the path of installing DNN 7 from Web App Gallery and got a site running on the domain. Then I copied in my DNN 6 files, excluding web.config, and restored my db. I started making some progress. Had to update Telerik settings in web.config for DNN 6.

I am in IIS Integrated Mode and just set the Load User Profile to True for the .NET 4 app pool. I am still using the NETWORK SERVICE account with Full Permissions. Is that OK?

I have seen some posts about permissions on the db but I am not sure what they are all about.

I am currently getting this set of errors.

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.Globals.get_Status() +112
DotNetNuke.Services.Log.EventLog.LogController.AddLog(LogInfo logInfo) +38
DotNetNuke.Services.Log.EventLog.ExceptionLogController.AddLog(Exception objException, ExceptionLogType LogType) +3205
DotNetNuke.ComponentModel.ProviderInstaller.InstallProvider(IContainer container, Provider provider) +182
DotNetNuke.ComponentModel.ProviderInstaller.InstallComponents(IContainer container) +130
DotNetNuke.ComponentModel.ComponentFactory.InstallComponents(IComponentInstaller[] installers) +109
DotNetNuke.Web.Common.Internal.DotNetNukeHttpApplication.Application_Start(Object Sender, EventArgs E) +335

[HttpException (0x80004005): Object reference not set to an instance of an object.]
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +4057733
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +191
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +352
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +407
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +375

[HttpException (0x80004005): Object reference not set to an instance of an object.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11702064
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +141
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4870277

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

Forerunner Communications, LLC
DotNetNuke Integration Specialists

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Migrating DNN from IIS 6 on Win Server 2003 to IIS 7.5 on Win Server 2008 R2Migrating DNN from IIS 6 on Win Server 2003 to IIS 7.5 on Win Server 2008 R2


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out