So I have code that works when I run it with VWD2008 express debugger however when I publish the project and test it on IIS5.1 it does not want to get the roles. Anyone know why? Is it because I am currently logged in as an administrator when I run the VWD Debugger? If so how do I over come this so it works for both IIS and VWD Debugger? Here is my code. I am using Forms Auth with LDAP
protected void btnLogin_Click(object sender, EventArgs e)
{
// Path to LDAP Directory.
string adPath = "LDAP://1.2.3.4/dc=domain,dc=net";
LdapAuthentication adAuth = new LdapAuthentication(adPath);
try
{
if(adAuth.IsAuthenticated(&q ...
Go to the complete details ...