Click here to Skip to main content
15,904,346 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

This app has been in use for a couple of months now. I have made no changes to the login process which is just an asp:login.

I have recently created a new "onboarding" facility that creates a new mysql schema, restores a database and creates an admin user on both. It also calls this in an attempt to preempt the issue:
C#
HttpRuntime.UnloadAppDomain();

A little background: The app is not open to the public. Our customers sign up their company and add employees as users. Each company has their own Tsql and MySql database.

So now, after running this onboarding, my tester creates a user account on the company, logs out of the dev account and back in as that user. After using the system as the new test user, she logs out and tries to log back in as the dev user again.

At this point all logins fail. All the users are told that their login fails. Recycle the app pool and all is fine again.

I can't reproduce the error locally, which is maddening, so I have no idea where to even start looking >_<

Any help is greatly appreciated, even if it's just an idea of how I can recreate / debug this issue.

Oh, to boot: remote debugger is just unusable. It takes 2 minutes just to F11

Thanks ^_^
Andy

PS:

What I have tried:

Tried recreating the issue locally, tried debugging the code on the server.
Posted
Updated 29-Mar-17 0:38am

1 solution

Never mind.

The issue was with my new usertype of Admin which can be a member of several companies. It's unrelated to the login process.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900