0

我已经通过 iis 7.5 部署了我的 asp.net 应用程序(VS 2005),同时从 iis 浏览页面(例如 localhost/MyApp/login.aspx)它显示

Cannot find table 0.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.IndexOutOfRangeException: Cannot find table 0.

提前致谢。

4

2 回答 2

0

问题解决了……

我在 IIS 身份验证中启用了匿名身份验证,而所有其他身份验证都禁用了...

在我创建的应用程序池的高级设置中:

                   - Managed PipeLine : Local System

                   - Load User Profile : True

在 Default website -> Basic setting -> connect as -> select Application User(pass-through authentication)

谢谢你的帮助...

于 2013-06-25T07:57:03.257 回答
0

您的“表”数组/集合有零个元素。

于 2013-06-24T13:34:15.580 回答