Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:843596
More Search Options
RSS Available
Matching Posts
Re: Deadlock on creating users with Membership Api
Hi sukumarraju, Thanks for your helpful links on SQL server profiler tool. Since we were using the MSDTC to handle transactions, it was also creating too much overhead besides deadlocks. To avoid all this, I modified the code and removed wrapping of the Membership.CreateUser inside a transaction scope block. I handle the rollbacks as you mentioned above. After this modification, we did not encounter any deadlocks on our load test. Thank you for your inputs and helpful links. sosmary
Posted to
Web Forms
(Forum)
by
sosmary
on 12/1/2009
Deadlock on creating users with Membership Api
Hi, I am getting deadlocks while calling aspnet_Users_CreateUser Api during load test. I have wrapped the createUser, roles.AddUserToRoles and another custom mapping procedure inside a Transaction Scope block. Once the deadlock is encountered no more user accounts are created. I am also using Enterprise Library to log exceptions. Since this is happenning on a load test (few hundreds at a time registering), how do I avoid this once it is deployed on production? How do I control this from the aspx
Posted to
Web Forms
(Forum)
by
sosmary
on 11/25/2009
Re: Deadlocks when creating users
Hi, I am also having the same problem during load test. Here's my post describing the problem http://forums.asp.net/p/1497218/3532909.aspx#3532909 I would appreciate if you can shed more light on how you resolved this issue. Thanks, sosmary
Posted to
Security
(Forum)
by
sosmary
on 11/25/2009
Re: Deadlock on creating users with Membership Api
Hi Sukumarraju, Thanks for your input. I am using Transaction Scope block as I am mapping the userId generated from Membership.CreateUser in another table as a foreign key. Here's the setup: Try Using scope as new TransactionScope Dim usr As MembershipUser = Membership.CreateUser(.....) If not usr is Nothing Then If MembershipCreateSuccess Then Roles.AddUserToRole(usr.Username, "CustomerRep") MapUser(usr.UserId) 'insert into a custom mapping table scope.Complete() Endif Endif End
Posted to
Web Forms
(Forum)
by
sosmary
on 11/25/2009
ASP.net Website Admin Tool and IIS7
Hi, I need your help guys. We have an ASP.net website running on IIS7. Currently we are using Membership and Roles in this application. We want to create new users using the default ASP.net Website Administration Tool on the IIS 7 server. How do we go about setting this up on the server? Your inputs are greatly appreciated. Thanks, sosmary
Posted to
Security
(Forum)
by
sosmary
on 8/4/2009
Re: Page Theme setting
Hi Dave, Thanks for confirming this. I would use cookies to pass the info after logout. Thanks for your input. sosmary
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
sosmary
on 7/1/2009
Re: Page Theme setting
Hi Dave, Thanks for your input. The theme is set based on some business rules and it's not user's choice. Having a default theme works well for certain conditions, but in most cases we have to redirect to specific theme pages once the user logs out. Other than querystring, can a cookie work well here? Can I create a cookie and save the theme just before the call to formsauthentication.signout? And in the login page I would check if this cookie is present or not (in the preinit event). Is
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
sosmary
on 6/27/2009
Page Theme setting
Hi, Hey guys, I need your help on this. I am using ASP membership forms authentication and I am setting the page theme in my page base class (preinit event). The theme is applied even on the Login page based on querystring string variables. When the user logs in, he is authenticated and redirected to the home page with the proper page theme applied. So far so good. The problem is that when the user logs out and is redirected to the login page, the theme goes back to default theme. How do I maintain
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
sosmary
on 6/26/2009
Re: Back Button issue
Hi Sumitd, Thanks to you and to others who have responded to my question. I also like the idea of putting the common cache code in the pagebase class. Should this code be run both on page.ispostback and also !page.ispostback conditions? Regarding refreshing the page I meant the same data being refreshed. Thank you for the helpful links. Thanks, sosmary
Posted to
Web Forms
(Forum)
by
sosmary
on 6/10/2009
Re: Back Button issue
Hi Venkatu2005, Thanks for your reply and for the detailed explanation on your website regarding this issue. This is very helpful. Thanks, sosmary
Posted to
Web Forms
(Forum)
by
sosmary
on 6/10/2009
Page 1 of 8 (73 items) 1
2
3
4
5
Next >
...
Last »
TechNet Edge:
Windows Server 2008 R2 Quick Look- Installing the Migration Tools
WindowsClient:
My latest videos – WPF, Silverlight, Sensors, and PDC09
WindowsClient:
Developing an installer for your Surface application
ASP.NET:
Visual Studio 2010 and .NET 4 Update
WindowsClient:
Microsoft’s product placements in The Big Bang Theory
Channel 9:
Channel 9 Live at PDC09: Martin Cron
Channel 9:
Channel 9 Live at PDC09: Erik Meijer and Thomas Lewis
WindowsClient:
Download Data Services Update for .NET 3.5 SP1
Silverlight:
Extending the SMF for the HVP
Silverlight:
Extending the SMF for the HVP
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 12 of 13
Channel 10:
Bing Maps Update: Map Embeds and Draggable Routes
WindowsClient:
New WPF Showcase: WEB Touch
ASP.NET:
ASP.NET MVC 2 RC Released
WindowsClient:
Very exciting Microsoft Pivot from Live Labs
WindowsClient:
XAML for UI & .rc files
TechNet Edge:
DNS Security (DNSSec) Overview
Silverlight:
Silverlight 4 demos from my PDC Keynote now available
Channel 9:
Channel 9 Live at PDC09: Dave Campbell
Channel 9:
Channel 9 Live at PDC09: Yousef Khalidi
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online