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 ...Couldn't login after successfully installed DotNetNuke 7 on IIS7 64 bit server..Couldn't login after successfully installed DotNetNuke 7 on IIS7 64 bit server..
Previous
 
Next
New Post
1/3/2013 7:44 PM
 

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&amp;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.
---&gt; 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

 
New Post
1/4/2013 1:10 AM
 

Resolved

Missing entry in the dbo.Authentication table.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Couldn't login after successfully installed DotNetNuke 7 on IIS7 64 bit server..Couldn't login after successfully installed DotNetNuke 7 on IIS7 64 bit server..


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