Hi All,
I have found answer on my question here: www.dotnetnuke.com/Community/Forums/tabid/795/forumid/107/threadid/105609/scope/posts/Default.aspx (FAQ: Moving a DNN installation ) - I should have edited [HTTPAlias] column value in [PortalAlias] table - so to move local DNN5.x installation (with just one portal) to ASP.NET hosting site three simple tasks should be fulfilled:
1. Backup your local db and restore it on your ASP.NET hosting MS SQL Server;
2. Edit manually/run script on your ASP.NET hosting MS SQL Server to update [HttpAlias] column value in [PortalAlias] table to point to your DNN5.x site's root on ASP.NET Hosting
3. Edit two connection strings in DNN5.x web.config to point to your ASP.NET hosting MS SQL Server.
Additionally I have had to do the dollowing weird edit of web.config, which helped me to get my DNN5.x ASP.NET hosting site up&running:
4. Comment out <identity impersonate="true" /> line in web.confing - the one located immediately after </membership> element.
Without the last step my ASP.NET hosting site doesn't work and reports the following runtime error:
Server Error in '/wr' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: This configuration section cannot be used at this path. This happens when the site administrator has locked access to this section using <location allowOverride="false"> from an inherited configuration file.
Source Error:
Line 254: </membership>
Line 255:<!-- -->
Line 256: <identity impersonate="true" />
Line 257: <!-- -->
Line 258:
Source File: d:\users\x-userName\wr\web.config Line: 256
Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082
Everything is correct now? (My DNN5.x site is up&running on my ASP.NET hosting but I'm not sure how and why that <identity impersonate="true"/> line got into web.config - do you also have it?)
Thank you.
--Shamil