ASPX:添加新用户后登录失败,直到应用程序池被回收 [英] ASPX: logins fail after adding new user until app pool is recycled

查看:74
本文介绍了ASPX:添加新用户后登录失败,直到应用程序池被回收的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





这个应用程序已经使用了几个月了。我没有对登录过程进行任何更改,这只是一个asp:login。



我最近创建了一个新的onboarding工具,创建了一个新的mysql架构,恢复数据库并在两者上创建管理员用户。它还试图抢先解决这个问题:

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:

HttpRuntime.UnloadAppDomain();



一点背景:该应用程序不向公众开放。我们的客户注册他们的公司并将员工添加为用户。每家公司都有自己的Tsql和MySql数据库。



现在,在运行此入职后,我的测试人员在公司创建了一个用户帐户,退出开发者帐户并以该用户身份返回。在将系统用作新测试用户后,她退出并尝试再次以dev用户身份重新登录。



此时所有登录都失败。所有用户都被告知他们的登录失败。回收应用程序池,一切都很好。



我无法在本地重现错误,这令人发狂,所以我不知道从哪里开始寻找> ; _<



我们非常感谢任何帮助,即使它只是想知道如何重新创建/调试此问题。



哦,要启动:远程调试器只是无法使用。到F11需要2分钟



谢谢^ _ ^

Andy



PS:



我尝试过:



尝试重新创建本地问题,尝试调试服务器上的代码。


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.

推荐答案

没关系。



问题是我的新用户类型的管理员,可以是几个公司的成员。它与登录过程无关。
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.


这篇关于ASPX:添加新用户后登录失败,直到应用程序池被回收的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆