Hi,
I installed DNN7 on my local computer and development server successfully. I figured out some of the issues during the installation process such as 503 or 500 error running in Integrate pipeline, register handlers and ISAPI. Both environment works fine now. Then I try to install DNN7 on live server. When I was installing with the installation wizard, it stopped at 90% (create host user) and throw a timeout error in the installation log. I refresh the page and I got through the installation process. Now I can view all the default pages and no errors found. The issues I encountered is I couldn't login. I click on the login link and I received an generic error message.
A critical error has occurred. An unexpected error has occurred
I checked the EventLog table and found PageLoadException. The following is the XML log:
<LogProperties>
<LogProperty>
<PropertyName>AssemblyVersion</PropertyName>
<PropertyValue>7.0.0</PropertyValue>
</LogProperty>
<LogProperty>
<PropertyName>PortalID</PropertyName>
<PropertyValue>0</PropertyValue>
</LogProperty>
<LogProperty>
<PropertyName>PortalName</PropertyName>
<PropertyValue>dnn7</PropertyValue>
</LogProperty>
<LogProperty>
<PropertyName>UserID</PropertyName>
<PropertyValue>-1</PropertyValue>
</LogProperty>
<LogProperty>
<PropertyName>UserName</PropertyName>
<PropertyValue />
</LogProperty>
<LogProperty>
<PropertyName>ActiveTabID</PropertyName>
<PropertyValue>56</PropertyValue>
</LogProperty>
<LogProperty>
<PropertyName>ActiveTabName</PropertyName>
<PropertyValue>Home</PropertyValue>
</LogProperty>
<LogProperty>
<PropertyName>RawURL</PropertyName>
<PropertyValue>/login.aspx?ReturnUrl=/Home.aspx&popUp=true</PropertyValue>
</LogProperty>
<LogProperty>
<PropertyName>AbsoluteURL</PropertyName>
<PropertyValue>/Default.aspx</PropertyValue>
</LogProperty>
<LogProperty>
<PropertyName>AbsoluteURLReferrer</PropertyName>
<PropertyValue>http://dnn7/Home.aspx</PropertyValue>
</LogProperty>
<LogProperty>
<PropertyName>UserAgent</PropertyName>
<PropertyValue>Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11</PropertyValue>
</LogProperty>
<LogProperty>
<PropertyName>DefaultDataProvider</PropertyName>
<PropertyValue>DotNetNuke.Data.SqlDataProvider, DotNetNuke</PropertyValue>
</LogProperty>
<LogProperty>
<PropertyName>ExceptionGUID</PropertyName>
<PropertyValue>e3bcc79e-4d75-4dad-9041-ac2aef4c4e47</PropertyValue>
</LogProperty>
<LogProperty>
<PropertyName>InnerException</PropertyName>
<PropertyValue>Object reference not set to an instance of an object.</PropertyValue>
</LogProperty>
<LogProperty>
<PropertyName>FileName</PropertyName>
<PropertyValue />
</LogProperty>
<LogProperty>
<PropertyName>FileLineNumber</PropertyName>
<PropertyValue>0</PropertyValue>
</LogProperty>
<LogProperty>
<PropertyName>FileColumnNumber</PropertyName>
<PropertyValue>0</PropertyValue>
</LogProperty>
<LogProperty>
<PropertyName>Method</PropertyName>
<PropertyValue>DotNetNuke.Modules.Admin.Authentication.Login.BindLogin</PropertyValue>
</LogProperty>
<LogProperty>
<PropertyName>StackTrace</PropertyName>
<PropertyValue />
</LogProperty>
<LogProperty>
<PropertyName>Message</PropertyName>
<PropertyValue>DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object.
---> System.NullReferenceException: Object reference not set to an instance of an object.
at DotNetNuke.Modules.Admin.Authentication.Login.BindLogin()
at DotNetNuke.Modules.Admin.Authentication.Login.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---</PropertyValue>
</LogProperty>
<LogProperty>
<PropertyName>Source</PropertyName>
<PropertyValue />
</LogProperty>
</LogProperties>
Working progress:
1. Make sure using form authentication.
<authentication mode="Forms">
<forms name=".DOTNETNUKE" protection="All" timeout="60" cookieless="UseCookies" />
</authentication>
2. Remove Active Directory configuration and dll (\bin\Providers\DotNetNuke.Professional.Authentication.ActiveDirectory.dll)
<authentication defaultProvider="ADSIAuthenticationProvider">
<providers>
<clear />
<add name="ADSIAuthenticationProvider" type="DotNetNuke.Authentication.ActiveDirectory.ADSI.ADSIProvider, DotNetNuke.Authentication.ActiveDirectory" providerPath="~\Providers\AuthenticationProviders\ADSIProvider\" />
</providers>
</authentication>
3. Check the files in \DesktopModules\Admin\Authentication
4. Use fiddler and I found the .DOTNETNUKE cookie is missing.
I can imagine the forms authentication cookie is lost. Could any one suggest me what I have to do next ?
Thanks & regards,
Kenneth