•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 401,458 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,091 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 360 | Replies: 0
![]() |
•
•
Join Date: Feb 2008
Posts: 34
Reputation:
Rep Power: 1
Solved Threads: 0
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.
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.
![]() |
•
•
•
•
•
•
•
•
DaniWeb ASP.NET Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Other Threads in the ASP.NET Forum
- Previous Thread: VB.net/ASP.net SELECT problems with SQL
- Next Thread: sms via .net with C#


Linear Mode