DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Wed, 15 Aug 2007 11:28:00 -0700,    posted on: microsoft.public.dotnet.framework.aspnet.security        back       

Thread Index
  1    Harry


Unable to establish secure connection with the server   
I am trying to open a site through IIS 6.0.

I am using Forms Authentication and Active Directory.  Here is the 
information from my web.config.

<add name="ADConnectionString" 
connectionString="LDAP://10.XX.195.X/ou=ABC,dc=esb-test-aaaa,dc=ggg,dc=eee"/>

<authentication mode="Forms">
      <forms loginUrl="LogIn.aspx" protection="All" name=".ADAuthCookie" 
defaultUrl="Default.aspx" timeout="20" requireSSL="false" 
slidingExpiration="true" cookieless="UseDeviceProfile"  />
    </authentication>
    <identity impersonate="false"/>
    <authorization>
      <deny users="?"/>
    </authorization>
    <membership defaultProvider="MyADMembershipProvider">
      <providers>
        <add name="MyADMembershipProvider"  
attributeMapUsername="sAMAccountName" 
type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, 
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" 
connectionStringName="ADConnectionString" connectionUsername="asmith" 
connectionPassword="Password1234" enableSearchMethods="true" 
maxInvalidPasswordAttempts="3" minRequiredPasswordLength="8"/>
      </providers>
    </membership>

Everything works fine on the same machine using the ASP.NET Development 
Server.  When I run the same code through IIS it gives me an error in the 
web.config.  

Unable to establish secure connection with the server in the 
MyADMembershipProvider.

I don't understand why this is happening because it works fine using the 
ASP.NET Development Server.

Does anyone have any suggestions?  I'd really appreciate it.
Date:Wed, 15 Aug 2007 11:28:00 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us