Advertisement

06.06.2007 at 07:37AM PDT, ID: 22616421
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.4

I am getting the following error while trying to authenticate agains active directory, any ideas?? asp.net 2.0 vb.net

Asked by ExtremeFitness in Programming for ASP.NET, .NET Framework 2.x, WebApplications

Tags: , , , ,

asp.net 2.0 vb.net
I am getting the following error while trying to authenticate agains active directory, any ideas??
Below is my config file


Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Object reference not set to an instance of an object.
Source Error:
Line 60:                         <add
Line 61:                            name="MyADMembershipProvider"
Line 62:                            type="System.Web.Security.ActiveDirectoryMembershipProvider,
Line 63:                            System.Web, Version=2.0.0.0, Culture=neutral,
Line 64:                                              PublicKeyToken=b03f5f7f11d50a3a"
Source File: C:\SourceCode\ADAuthTest\ADAuthTest\web.config    Line: 62


----------------------------------------------------------------------------------------------------------------------------------------------------------------
<?xml version="1.0"?>

<configuration>
    <appSettings/>
      <connectionStrings>
            <add name="ADConnectionString" connectionString="LDAP://extremefitness.local/CN=Users,DC=extremefitness,DC=local" />
      </connectionStrings>
      
    <system.web>
        <compilation debug="true" strict="false" explicit="true" />
            <authentication mode="Forms">
                  <forms name=".ASPXAUTH" loginUrl="frmLogin.aspx"
                           defaultUrl="default.aspx" protection="All"
                           timeout="20" path="/" requireSSL="false"
                           slidingExpiration="true" cookieless="UseDeviceProfile"
                           enableCrossAppRedirects="false">
                        <credentials passwordFormat="SHA1"/>
                  </forms>
            </authentication>

            <authorization>
                  <deny users="?" />
                  <allow users="*" />
            </authorization>

            <membership defaultProvider="MyADMembershipProvider">
                  <providers>
                        <add
                           name="MyADMembershipProvider"
                           type="System.Web.Security.ActiveDirectoryMembershipProvider,
                           System.Web, Version=2.0.0.0, Culture=neutral,
                                             PublicKeyToken=b03f5f7f11d50a3a"
                           connectionStringName="ADConnectionString"
                           connectionUsername="extremefitness.local\administrator"
                           connectionPassword="xxxxxxx"
                           attributeMapUsername="sAMAccountName"
                     />
                  </providers>
            </membership>
    </system.web>
</configuration>
Start Free Trial
[+][-]06.06.2007 at 08:09AM PDT, ID: 19225744

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06.06.2007 at 08:11AM PDT, ID: 19225763

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06.06.2007 at 08:12AM PDT, ID: 19225772

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.06.2007 at 08:21AM PDT, ID: 19225858

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06.06.2007 at 08:24AM PDT, ID: 19225881

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.02.2007 at 05:05AM PDT, ID: 20199925

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]11.03.2007 at 02:51AM PDT, ID: 20206385

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Programming for ASP.NET, .NET Framework 2.x, WebApplications
Tags: object, reference, instance, error, trying
Sign Up Now!
Solution Provided By: KarinLoos
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32