all groups > asp.net security > september 2005 >
You're in the

asp.net security

group:

Forms Authentication with Active Directory LDAP Problem


Forms Authentication with Active Directory LDAP Problem Tdar
9/29/2005 10:02:04 PM
asp.net security:
Sorry for the dup post but looking for a response and this is being posted
under my MSDN
managed newsgroups handle and in a different newsgroup

Hi,
As I said in the past post I am using this Article
http://msdn.microsoft.com/security/default.aspx?pull=/library/en-us/dnpag2/html/paght000026.asp

I belive i have everthing all set but I get this error when trying to log
into the site.

How do I correct this problem:

Server Error in '/' Application.
--------------------------------------------------------------------------------
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: The container specified in the connection string does
not exist.
Source Error:


Line 40: <membership defaultProvider="MyADMembershipProvider">
Line 41: <providers>
Line 42: <add name="MyADMembershipProvider"
type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web,
Version=2.0.0.0, culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="ADConnectionString"
connectionUsername="silver1\administrator"
connectionPassword="THEPASSWORD"/>
Line 43: </providers>
Line 44: </membership>

Source File: E:\Webs\Silverqueen\WWW\web.config Line: 42
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50215.44; ASP.NET
Version:2.0.50215.44



RE: Forms Authentication with Active Directory LDAP Problem stcheng NO[at]SPAM online.microsoft.com
9/30/2005 8:17:39 AM
Hi Tdar,

Thanks for your posting.
Regarding on this issue, I've also seen your anothe duplicated one in the

Newsgroups: microsoft.public.dotnet.framework.aspnet

newsgroup. I've posted my reply there, if you feel it convenient that we
continue to discuss in that thread, please feel free to post there.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)



--------------------
| Reply-To: "Tdar" <Tdar@noemail.nospam>
| From: "Tdar" <Tdar@noemail.nospam>
| Subject: Forms Authentication with Active Directory LDAP Problem
| Date: Thu, 29 Sep 2005 22:02:04 -0400
| Lines: 43
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| X-RFC2646: Format=Flowed; Original
| X-Antivirus: avast! (VPS 0539-2, 09/29/2005), Outbound message
| X-Antivirus-Status: Clean
| Message-ID: <Os360LWxFHA.2072@TK2MSFTNGP14.phx.gbl>
| Newsgroups:
microsoft.public.dotnet.framework.aspnet,microsoft.public.dotnet.framework.a
spnet.security
| NNTP-Posting-Host: 11-95.35-65.tampabay.res.rr.com 65.35.95.11
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP14.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet.security:6714
microsoft.public.dotnet.framework.aspnet:128153
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
|
| Sorry for the dup post but looking for a response and this is being
posted
| under my MSDN
| managed newsgroups handle and in a different newsgroup
|
| Hi,
| As I said in the past post I am using this Article
|
http://msdn.microsoft.com/security/default.aspx?pull=/library/en-us/dnpag2/h
tml/paght000026.asp
|
| I belive i have everthing all set but I get this error when trying to log
| into the site.
|
| How do I correct this problem:
|
| Server Error in '/' Application.
|
----------------------------------------------------------------------------
----
| 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: The container specified in the connection string
does
| not exist.
| Source Error:
|
|
| Line 40: <membership defaultProvider="MyADMembershipProvider">
| Line 41: <providers>
| Line 42: <add name="MyADMembershipProvider"
| type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web,
| Version=2.0.0.0, culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
| connectionStringName="ADConnectionString"
| connectionUsername="silver1\administrator"
| connectionPassword="THEPASSWORD"/>
| Line 43: </providers>
| Line 44: </membership>
|
| Source File: E:\Webs\Silverqueen\WWW\web.config Line: 42
|
----------------------------------------------------------------------------
----
| Version Information: Microsoft .NET Framework Version:2.0.50215.44;
ASP.NET
| Version:2.0.50215.44
|
|
|
|
|
AddThis Social Bookmark Button