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 ForumsAuthenticationAuthenticationSource Code DebuggingSource Code Debugging
Previous
 
Next
New Post
12/5/2008 2:53 PM
 

These instructions use the DNN 4.9.0 starter kit installed in Visual Studio 2008 and using the Active Directory Provider 01.00.04. You don’t need to install the DNN source code to debug this provider.

 

Download the Active Directory Provider (Source) from the DNN downloads page. This should be a file named ActiveDirectory_01.00.04_source.zip.

 

Install the Active Directory Provider source code:

  1. Assuming the DNN 4.9.0 starter kit has been successfully installed on your local workstation, open the project in VS2008 and run the website and login as host. (We’ll use http://localhost/DNN490 as the URL for our example)
  2. Under Host > Host Settings, under Advanced Settings, expand Authentication Settings
  3. Click on Install New Authentication System
  4. Select the zip file containing the source that you downloaded above
  5. After the installation is complete, under the Admin menu, select Authentication and set your AD settings.
  6. Close the browser to go back to VS2008
  7. The installation will create the folder DesktopModules\AuthenticationServices\ActiveDirectory in your project
  8. Under this folder, open the file DotNetNuke.Authentication.ActiveDirectory.VS2008.vbproj.
  9. Replace the value ‘DotNetNuke_2’ with your site URL (DNN490 in this example) on the following entries: <IISUrl> and <IISAppRootUrl>
  10. Also, comment out the entries <CallTarget Targets=…. />
  11. Open the file DNNModule.targets and replace the entry in <EnableDeployment> from 1 to 0
  12. Close the solution but do not close VS2008.

 

Debug the Active Directory Provide module:

  1. From VS2008, open the solution file DotNetNuke.Authentication.ActiveDirectory.VS2008.sln located under the DesktopModules\AuthenticationServices\ActiveDirectory folder of your website.
  2. Right-click the project file and select Properties, then select the Web tab.
  3. Under the Start Action section, select the Start URL and enter the URL of your site (http://localhost/DNN490 in our example).
  4. Set a breakpoint in the Page_Init event of WindowsSignin.aspx.vb and run the project.
  5. If the breakpoint is not hit, clear all cookies from your browser and re-start the project.

 
New Post
12/7/2008 5:43 PM
 

Thanks for posting that Joey. On Step 11.... you shouldn't have to do that unless you've got the MSBuildTargets installed as I believe the .targets file is ignored.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationSource Code DebuggingSource Code Debugging


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