Hi All;
I copied my DNN installation from another computer - I copied/restored the database, and also all of the installation files.
The new site launches fine, and I log on as host. All the pages are there, but I get page load exceptions on the Site Management, ActivityFeed, and other core pages. Can anyone give a hint as to how to fix this? I have tried a few things, and suspect it might have to do with the site settings->alias.
I'm stumped. Please help.
Here is the log entry:
AssemblyVersion: 6.2.5
PortalID: 0
PortalName: Docent Prototype Website
UserID: 1
UserName: host
ActiveTabID: 17
ActiveTabName: Site Management
RawURL: /dotnetnuke install files/dotnetnuke_community_6.2.5/Host/SiteManagement/tabid/17/ctl/Edit/mid/321/pid/0/portalid/0/Default.aspx?popUp=true
AbsoluteURL: /DotNetNuke%20Install%20Files/DotNetNuke_Community_6.2.5/Default.aspx
AbsoluteURLReferrer: http://localhost/DotNetNuke%20Install%20Files/DotNetNuke_Community_6.2.5/Default.aspx?tabid=17&error=The+type+initializer+for+%27FormatterGenerator%27+threw+an+exception.
UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: a20da950-5a04-4acb-bec9-b928050c46aa
InnerException: The type initializer for 'FormatterGenerator' threw an exception.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.CachedPathData.GetVirtualPathData
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: The type initializer for 'FormatterGenerator' threw an exception. ---> System.TypeInitializationException: The type initializer for 'FormatterGenerator' threw an exception. ---> System.ArgumentException: The virtual path '/DotNetNuke%20Install%20Files/DotNetNuke_Community_6.2.5/Default.aspx' maps to another application, which is not allowed. at System.Web.CachedPathData.GetVirtualPathData(VirtualPath virtualPath, Boolean permitPathsOutsideApp) at System.Web.HttpContext.GetFilePathData() at System.Web.Configuration.HttpCapabilitiesBase.GetBrowserCapabilities(HttpRequest request) at System.Web.HttpRequest.get_Browser() at System.Web.UI.Page.SetIntrinsics(HttpContext context, Boolean allowAsync) at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.Mvc.AntiForgeryDataSerializer.FormatterGenerator.TokenPersister.CreateFormatterGenerator() at System.Web.Mvc.AntiForgeryDataSerializer.FormatterGenerator..cctor() --- End of inner exception stack trace --- at System.Web.Mvc.AntiForgeryDataSerializer.get_Formatter() at System.Web.Mvc.AntiForgeryDataSerializer.Serialize(AntiForgeryData token) at System.Web.Mvc.HtmlHelper.GetAntiForgeryTokenAndSetCookie(String salt, String domain, String path) at System.Web.Mvc.HtmlHelper.AntiForgeryToken(String salt, String domain, String path) at DotNetNuke.Framework.ServicesFrameworkImpl.RegisterAjaxAntiForgery(Page page) at DotNetNuke.Framework.PageBase.OnPreRender(EventArgs e) at DotNetNuke.Framework.DefaultPage.OnPreRender(EventArgs evt) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source: