简体   繁体   English

在IIS7服务器中部署时的asp.net应用程序错误-找不到表0

[英]asp.net application while deploying in IIS7 server error - cannot find table 0

I tried deploying an ASP.NET application in IIS server 7. I am using Windows 7. While deploying i am getting the error "Cannot find table 0." 我尝试在IIS服务器7中部署ASP.NET应用程序。我正在使用Windows7。在部署过程中,我收到错误消息“找不到表0”。

Exception Details: System.IndexOutOfRangeException: Cannot find table 0


Source Error: 
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 

Stack Trace: 
[IndexOutOfRangeException: Cannot find table 0.]
   System.Data.DataTableCollection.get_Item(Int32 index) +95
   LHS.RightColumn.Page_Load(Object sender, EventArgs e) in C:\Saravanan\Saravanan\Saravanan\LHS\LHS\RightColumn.ascx.cs:33
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +91
   System.Web.UI.Control.LoadRecursive() +74
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207

Please help me how to resolve this. 请帮助我解决此问题。 In Visual Studio this application is running fine. 在Visual Studio中,此应用程序运行良好。 But in IIS it is showing this error. 但是在IIS中却显示此错误。 Please help me in this 请帮我

I had this error some weeks back and it occurred because the web.config file was incorrect . 几周前我遇到了此错误,它是由于web.config文件不正确而发生的。 The database information was invalid . 数据库信息无效 Hopefully, this will help you. 希望对您有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM