Re: Unable to establish secure connection with the server



Hello Jerry,

The ActiveDirectoryMembershipProvider class requires unrestricted
DirectoryServicesPermission permission to run. This permission is not added
to any of the partial-trust policy files supplied with ASP.NET. In order to
use the ActiveDirectoryMembershipProvider, you can grant your web
application Full-trust level:

http://support.microsoft.com/default.aspx?scid=kb;en-us;815147

Hope this help,


Luke Zhang
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)

.



Relevant Pages

  • Re: Cant get ActiveDirectoryMembershipProvider to work
    ... Dominick Baier - DevelopMentor ... ActiveDirectoryMembershipProvider class requires unrestricted ... DirectoryServicesPermission permission to run. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Cant get ActiveDirectoryMembershipProvider to work
    ... Did you enable full-trust policy for the ASP.NET application? ... ActiveDirectoryMembershipProvider class requires unrestricted ... DirectoryServicesPermission permission to run. ...
    (microsoft.public.dotnet.framework.aspnet.security)