Hi,
I've been working with DNN for a long time and have never experienced any install issues on development platform.
I unwrapped the source code (as usual) and set up the folder.
When I run the url I get the following error. I have tried both the source and install versions. I have also tried both development.config and web.config
Below is the error that appears on first run, then on page refresh the portal appears. Please see the Log Viewer error that is logged.
Any ideas?
---------------------------------
Installing DotNetNuke
Version: 04.04.00
Installation Status Report
00:00:00.046 - Installing Version: 4.4.0
00:00:00.046 - Installing Script: DotNetNuke.SetUp.SqlDataProvider Success
00:00:00.078 - Installing Script: DotNetNuke.Schema.SqlDataProvider Success
00:00:08.828 - Installing Script: DotNetNuke.Data.SqlDataProvider Success
00:00:12.296 - Installing MemberRole Provider:
00:00:12.296 - Installing Script: InstallCommon.sql
00:00:12.843 - Installing Script: InstallMembership.sql
00:00:13.484 - Installing Script: InstallProfile.sql
00:00:13.687 - Installing Script: InstallRoles.sql
00: - Performing General Upgrades
00:00:14.187 - Loading Host Settings:
00:00:14.562 - Configuring SuperUser:
00:00:14.921 - Installing Modules:
00:00:14.953 - Installing Module File HTML_03.03.00_Install: Success
00:00:15.406 - Installing Module File Links_03.03.00_Install: Success
00:00:15.828 - Executing Additional Scripts:
00:00:15.843 - Creating Portal: My Website
00:00:18.843 - Successfully Installed Portal 0:
00:00:18.843 - Installing Optional Resources:
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.Xml.XmlException: Data at the root level is invalid. Line 1, position 1.
Source Error:
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page Language="C#" Debug="true" %>
or:
2) Add the following section to the configuration file of your application:
<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>
Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario. |
Stack Trace:
[XmlException: Data at the root level is invalid. Line 1, position 1.]
System.Xml.XmlTextReaderImpl.Throw(Exception e) +87
System.Xml.XmlTextReaderImpl.Throw(String res, String arg) +127
System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace() +1906638
System.Xml.XmlTextReaderImpl.ParseDocumentContent() +503
System.Xml.XmlTextReaderImpl.Read() +38
System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +145
System.Xml.XmlDocument.Load(XmlReader reader) +96
System.Xml.XmlDocument.Load(String filename) +157
DotNetNuke.Modules.Admin.ResourceInstaller.ResourceInstaller.Install(Boolean status, Int32 indent, String type) +2239
DotNetNuke.Services.Upgrade.Upgrade.InstallDNN(String strProviderPath) +1780
DotNetNuke.Framework.Install.InstallApplication() +1171
DotNetNuke.Framework.Install.Page_Load(Object sender, EventArgs e) +274
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
|
Server Error in '/dotnetnuke440dev' Application.
Data at the root level is invalid. Line 1, position 1.
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
This is what appears in the Log Viewer:
AssemblyVersion: 04.04.00
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL: /dotnetnuke440dev/Install/Install.aspx?mode=Install
AbsoluteURL: /dotnetnuke440dev/Install/Install.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; FDM; .NET CLR 2.0.50727; InfoPath.2)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 21f8ff8a-3939-4317-932c-81705ca43ce3
InnerException: Unhandled Error:
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Xml.XmlTextReaderImpl.Throw
StackTrace:
Message: System.Exception: Unhandled Error: ---> System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1.at System.Xml.XmlTextReaderImpl.Throw(Exception e)at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()at System.Xml.XmlTextReaderImpl.ParseDocumentContent()at System.Xml.XmlTextReaderImpl.Read()at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)at System.Xml.XmlDocument.Load(XmlReader reader)at System.Xml.XmlDocument.Load(String filename)at DotNetNuke.Modules.Admin.ResourceInstaller.ResourceInstaller.Install(Boolean status, Int32 indent, String type)at DotNetNuke.Services.Upgrade.Upgrade.InstallDNN(String strProviderPath)at DotNetNuke.Framework.Install.InstallApplication()at DotNetNuke.Framework.Install.Page_Load(Object sender, EventArgs e)at System.Web.UI.Control.OnLoad(EventArgs e)at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)--- End of inner exception stack trace ---at System.Web.UI.Page.HandleError(Exception e)at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)at System.Web.UI.Page.ProcessRequest()at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)at System.Web.UI.Page.ProcessRequest(HttpContext context)at ASP.install_install_aspx.ProcessRequest(HttpContext context)at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)--- End of inner exception stack trace ---