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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationWindows Authentication not availableWindows Authentication not available
Previous
 
Next
New Post
1/9/2006 10:05 PM
 

You comment a line by enclosing it with <!-- at the beginning and --> at the end.

<!-- ignore me -->

<!--

ignore me

and

me and me too

-->

You uncomment by removing both ends <!-- and -->

 
New Post
6/21/2007 3:13 PM
 

Here are some lines for a DNN expert

The problem radicates in a null object reference exception. I do not know why these object (objAuthenticationController), instance of AuthenticationController is null or simply could not recognize his childs... It raise an error when the NetWorkStatus method is called and asigned to a variable... may be something related to credentials and security?

(this code is from the page AuthenticationSettings.ascx.vb, line 129)

Please... HELP! Sub cmdAuthenticationUpdate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdUpdate.Click

 

 

Dim _portalSettings As PortalSettings = CType(HttpContext.Current.Items("PortalSettings"), PortalSettings)
Try
Dim providerTypeName As String = Me.cboProviders.SelectedItem.Value
Dim authenticationType As String = Me.cboAuthenticationType.SelectedItem.ValueMe.chkAuthentication.Checked, Me.txtRootDomain.Text, Me.txtEmailDomain.Text, Me.txtUserName.Text, Me.txtPassword.Text, Me.chkSynchronizeRole.Checked, Me.chkSynchronizePassword.Checked, providerTypeName, authenticationType)
Configuration.ResetConfig()
Dim objAuthenticationController As New AuthenticationController
Dim statusMessage As String = objAuthenticationController.NetworkStatus

If statusMessage.ToLower.IndexOf("fail") > -1 Then
MessageCell.Controls.Add(UI.Skins.Skin.GetModuleMessageControl("", LocalizedStatus(statusMessage),                                DotNetNuke.UI.Skins.Controls.ModuleMessage.ModuleMessageType.RedError))
Else
MessageCell.Controls.Add(UI.Skins.Skin.GetModuleMessageControl("", LocalizedStatus(statusMessage), DotNetNuke.UI.Skins.Controls.ModuleMessage.ModuleMessageType.GreenSuccess))
End If

 

Catch exc As Exception 'Module failed to load
ProcessModuleLoadException(Me, exc)
End Try

 

End Sub

Configuration.UpdateConfig(_portalSettings.PortalId,

 

 
New Post
6/22/2007 12:08 AM
 

Without doing any testing that would be my guess. You may have to uncomment <!-- identity impersonate="true" --> and add a userName="domain\username" and password="password" to that line.

 
New Post
6/22/2007 9:36 AM
 

mikeh, thanks... i uncomment that line and i added both two attributes (username and password)... anyway it does not work :( Do you think that could be a permission issue? What else can I do?

Thanks...

 
New Post
6/22/2007 10:14 AM
 

I was not too much precisaly in the previous post... the problem when i configured the web.config with <!-- identity impersonate="true" --> and add a userName="domain\username" and password="password" ... is that when i want to log in as admin or host... the page directly redirects me to home... buy neither the admin menu or host menu appears... is the same with the custom pages i´d created.

Thank you again.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationWindows Authentication not availableWindows Authentication not available


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