brightline 0 Junior Poster in Training

I am using Azman (Authorization manager) with Asp.net 2.0
I am trying to add a user to a role in the code:

role.AddMember(user.ProviderUserKey.ToString(), null);

but the following error comes up:

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Shared Memory Provider, error: 40 - Could not open a connection to SQL Server)

How to tell asp.net to add the user to the AzMan roles not to asp.net roles.

Thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.