CSDN首页 空间 新闻 论坛 Blog 下载 读书 网摘 搜索 .NET Java 视频 接项目 求职 在线学习 买书 程序员 通知
不看会后悔的Windows XP之经验谈 简单快捷DIY实用家庭影院
CSDN社区
搜索 收藏 打印 关闭
CSDN社区 >  .NET技术 >  ASP.NET

急!为什么会这样

楼主jhsfg(小虾ww)2004-03-01 08:44:00 在 .NET技术 / ASP.NET 提问

我的配置是  
        win2000server+access+asp.net  
  我在运行asp.net的程序时会不定时的出现以下错误(特别是在网页不断刷新的情况下):  
   
  Server   Error   in   '/'   Application.  
  --------------------------------------------------------------------------------  
   
  未指定的错误    
  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.Data.OleDb.OleDbException:   未指定的错误  
   
  Source   Error:    
   
  The   source   code   that   generated   this   unhandled   exception   can   only   be   shown   when   compiled   in   debug   mode.   To   enable   this,   please   follow   one   of   the   below   steps,   then   request   the   URL:  
   
  1.   Add   a   "Debug=true"   directive   at   the   top   of   the   file   that   generated   the   error.   Example:  
   
      <%@   Page   Language="C#"   Debug="true"   %>  
   
  or:  
   
  2)   Add   the   following   section   to   the   configuration   file   of   your   application:  
   
  <configuration>  
        <system.web>  
                <compilation   debug="true"/>  
        </system.web>  
  </configuration>  
   
  Note   that   this   second   technique   will   cause   all   files   within   a   given   application   to   be   compiled   in   debug   mode.   The   first   technique   will   cause   only   that   particular   file   to   be   compiled   in   debug   mode.  
   
  Important:   Running   applications   in   debug   mode   does   incur   a   memory/performance   overhead.   You   should   make   sure   that   an   application   has   debugging   disabled   before   deploying   into   production   scenario.      
   
  Stack   Trace:    
   
   
  [OleDbException   (0x80004005):   未指定的错误]  
        System.Data.OleDb.OleDbConnection.ProcessResults(Int32   hr)   +20  
        System.Data.OleDb.OleDbConnection.InitializeProvider()   +57  
        System.Data.OleDb.OleDbConnection.Open()   +203  
        ASP.search_ascx.Page_Load(Object   sender,   EventArgs   e)   +172  
        System.Web.UI.Control.OnLoad(EventArgs   e)   +67  
        System.Web.UI.Control.LoadRecursive()   +35  
        System.Web.UI.Control.LoadRecursive()   +98  
        System.Web.UI.Control.LoadRecursive()   +98  
        System.Web.UI.Page.ProcessRequestMain()   +731 问题点数:80、回复次数:5Top

相关问题

  • 急!!!为什么会这样?!!
  • 急急急,为什么会这样错!!!!
  • 为什么会这样??急急……
  • datetimepicker为什么会这样??(急!!!!!!)
  • 为什么这样不行?急
  • 为什么这样??为什么这样??
  • 为什么这样???
  • 为什么这样?
  • 为什么这样?
  • 急,求救.为什么APPLET这样不行?

关键词

  • asp.net
  • application
  • asp
  • loadrecursive
  • oledb
  • oledbconnection
  • ui
  • compiled
  • 未指定的错误
  • control

得分解答快速导航

  • 帖主:jhsfg

相关链接

  • CSDN .NET频道
  • .NET类图书
  • C#类图书
  • .NET类源码下载

广告也精彩

反馈

请通过下述方式给我们反馈
反馈
提问
网站简介|广告服务|VIP资费标准|银行汇款帐号|网站地图|帮助|联系方式|诚聘英才|English|问题报告
北京创新乐知广告有限公司 版权所有, 京 ICP 证 070598 号
世纪乐知(北京)网络技术有限公司 提供技术支持
Copyright © 2000-2008, CSDN.NET, All Rights Reserved
GongshangLogo