易截截图软件、单文件、免安装、纯绿色、仅160KB

求救,C#+ACCESS用一段时间就出错 - .NET技术 / C#

各位大哥大姐,我做的单位的一个简单的办公系统用一段时间(或许一二个星期、或许三五天不定期)出现错误,不知如何解决(重启服务器后正常)请各位帮帮忙,谢谢。

以下是IE上显示的错误信息:
//////////////////////////////////////////////////////////////////////
Server Error in '/oa' 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: 


Line 60: string connstr="Provider=MicroSoft.Jet.OLEDB.4.0;Data Source=" + Server.MapPath("#sdfsdf44564sfds3f45sdfwefs36sdfsdfd.mdb");
Line 61: conn=new OleDbConnection(connstr);
Line 62: conn.Open();
Line 63: string sqlstr="select * from members where Usernames='"+yhm.Text+"' and Userpwd='"+mm.Text+"'";
Line 64: cmd=new OleDbCommand(sqlstr,conn);
 

Source File: d:\oa\default.aspx Line: 62 

Stack Trace: 


[OleDbException (0x80004005): 未指定的错误]
  System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection) +271
  System.D


相关问答:

求助:C代码change toVB代码 - VB / 基础类

挺繁琐,之前发的帖子,分值太低现在重发一个。欢迎各位大侠~~
#include "stdlib.h"
#include "math.h"
#include "stdio.h"
float objfx(float x[]);
void constraint(float x[] ......

c# Winform 触摸屏程序 - .NET技术 / C#

公司开发一个触摸屏程序,我负责的一块,实现这样一个功能,当鼠标点击窗口中图片(一张图分成几部分)的其中一部分时,将这部分图片截取出来,弹出新的窗口,将截取出的图片显示出来。我使用Rectange类控制了返回, ......

C# SQL 的UPDATETEXT 问题 - .NET技术 / C#

A表 有两个字段 
  id 唯一数字域
  InfoTxt text 类型
 我现在要把 id 不是14 的所有 InfoTxt字段 文本后面 都加上 'aaa' 
按下面执行下来 只有表最后一行加上了 'aaa' ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号