asp.net 中的 IIS 池停止问题?

发布于 2024-12-08 01:46:12 字数 349 浏览 5 评论 0原文

我不知道我被困在哪里,但是每当我从 App_Code 创建其中一个类的对象时,我的站点池就会停止,我不明白出了什么问题,对于该类,一切都很简单。

我在App_Code下创建了BAL和DAL,当我创建BAL的对象时,App_Pool停止。

这是 BALDAL

请任何人帮我解决这个问题,我在过去两周被困在这里。

i don't know where i am stuck, but whenever i created the object of one of the class from App_Code, my sites pool stops, i dont understand whats wrong, with that class, everything is straightforward.

i have BAL and DAL created under App_Code, when i create the object of BAL, the App_Pool Stops.

here is a the BAL
and DAL

Please can anyone help me with this, i am stuck here for the last 2 weeks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

幸福不弃 2024-12-15 01:46:12

检查您的事件日志,您可能存在权限问题,导致 BAL/DAL 内的池崩溃。

  1. 通过单击“开始”按钮打开事件查看器 开始图片
    按钮,单击控制面板,单击系统和安全,
    单击“管理工具”,然后双击“事件”
    查看者。需要管理员权限如果系统提示您输入
    管理员密码或确认,输入密码或提供
    确认。

  2. 先单击错误,然后检查应用程序事件日志。

  3. 查找红色错误图标。

Check your event logs, you probably have a permission problem that is crashing the pool inside of your BAL/DAL.

  1. Open Event Viewer by clicking the Start button Picture of the Start
    button, clicking Control Panel, clicking System and Security,
    clicking Administrative Tools, and then double-clicking Event
    Viewer.‌ Administrator permission required If you're prompted for an
    administrator password or confirmation, type the password or provide
    confirmation.

  2. Click the Error first, then check the Application event log.

  3. Look for red error icons.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文