出错了。。。为什么啊? [问题点数:20分,结帖人mercury1231]

Bbs7
本版专家分:13452
结帖率 97.44%
Bbs1
本版专家分:12
Bbs6
本版专家分:5406
Bbs5
本版专家分:2764
Bbs5
本版专家分:2476
Bbs7
本版专家分:13452
Bbs6
本版专家分:9166
为什么这里出错了
代码如下: ------------------------------------------------------------------------ import java.lang.reflect.Array; import java.util.*; public class Test12 {     public static void main(String arg
错了,是为什么
我编写的第一个JAVA程序:rnrnimport java.io.*;rnimport javax.servlet.*;rnimport javax.servlet.http.*;rnpublic class Morning extends HttpServletrnrn public void service(HttpServletRequest req,Httpservletresponse res)rn throws ServletException, IOExceptionrn rn res.setContentType("text/html;charset=Big5");rn PrintWriter pw=res.getWriter();rn pw.println(" Morning");rn pw.println(" Good Morning!! 早安!");rn pw.println("");rn ;rn;rnrn运行时提示出错:rn----------Configuration: j2sdk1.4.0_03 ----------rnC:\bea\…\Morning.java:4: package javax.servlet does not existrnimport javax.servlet.*;rnrn这是<em>为什么</em>呢?帮个忙!rn
下面为什么错了
1 procedure TForm1.Button1Click(Sender: TObject);rn2 var i,j,k:integer;rn3 s1,s2:string;rn4 beginrn5 s1:='31010779';rn6 j:=length(s1);rn7 for i:=0 to j do beginrn8 s2[i]:=inttostr(15-strtoint(s1[i]));rn9 end;rn10 end;rnrn总是提第8句出错
为什么错了 搞不懂
[code=Javascript]rnvar GLOBAL= ;rnGLOBAL.namespace=function(str)rn var arr=str.split('.'),o=GLOBAL;rn for ( i=(arr[0]=="GLOBAL")? 1 : 0;i
为什么错了
我在sql*plus里建了一个showmessage表,用select * from tab;可以找到这个表,但是当我使用drop table或其它对该表进行操作的语句时都会出现找不到该对象表,视图什么的,这是什么原因??
找不到为什么错了
[code=Java]package tw.com.javasorld;rnrnimport java.lang.reflect.*;rnrnpublic class TestReflection03 rn public static void main(String[] args) rnrn Class c;rn Constructor constractor;rn Object obj ;rn rn tryrnrn c= Class.forName("tw.com.javasorld.Person");rn rn //调用有参数的构造方法rn Class[] argTypes = new Class[]String.class,int.class;rn constractor = c.getConstructor(argTypes);rn obj = constractor.newInstance("中国",5000);rn System.out.println(obj);rn rn //调用无参方法的构造函数rn constractor = c.getConstructor();rn obj = constractor.newInstance();rn System.out.println(obj);rn rn catch(Exception e)rn e.printStackTrace();rn rnrn rnrnrn[/code]rn[code=Java]package tw.com.javasorld;rnrnpublic class Person rn rn private int age;rn private String name;rn private int total;rn rn Person()rn super();rn total++;rn rn Person(String name,int age)rn super();rn this.name = name;rn this.age = age;rn total++;rn rn public int getAge() rn return age;rn rn public void setAge(int age) rn this.age = age;rn rn public String getName() rn return name;rn rn public void setName(String name) rn this.name = name;rn rn public int getTotal() rn return total;rn rn public void setTotal(int total) rn this.total = total;rn rn public String toString()rn return "Name :" +name +"\tAge :" + age;rn rnrnrnrn[/code]rnrn第一个类运行不了,总报java.lang.NoSuchMethodException: tw.com.javasorld.Person.(java.lang.String, int)错..可是Person中有相应构造方法.rn不知道问题处在哪了?rn
为什么?数据库出错了
我在win me 环境下开发了一个使用 mdb 数据库的程序,移到 win 97 上出错,后来找了一个装数据库环境的软件安装后,数据库可以用了。但是使用统计功能时,无法统计:只允许用 select 语句浏览某个时间为当月 1 号至其他时间范围内的数据,并且查找结果的时间范围竟然超出了设定的时间范围。后来换了一台新机器,装了 win 98 ,还是同样的错误。这是什么原因?如果在那台机器上安装 vb ,我想应该可以解决。但是有没有其他途径?
哪里出错了
1.指出以下程序的错误,并说明原因rnvoid func2(int *value)rnrn *value = 2;rnrnvoid func1()rnrn int * p = 0;rn func2(p);rnrnrn2.rnint a = 9; int b = 10;rnvoid swap(int x,int y)rnrn int temp = x;rn x = y;rn y = x;rnrnswap(a,b);rnrn;rnrnint main()rnrn D cd;rn cd.a = 1000;rn cout << "a=" << cd.a << endl;rn return 0;rnrnrnrn3.class Exaplernrn public:rn Static double rate = 6.5;rn;rnrn
救急啊,出错了
请问下面是什么回事rnrnAn unhandled exception of type 'System.ArgumentException' occurred in system.drawing.dllrnrnAdditional information: Invalid parameter used.
self.close出错了为什么
在close From,存取冲突。有什么原因?如何判断?
为什么错了?什么原因??
#includern#includern#includernstruct sturn int num;rn char name[20];rn char sex;rn float score;rnstudent[2]=050101,"许元元",'w',502,050102,"张帆",'m',498;rnrntypedef struct nodernstruct stu data;rnstruct node *next;rnLlist,*linklist;rnrncreateList(linklist p,struct stu student[],int n)rnlinklist h=NULL;rn int i;Llist *s,*r;rnfor(i=0;idata.num=student[i].num;rnstrcpy(s->data.name,student[i].name);rns->data.sex=student[i].sex;rns->data.score=student[i].score;rns->next=NULL;rnif(h==NULL)h=s;r=s;rnelser->next=s;rnr=s;rnrnrnmain()rnLlist *a1=NULL,*p;rncreateList(&a1,student,2);rn p=a1;rn while(p)rn printf("\n%d\t%s\t%c\t%f",p->data.num,p->data.name,p->data.sex,p->data.score);rn p=p->next; rn rnrn
为什么错了?
Dim conn As New ADODB.ConnectionrnDim rs As New ADODB.Recordsetrnconn.ConnectionString = "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Initial Catalog=lhy;Data Source=192.168.0.9"rnrs.Open "select * from admin", conn, adOpenDynamic, adLockOptimisticrnrnrnrn连接无法用于此操作,在此上下文中他可能被关闭或连接无效.
错了,不知道为什么
connDB.asprn rnrnrn rnrn错误rn错误类型:rnADODB.Recordset (0x800A0BB9)rn参数类型不正确,或不在可以接受的范围之内,或与其他参数冲突。rn/grzh/grzh.asp, 第 9 行rnrnrn浏览器类型:rnMozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322) rnrn网页:rnGET /grzh/grzh.asp
求助:为什么错了
rn rnrnrn运行的时候总是说rn错误类型:rnMicrosoft VBScript 运行时错误 (0x800A01A8)rn缺少对象: ''rnrn请教啊
修改操作 出错了 !~ 哪里错了
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'contryTable_remark='jkkh' where contry_Id=1' at line 1rnrn请问这句话到底是什么意思啊 rnrn我是用 Hibernate + struts 修改但是在Hibernate里不能执行自己写的SQL我就用了 JDBCrn之后就出现了上边这个错误rnString s = "Update contrytable set contry_pronoun=?,contry_name=?,contry_en=?,contry_alphabetic=? contryTable_remark=? where contry_Id="+ ContryId;rn请问这条语句哪里出现错误了哦?rn高手帮帮忙!~
哎,出错了,出错了
[code=SQL]rn--我win7在SQL2000中,创建视图,一编辑语句,就报<em>错了</em>。rnrn--之前是不会的。[/code]rnrn[img=http://img.my.csdn.net/uploads/201210/24/1351071063_2691.jpg.thumb.jpg][/img]rnrn[code=SQL]rn错误应用程序名称: mmc.exe,版本: 6.1.7600.16385,时间戳: 0x4a5bc3f1rn错误模块名称: msdt70.dll,版本: 7.10.5087.0,时间戳: 0x42488cbern异常代码: 0xc0000005rn错误偏移量: 0x000ac6c2rn错误进程 ID: 0x4b4rn错误应用程序启动时间: 0x01cdb1c8ccc9c6b2rn错误应用程序路径: C:\Windows\SysWOW64\mmc.exern错误模块路径: C:\Program Files (x86)\Common Files\Microsoft Shared\MSDesigners98\msdt70.dllrn报告 ID: 15823458-1dbc-11e2-b166-005056c00008rnrn[/code]
内核启动过程出错了为什么
内核启动过程输入如下信息rn。。。。。。。。。。。。。。。。。。。。。。。(省略)rnNET4: Linux TCP/IP 1.0 for NET4.0 rnIP Protocols: ICMP, UDP, TCP rnIP: routing cache hash table of 512 buckets, 4Kbytes rnTCP: Hash tables configured (established 1024 bind 1024)rnrn====================================== rn Slot Information rn====================================== rn Slot 1 ......Yes rn Slot 2 ......Yes rn======================================rn[i](<em>为什么</em>要经过很长的时间,才会继续输出下面的消息?)[/i][color=#FF6600][/color]rnVFS: Mounted root (romfs filesystem) readonly. rnFreeing init memory: 40KrnrnUnhandled fault: external abort on linefetch (F4) at 0x00000001 rnfault-common.c(97): start_code=0x29ab90, start_stack=0xefff84) rn#rn<em>为什么</em>会出现这个错误呢?网上说是定义了-PIC编译项,我也去掉了。可还是不行!rn我的board 配置:rnsc34510 arm7tdmi;rndram : 16Mbrnflash : 4mbrnos : uClinuxrnos version : linux-2.4.xrnrnrn救命啊,兄弟姐妹们!rnrn
我的类模板为什么错了
template rnclass wndlistrnrn public:rn wndlist()rn rn rn rn rn;rn<em>为什么</em>会提示wndlist is not a template typern
GetWindowText哪里出错了啊?
Handle是窗口句柄,不过显示不出标题,不知道哪里有问题啊rn[code=C/C++]rnint Len = GetWindowText(Handle, NULL, NULL);rn TCHAR* Name = new TCHAR[Len + 1];rn GetWindowText(Handle, Name, Len + 1);rn wcout<
硬盘出错了,怎么办啊!
我的硬盘分了四个区5G、7G、7G、14G,在搬到别人家时候有撞到一下而已,然后不知<em>为什么</em>最后一个盘无法使用了,提示是:I/O设备接口出错。rn请问如何做才能保住分区里面的资料啊。
jsp+tomcat5.0+ms sql 出错了啊!
我用的是tomcat5.0+sql server2000rnHTTP Status 500 - rnrn--------------------------------------------------------------------------------rnrntype Exception reportrnrnmessage rnrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnjavax.servlet.ServletException: [Microsoft][SQLServer 2000 Driver for JDBC]End of stream was detected on a read.rn org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:867)rn org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:800)rn org.apache.jsp.test1_jsp._jspService(test1_jsp.java:77)rn org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:856)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:856)rnrnrnroot cause rnrnjava.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]End of stream was detected on a read.rn com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)rn com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)rn com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)rn com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)rn com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source)rn com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)rn com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)rn java.sql.DriverManager.getConnection(DriverManager.java:512)rn java.sql.DriverManager.getConnection(DriverManager.java:171)rn org.apache.jsp.test1_jsp._jspService(test1_jsp.java:47)rn org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:856)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:856)rnrnrnnote The full stack trace of the root cause is available in the Tomcat logs.rnrnrn--------------------------------------------------------------------------------rnrnApache Tomcat/5.0.16rnrnbook.sqlrnuse jspdev;rncreate table book(bookId varchar(50),bookName varchar(50),publisher varchar(100),price float,constraint pk_book primary key(bookId));rninsert into book values('001-22-23-1','jsp 应用开发详解','电子工业出版社',59.0);rntestmssql.jsprnrnrnrn以下是从Ms sql server数据库读取的数据: rn rn idrn 书 名rn 出版社 价格rnrn rnrnrnrnrnrn
错了!各位帮忙啊!
我是用DATAGRID修改数据,但是我执行时却出现了以下的错误,请帮忙啊!谢谢rnrn编译器错误信息: CS0122: 不可访问“WebApplication1.WebForm1.ItemsGrid_Edit(object, System.Web.UI.WebControls.DataGridCommandEventArgs)”,因为它受保护级别限制rn
realloc怎么出错了啊?
UCHAR * pucBodyBuffer = NULL;rnpucBodyBuffer = (UCHAR*)malloc(ulBufferSize); rnif (pucBodyBuffer == NULL)rnrn MessageBox("MQ_ERROR_INSUFFICIENT_RESOURCES");rn return;rnrnmemset(pucBodyBuffer, 0, ulBufferSize);rn......rnfor(int i=0;i);rn return ;rn rn memset(pucBodyBuffer, 0, ulBufferSize);rn......rnfree(pucBodyBuffer);rnrnrn应该没有问题啊?但第二次循环开始realloc就出错!晕死 !!!说内存正用!!!不是free过了吗?
为什么destroywindow后出错了
<em>为什么</em>destroywindow后出<em>错了</em>?rnrn在树形控件类A里声明了一个B对话框对象C,然后再控件类A的成员函数D里使用c.create,对话框B被成功创建了,但是在A的另一个成员函数E里使用C.DestroyWindow,D里create的对话框没有销毁,退出E函数后程序还崩溃了,求解~
附加数据库出错了 这是为什么
[img=http://hi.csdn.net/attachment/201103/20/9903714_1300592863Gepu.png][/img]rn这个是我的数据库rn[img=http://hi.csdn.net/attachment/201103/20/9903714_1300592909zRIh.png][/img]rn附加数据后 新建登录名 出现这个错误 <em>为什么</em>呢
为什么这个数组出错了
varrnmyarray:array[1..16] of string;rnmyarray2:array[1..16] of Timage;rni:integer;rnq:integer;rnrn……rnrnmyarray[1]:='ico1';rnmyarray[2]:='ico2';rnmyarray[3]:='ico3';rnmyarray[4]:='ico2';rnmyarray[5]:='ico3';rnmyarray[6]:='ico4';rnmyarray[7]:='ico3';rnmyarray[8]:='ico4';rnmyarray[9]:='ico5';rnmyarray[10]:='ico4';rnmyarray[11]:='ico5';rnmyarray[12]:='ico6';rnmyarray[13]:='ico5';rnmyarray[14]:='ico6';rnmyarray[15]:='ico7';rnmyarray[16]:='ico6';rnrn for q:=1 to 16 dornbeginrn for i:=1 to 16 dorn beginrn Ico:=TIcon.Create;rn j:=Loadini('link',myarray[i], '');rn Ico.Handle:=GetFileIcon(pchar(j),False);rn myarray2[q].Picture.Icon.Assign(Ico);rn Ico.Free;rn end;rnend;
请教高手,为什么错了?
Dim rows2() As DataRowrn Dim tb2 As New DataTablern rows2 = Dsjj1.Tables("员工信息").Selectrn MsgBox(rows2(2)(2)) ' 这里出<em>错了</em>rnrn第4行出<em>错了</em>,显示"未把对象引入到实例"rn
为什么错了?请指点!
错误是这样的:rnhttp://61.52.142.191/netoffice/userreg.aspxrn我的代码是这样的:rnDim sqlConn As SqlConnectionrn sqlConn = New SqlConnection("Server=localhost;database=pubs;User Id=sa;Password=5560256;")rn sqlConn.Open()rnrn Dim sql As String = "SELECT Id, Name, Adre FROM school"rn rn Dim sqlAda As SqlDataAdapter = New SqlDataAdapter(sql, sqlConn)rnrn Dim Ds As DataSet = New DataSetrn sqlAda.Fill(Ds)rnrnrnrn Dim Dv As DataView = Ds.Tables(0).DefaultViewrn DataGrid1.DataSource = Dvrn DataGrid1.DataBind()rn sqlConn.Close()
这个表达式为什么错了?
在一个提交按钮中rnprivate void imgbtn_Modify_Click(object sender, System.Web.UI.ImageClickEventArgs e)rn int contest_ID = int.Parse(lbl_regNum.Text.Trim());rnif(Session["contest_ID"] == null || Session["contest_ID"].ToString() != Request.QueryString["contest_ID"].ToString().Trim())rn rn string url = "login.aspx?contest_ID=" + contest_ID;rn Response.Redirect(url);rn rn elsern rn string url2 = "scan.aspx";rn Response.Redirect(url2);rn rn rnrn出错信息是:rn这一行if(Session["contest_ID"] == null || Session["contest_ID"].ToString() != Request.QueryString["contest_ID"].ToString().Trim())rn原因是:System.NullReferenceException: 未将对象引用设置到对象的实例。rn这是怎么回事啊?rn(因为我是新手,问的问题比较多,只能给10分,请大家谅解)rn
到底是哪出错了啊????
《Tomcat与Java Web开发技术详解》第6章测试错误,我对照书本上的操作,并且所有的代码都是复制光盘上的源代码,放在指定位置。然后启动Tomacat,在地址栏输入http://localhost/bookstore/bookstore.jsp回车,看到了网上书店的主页面,但是当我点击“查看所有书目”时,就出<em>错了</em>。 rn我是个新手,还不会分析复杂的错误,所以想请高手给我指点一下,rn错误提示如下:rn服务器端发生错误:Communication link failure: java.io.IOException, underlying cause: Unexpected end of input stream ** BEGIN NESTED EXCEPTION ** java.io.IOException MESSAGE: Unexpected end of input stream STACKTRACE: java.io.IOException: Unexpected end of input stream at com.mysql.jdbc.MysqlIO.readPacket(MysqlIO.java:1096) at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:626) at com.mysql.jdbc.Connection.createNewIO(Connection.java:1562) at com.mysql.jdbc.Connection.(Connection.java:491) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:346) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(Unknown Source) at mypack.BookDB.getConnection(BookDB.java:20) at mypack.BookDB.getBooks(BookDB.java:79) at org.apache.jsp.catalog_jsp._jspService(catalog_jsp.java:134) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Unknown Source) ** END NESTED EXCEPTION ** rn错误原因为:java.sql.SQLException: Communication link failure: java.io.IOException, underlying cause: Unexpected end of input stream ** BEGIN NESTED EXCEPTION ** java.io.IOException MESSAGE: Unexpected end of input stream STACKTRACE: java.io.IOException: Unexpected end of input stream at com.mysql.jdbc.MysqlIO.readPacket(MysqlIO.java:1096) at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:626) at com.mysql.jdbc.Connection.createNewIO(Connection.java:1562) at com.mysql.jdbc.Connection.(Connection.java:491) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:346) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(Unknown Source) at mypack.BookDB.getConnection(BookDB.java:20) at mypack.BookDB.getBooks(BookDB.java:79) at org.apache.jsp.catalog_jsp._jspService(catalog_jsp.java:134) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Unknown Source) ** END NESTED EXCEPTION ** at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:699) at com.mysql.jdbc.Connection.createNewIO(Connection.java:1562) at com.mysql.jdbc.Connection.(Connection.java:491) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:346) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(Unknown Source) at mypack.BookDB.getConnection(BookDB.java:20) at mypack.BookDB.getBooks(BookDB.java:79) at org.apache.jsp.catalog_jsp._jspService(catalog_jsp.java:134) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Unknown Source) rnrn
tomcat出错了,急啊
错误如下:rnrnorg.apache.jasper.JasperException: Unable to compile class for JSPerror: Can't read: /home/admis2/tomcat322/work/localhost_8080%2FJBank/_0002flogin_0002ejsplogin_jsp_0.javarnrn大家来救火啊rn
FreeTextBox使用出错了
从word拷贝文字到里面,保存出错,错误信息如下:rn语法错误 (操作符丢失) 在查询表达式 ''
这样写为什么错了
rnrnrnrn rn 无标题文档rnrn rn rn rn rnrnrn
错了为什么? 请教。急
配置错误 rn说明: 在处理向该请求提供服务所需的配置文件时出错。请检查下面的特定错误详细信息并适当地修改配置文件。 rnrn分析器错误信息: 在应用程序级别以外使用注册为 allowDefinition='MachineToApplication' 的节是错误的。导致该错误的原因可能是在 IIS 中没有将虚拟目录作为应用程序进行配置。rnrn源错误: rnrnrn行 19: "Forms", "Passport" and "None"rn行 20: rn行 21: rn行 22:
存储过程调用出错了啊!!!
protected void Page_Load(object sender, EventArgs e)rn rn if (!Page.IsPostBack)rn rn rn Bind();rn rn rn rn public void Bind()rn rn SqlConnection conn = DataAccess.CreateConnection();rn rn string sql="select * from post";rn SqlDataAdapter sda = new SqlDataAdapter(sql, conn);rn DataSet ds = new DataSet();rn sda.Fill(ds,"table");rn DataList1.DataSource = ds.Tables["table"];rn DataList1.RepeatColumns = 1;rn DataList1.DataBind();rn conn.Close();rnrn rnrn protected void txtsubmit_Click(object sender, EventArgs e)rn rnrn string postname = txtname.Text;rn string subject = txtsubject.Text;rn string message = txtmessage.Text;rn string posttime = DateTime.Now.ToString();rn string ip = Request.UserHostAddress.ToString();rn //string strName = txtname.Text.Trim();rn //string strSubject = txtsubject.Text.Trim();rn //string strMessage = txtmessage.Text.Trim();rn //string strip = Request.UserHostAddress.ToString();rn //string strPostTime = DateTime.Now.ToString();rn //SqlConnection conn = DataAccess.CreateConnection();rn //SqlCommand cmd = new SqlCommand();rn //cmd.CommandText = "insert into post(postname,subject,message,posttime,ip) values('" + strName + "','" + strSubject + "','" + strMessage + "','" + strPostTime + "','" + strip + "')";rn //cmd.Connection = conn;rn //conn.Open();rn //cmd.ExecuteNonQuery();rn //conn.Dispose();rn //conn.Close();rn rn DataAccess.InsertInto(postname,subject,message,posttime,ip);rn Response.Write(" ");rn rn现在的问题是:出现 过程 'Pro_PostMessage' 需要参数 '@ip',但未提供该参数 这个错误提示:rn存储过程如下:rnCREATE PROCEDURE Pro_PostMessage rn @postname nvarchar(50),rn @subject nvarchar(200),rn @message text,rn @posttime nvarchar(30),rn @ip nvarchar(20)rnASrnrnbegin tran rnset xact_abort on rninsert into post(postname,subject,message,posttime,ip) values(@postname,@subject,@message,@posttime,@ip)rncommit tranrnGOrn这是写的一个类:rnpublic class DataAccessrnrn //public static SqlConnection conn = null;rn public DataAccess()rn rn //rn // TODO: 在此处添加构造函数逻辑rn //rn //public SqlConnection conn = null;rn rn public static SqlConnection CreateConnection()rn rn SqlConnection conn = new SqlConnection("server=.;database=MsgBoard;uid=sa;pwd=57744003;");rn return conn;rn rn rnrn public static void InsertInto(string postname, string subject, string message, string posttime,string ip)rn rn rn SqlConnection conn = DataAccess.CreateConnection();rn SqlCommand cmd = new SqlCommand();rn SqlParameter[] para = new SqlParameter[] new SqlParameter("postname", SqlDbType.NVarChar, 100) ;rn para = new SqlParameter[] new SqlParameter("subject", SqlDbType.NVarChar, 200) ;rn para = new SqlParameter[] new SqlParameter("message", SqlDbType.Text) ;rn para = new SqlParameter[] new SqlParameter("posttime", SqlDbType.NVarChar, 30) ;rn para = new SqlParameter[] new SqlParameter("ip", SqlDbType.NVarChar, 20) ;rn rnrn cmd.Connection = conn;rn cmd.CommandType = CommandType.StoredProcedure;rn cmd.CommandText = "Pro_PostMessage";rn cmd.Parameters.AddRange(para);rn conn.Open();rn cmd.ExecuteNonQuery();rn conn.Close();rn conn.Dispose();rn rn rnrn rn rnrnrnrn大家帮给看看有关怎么搞啊 小弟菜鸟啊!!rn
急啊!!!我的硬盘出错了啊!!!
我在玩的时候,机子突然自己重启了,然后在重启检测完内存和硬盘是,就报硬盘找不到了。然后我在bios里面可以正常的检测到硬盘,但是就是重启时找不到硬盘了。做fdisk也找不到,但在做lformat时(我以前一次lformat都没做过的),找到了硬盘,但是在做的过程中,又报<em>错了</em>,报错如下:rn ERROR Bit Set.Status Register:51h ERROR Register:4hrn然后我就不知道该怎么办了。rn 求哪位大侠能帮小弟我解决一下啊?是不是我的硬盘彻底的坏了啊?要是没彻底坏还有救吗?怎么救啊?rn 如果彻底坏了,我现在用的盘英694的板子,它能不能用迈拓80G的硬盘啊?rn 求各位大侠帮帮我啊?
为什么错了啊?
[img=https://img-bbs.csdn.net/upload/201402/10/1392043321_983323.png][/img]图片中<em>为什么</em><em>错了</em>啊???求大家解答
错了
“/Netoffice6”应用程序中的服务器错误。rn--------------------------------------------------------------------------------rnrn索引和长度必须引用该字符串内的位置。rn参数名: length rn说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 rnrn异常详细信息: System.ArgumentOutOfRangeException: 索引和长度必须引用该字符串内的位置。rn参数名: lengthrnrn源错误: rnrn执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。 rnrn堆栈跟踪: rnrnrn[ArgumentOutOfRangeException: 索引和长度必须引用该字符串内的位置。rn参数名: length]rn System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) +2819959rn System.String.Substring(Int32 startIndex, Int32 length) +11rn components.DBDepartment.getDanweiCode(String deptCode) in E:\工作目录\T03\通用版OA6.0\程序\components\DBDepartment.vb:71rn netoffice.bizLogic.comFun.refreshSessionFromLoginID(String loginID) in E:\工作目录\T03\通用版OA6.0\程序\EpointNetoffice6\bizLogic\comFun.cs:452rn netoffice.login.Imagebutton1_Click(Object sender, ImageClickEventArgs e) in E:\工作目录\T03\通用版OA6.0\程序\EpointNetoffice6\login.aspx.cs:134rn System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +105rn System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +115rn System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7rn System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11rn System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33rn System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102rnrn rnrnrn--------------------------------------------------------------------------------rn版本信息: Microsoft .NET Framework 版本:2.0.50727.832; ASP.NET 版本:2.0.50727.832
错了!!!!!
自己写了一个程序,调试的时候没有错。但是每次关闭的时候总是提示"SeriPort.exe 遇到问题需要关闭。我们对此引起的不便表示抱歉。"刚开始时时没有错的,这是什么意思啊?rnLoaded 'ntdll.dll', no matching symbolic information found.rnLoaded 'C:\WINDOWS\system32\kernel32.dll', no matching symbolic information found.rnLoaded symbols for 'C:\WINDOWS\system32\MFC42D.DLL'rnLoaded symbols for 'C:\WINDOWS\system32\MSVCRTD.DLL'rnLoaded 'C:\WINDOWS\system32\gdi32.dll', no matching symbolic information found.rnLoaded 'C:\WINDOWS\system32\user32.dll', no matching symbolic information found.rnLoaded symbols for 'C:\WINDOWS\system32\MFCO42D.DLL'rnLoaded 'C:\WINDOWS\system32\imm32.dll', no matching symbolic information found.rnLoaded 'C:\WINDOWS\system32\advapi32.dll', no matching symbolic information found.rnLoaded 'C:\WINDOWS\system32\rpcrt4.dll', no matching symbolic information found.rnLoaded 'C:\WINDOWS\system32\secur32.dll', no matching symbolic information found.rnLoaded 'C:\WINDOWS\system32\lpk.dll', no matching symbolic information found.rnLoaded 'C:\WINDOWS\system32\usp10.dll', no matching symbolic information found.rnLoaded 'C:\WINDOWS\system32\mfc42loc.dll', no matching symbolic information found.rnLoaded 'C:\WINDOWS\system32\comctl32.dll', no matching symbolic information found.rnLoaded 'C:\WINDOWS\system32\uxtheme.dll', no matching symbolic information found.rnLoaded 'C:\WINDOWS\system32\msvcrt.dll', no matching symbolic information found.rnLoaded 'C:\Program Files\360\360Safe\safemon\safemon.dll', no matching symbolic information found.rnLoaded 'C:\WINDOWS\system32\shell32.dll', no matching symbolic information found.rnLoaded 'C:\WINDOWS\system32\shlwapi.dll', no matching symbolic information found.rnLoaded 'C:\WINDOWS\system32\ole32.dll', no matching symbolic information found.rnLoaded 'C:\WINDOWS\system32\oleaut32.dll', no matching symbolic information found.rnLoaded 'C:\WINDOWS\system32\msvcp60.dll', no matching symbolic information found.rnLoaded 'C:\WINDOWS\system32\wininet.dll', no matching symbolic information found.rnLoaded 'C:\WINDOWS\system32\crypt32.dll', no matching symbolic information found.rnLoaded 'C:\WINDOWS\system32\msasn1.dll', no matching symbolic information found.rnLoaded 'C:\WINDOWS\system32\psapi.dll', no matching symbolic information found.rnLoaded 'C:\WINDOWS\system32\ws2_32.dll', no matching symbolic information found.rnLoaded 'C:\WINDOWS\system32\ws2help.dll', no matching symbolic information found.rnLoaded 'C:\WINDOWS\system32\version.dll', no matching symbolic information found.rnLoaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll', no matching symbolic information found.rnLoaded 'C:\WINDOWS\system32\MSCTF.dll', no matching symbolic information found.rnLoaded 'C:\WINDOWS\system32\MSCTFIME.IME', no matching symbolic information found.rnLoaded 'C:\WINDOWS\system32\clbcatq.dll', no matching symbolic information found.rnLoaded 'C:\WINDOWS\system32\comres.dll', no matching symbolic information found.rnLoaded 'C:\WINDOWS\system32\MSCOMM32.OCX', no matching symbolic information found.rnLoaded 'C:\WINDOWS\system32\sxs.dll', no matching symbolic information found.rnLoaded 'C:\WINDOWS\system32\olepro32.dll', no matching symbolic information found.rnThe thread 0xF34 has exited with code 1 (0x1).rnFirst-chance exception in SeriPort.exe (KERNEL32.DLL): 0xC0000005: Access Violation.rnThe program 'D:\C\MFC\SeriPort(通用版_1)\Debug\SeriPort.exe' has exited with code 0 (0x0).rnrnrn
错了。!!!!!!!!!
declare @ghy_table tablern@ghy_table=select maxvalue=(case when ghy1>ghy4 then a end) from a as mostrnrnselect * from @ghy_tablernwhere @ghy_table.maxvalue is not null rnrnrn服务器: 消息 170,级别 15,状态 1,行 2rn第 2 行: '@ghy_table' 附近有语法错误。rn服务器: 消息 137,级别 15,状态 1,行 2rn必须声明变量 '@ghy_table'。rnrn怎么改??帮忙
错了?
SqlConnection conn = new SqlConnection();rn SqlConnectionStringBuilder ssb = new SqlConnectionStringBuilder();rn conn.ConnectionString = "Persist Security Info=False;Integrated Security=true;Initial Catalog=IMSDB;Server=(LOCAL);";rn conn.Open();rn DataSet dbSet = new DataSet(); // 创建数据集 rn using (SqlDataAdapter da = new SqlDataAdapter("select * from IMS_Flow_EntryBillMaster", conn))rn rn da.Fill(dbSet, "EntryBillMaster"); // 填充一个 Customers 表 rn rn using (SqlDataAdapter da = new SqlDataAdapter("select * from IMS_Flow_EntryBillDetail", conn))rn rn da.Fill(dbSet, "EntryBillDetail");rn // 填充一个 Orders 表 rn rn // ##说明:上面是Northwind库表创建程序,文后附加的代码可以取代上述功能 rn DataColumn parentCol = dbSet.Tables["EntryBillMaster"].Columns["BillNo"];rn DataColumn childCol = dbSet.Tables["EntryBillDetail"].Columns["BillNo"];rn DataRelation relation = new DataRelation("FK_IMS_Flow_EntryBillDetail_IMS_Flow_EntryBillDetail", parentCol, childCol);rn dbSet.Relations.Add(relation); // 添加主从关系到数据集中 rn [color=#FF0000] BindingSource bs_EntryBillMaster = new BindingSource(); [/color] // 创建绑定源 rn BindingSource bs_EntryBillDetail = new BindingSource();rn bs_EntryBillMaster.DataSource = dbSet;rn bs_EntryBillMaster.DataMember = "EntryBillMaster"; // 绑定到数据源——主表 rn bs_EntryBillDetail.DataSource = bs_EntryBillMaster;rn bs_EntryBillDetail.DataMember = "FK_IMS_Flow_EntryBillDetail_IMS_Flow_EntryBillDetail"; // 绑定到关系——从表,注意:区分大小写 rn dataGridView1.DataSource = bs_EntryBillMaster; // DataGridView 显示 rn dataGridView2.DataSource = bs_EntryBillDetail;rn运行到红色字体就自动跳出程序了,<em>为什么</em>啊,错在哪里啊,帮忙看看
错了。。。!
Dim WithEvents oControls As VBControlExtenderrnrnPrivate Sub LoadControl()rnSet oControls = Controls.Add("VB.commandbutton", "myCtl")rnoControls.Visible = TruernEnd SubrnrnPrivate Sub Form_Load()rnLoadControlrnEnd SubrnrnPrivate Sub oControls_ObjectEvent(Info As EventInfo)rnSelect Case Info.NamernCase "Click"rnMsgBox "您按了新添加的按钮!"rnEnd SelectrnEnd Subrn
错了
<>"" then rn dim f3,tiyan,yueye,duogongneng,canting,notern f3=trim(request.Form("f3"))rn if f3="" then f3="空闲"rn tiyan=trim(request.Form("tiyan"))rn if tiyan="" then tiyan="空闲"rn yueye=trim(request.Form("yueye"))rn if yueye="" then yueye="空闲"rn duogongneng=trim(request.Form("duogongneng"))rn if duogongneng="" then duogongneng="空闲"rn canting=trim(request.Form("canting"))rn if canting="" then canting="空闲"rn note=trim(request.Form("note"))rn if note="" then note="空闲"rn sql="update paiqi set f3='"&f3&"', tiyan='"&tiyan&"', duogongneng='"&duogongneng&"', yueye='"&yueye&"', canting='"&canting&"' where times=#"&request.Form("times")&"#"rn 'response.Write(sql)rn '判断是否有权限执行操作rn if request.Cookies("pass")>1 then rn conn.execute(sql)rn elsern response.Write("您没有操作权限!")rn end if rn rn end ifrn '****************************************************************rn '更新程序结束,关闭数据库rn '****************************************************************rn conn.close rn %>rnrnrn如果把sql改为如下就会出错rnrnsql="update paiqi set f3='"&f3&"', tiyan='"&tiyan&"', duogongneng='"&duogongneng&"', yueye='"&yueye&"', canting='"&canting&"', note='"&note&"' where times=#"&request.Form("times")&"#"rnrn出错提示rnMicrosoft VBScript 编译器错误 错误 '800a03f6' rnrn缺少 'End' rnrn/iisHelp/common/500-100.asp,行242 rnrnMicrosoft OLE DB Provider for ODBC Drivers 错误 '80040e14' rnrn[Microsoft][ODBC Microsoft Access Driver] UPDATE 语句的语法错误。 rnrnnote为textarea 格式,rn
错了!!!
有这么一段语句:rntryrnrn myconn=new SqlConnection(ConfigurationSettings.AppSettings["ConnectionString"]);rn myconn.Open();rnrncatch(Exception e)rnrn ErrLab.Text=e.ToString();rnrn提示信息如下:rn 不能在此范围内声明名为“e”的局部变量,因为这样会使“e”具有不同的含义,而它已经用于“父级或当前”范围以表示其他内容rn这是什么意思啊?rn我在这个函数内并没有定义其他的为e的变量啊
错了!!
[code=java]rnthis.getHibernateTemplate().execute(new HibernateCallback()rn rn public Integer doInHibernate(Session session) throws HibernateException, SQLExceptionrn rn Query query = session.createSQLQuery("delete from t_roles_menus where roleId in (?)");rn query.setParameter(0, role.getId());rn Integer returnVal = query.executeUpdate();rn rn query = session.createSQLQuery("insert into t_roles_menus(roleId, menuId) values(?, ?)");rn rn Set treeNodeSet = role.getTreeNodeSet();rn for(ZTreeNode node : treeNodeSet)rn rn query.setInteger(0, role.getId());rn query.setInteger(0, node.getMenuId());rn returnVal = query.executeUpdate();rn rn rn return returnVal;rn rn );rn[/code]rn20:50:52.801 [http-8080-3] WARN org.hibernate.util.JDBCExceptionReporter -- SQL Error: 17041, SQLState: null -- rn20:50:52.801 [http-8080-3] ERROR org.hibernate.util.JDBCExceptionReporter -- 索引中丢失 IN 或 OUT 参数:: 2 --
错了?!
NoahWeb1.2.2987.21757脚本错误:rn错误说明:rnMSSQL Insert 错误:INSERT INTO noahweb_webcount (useip,ddata,dtime,pointid,usesessionid,page,noahwebaction,jumpurl,createdate,customer) VALUES ('X.X.X.X, X.X.X.X','633564288000000000','8','43','zayqgq45i5zlmc45i3kby155','/isn_j.aspx','JMP','http://www.csdn.net','2008-09-08 08:32:01','0')rnrn错误描述:rn将截断字符串或二进制数据。语句已终止。rn错误说明:rn"siteroot.noahweb_webcount_I_new"数据库操作执行失败!rnrn错误描述:rn将截断字符串或二进制数据。语句已终止。rn rnrn
错了???
打开php出现以上错误"PHP has encountered an Access Violation at 77FCB305"具体是什么意思?是什么原因造成的?谢谢在家了!!!
D3出错了为什么不能识别getParamenter(" ")啊
程序:rnimport java.applet.Applet;rnimport java.awt.*;rnpublic class D3 extends Appletrnrn String str;rn int x,y,h;rn Font fnt;rn public void init()rn rn str=getParamenter("string");rn h=Integer.parseInt(getParamenter("size"));rn x=Integer.parseInt(getParamenter("x1"));rn y=Integer.parseInt(getParamenter("y1"));rn fnt=new Font("TimesRoman",Font.BOLD,h);rn rn public void paint(Graphics g)rn rn g.setColor(Color.red);rn g.setFont(fnt);rn g.drawString(str,x,y);rn rnrn编绎结果:rn--------------------配置: --------------------rnE:\java\D3.java:10: cannot resolve symbolrnsymbol : method getParamenter (java.lang.String)rnlocation: class D3rn str=getParamenter("string");rn ^rnE:\java\D3.java:11: cannot resolve symbolrnsymbol : method getParamenter (java.lang.String)rnlocation: class D3rn h=Integer.parseInt(getParamenter("size"));rn ^rnE:\java\D3.java:12: cannot resolve symbolrnsymbol : method getParamenter (java.lang.String)rnlocation: class D3rn x=Integer.parseInt(getParamenter("x1"));rn ^rnE:\java\D3.java:13: cannot resolve symbolrnsymbol : method getParamenter (java.lang.String)rnlocation: class D3rn y=Integer.parseInt(getParamenter("y1"));rn ^rn4 errorsrnrn处理已完成。rn
初始化指针为什么错了,在线等~~~~
#include "stdafx.h"rn#include rnusing namespace std;rnrnint main()rnrn int *P=new int;//<em>为什么</em>会出错呢?rn p=9;rn cout<<<*p;rn return 0;rn
最简单的if语句出错了,不知道为什么
if (dataGridView1.CurrentRow.Cells[0].Value == null )rn rn MessageBox.Show("导体没有数据,不能保存");rn return;rn rn这样子在运行的时候是没有问题的,但是我改成下面代码rnif (dataGridView1.CurrentRow.Cells[0].Value == null && dataGridView2.CurrentRow.Cells[0].Value == null)rn rn MessageBox.Show("导体没有数据,不能保存");rn return;rn rn就报<em>错了</em>,提示居然是 未将对象引用设置到对象的实例,不知道<em>为什么</em>.
为什么错了?----我是初学者:)
在QUERY中出现这样的出错信息:YOU cannot run SELECT INTO in this database.rnThe DBO would have run sp_dboption to enable this option.rn 怎样才能运行 SELECT INTO
从SVN DOWN的项目出错了为什么
[img=https://img-bbs.csdn.net/upload/201508/11/1439283722_986104.jpg][/img]rn求大神<em>为什么</em>
为什么在IE6和IE7出错了呢?
[color=#0000FF]真想不明白啊..这个脚本是鼠标以上去在#move改变图片同时a标签的title的值被替换在#description里.rn但ie6和IE7出<em>错了</em>[/color]rn[code=HTML]rnrn rn New Document rn rn rn rn rn rnrn rn rnrn rn rn rn 图片1rn 图片2rn 图片3rn 图片4rn rn rn rn rnrn rn rnrn[/code]
为什么安装eclipse时出错了
我在安装eclipse-jee-indigo-SR2-win32-x86_64时出现了如下[img=http://E:\QQ截图][/img]的截屏,求解呀!谢谢哈!
建立MFC项目出错了为什么
建立MFC项目rnrn用MFC appwizard的时候出现模版加载错误rnrn在Mirosoft Visual Studio .NET/VC7/VCWizaid/mfcapp/template/2052/frame.h加载错误,而template目录下的*.h,*.cpp几乎都是乱码谁可以告诉我<em>为什么</em>,谢谢 rnrnmfcapp这个目录的名称记不清楚了,反正差不多
插入form进行查询 为什么错了
下面的代码 在不插入红色部分的时候可以正常运行,实现功能 但是插入form后就报<em>错了</em> 请给位高手指点下 是哪里出问题了呀 感觉应该是rs的定义问题 rn rn rn rnrn rn rn 班级信息管理【 新增班级 】 rn rn[color=#FF0000] rn院系 rn 选择学院 rn rn "> rn rn rn专业 rn > rn 选择专业 rn rn年级 rn rn 选择年级 rn rn rn [/color] rn rn rn 班级代码 rn 专业代码 rn 专业名称 rn 院系名称 rn 班级人数 rn 操作 rn rn rn rn 无记录! rn rn rn rn rn rn ">修改 rn ">删除 rn rn rnrn rn rn rn rn rn rn rn rn rn rn rn rn
请问用setcookie()为什么提示出错了
rnrnnick收的是上一个表单传过来的变量rnrn错误提示为rnWarning: Cannot modify header information - headers already sent by (output started at D:\AppServ\www\chat1\main.php:2) in D:\AppServ\www\chat1\main.php on line 3
为什么使用了PlaySound出错了?
PlaySound(MAKEINTRESOURCE(IDR_WAVE1),AfxGetResourceHandle(),rn SND_ASYNC|SND_RESOURCE|SND_NODEFAULT);rnrn报错:rnMusicPlayDlg.obj : error LNK2001: unresolved external symbol __imp__PlaySoundA@12rnDebug/MusicPlay.exe : fatal error LNK1120: 1 unresolved externals
新做的页面出错了啊!求救!!!
我在一个asp文件里,写了一个函数rn在另外一个asp文件里就会报错rn错误信息如下:Microsoft VBScript 编译器错误 错误 '800a03f6' rnrn缺少 'End' rnrn/iisHelp/common/500-100.asp,行242 rnrnMicrosoft VBScript 运行时错误 错误 '800a000d' rnrn类型不匹配: 'Get_NewsList_2' rnrn/shownews.asp,行195 rn(行195就是:)rn但是在另外一个asp文件里也是一样的就不出错!<em>为什么</em>啊!
这是什么出错了啊 ! 高分 !
D:\java>javac HelloWorld.javarnrnD:\java>java HelloWorldrnError occurred during initialization of VM java.lang.NullPointerExceptionrnrn这是怎么了啊 ? 高手不吝赐教!
操作access的时候出错了 急啊
Dim olecn As New OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=固定资产.mdb")rn Dim sqlcmd As Stringrn sqlcmd = "insert into zcinfo(smallclass,type,add,username,condition,bm,class,bz) values('" _rn + (cb_smallclass.SelectedIndex + 1).ToString() + _rn "','" + txt_xh.Text + _rn "','" + txt_sybm.Text + _rn "','" + txt_user.Text + _rn "','" + cb_zt.SelectedIndex.ToString() + _rn "','" + (cb_bm.SelectedIndex + 1).ToString() + _rn "','" + (cb_class.SelectedIndex + 1).ToString() + _rn "','" + txt_bz.Text + _rn "')"rn olecn.Open()rn Dim cmd As New OleDb.OleDbCommand(sqlcmd, olecn)rn MsgBox(sqlcmd, MsgBoxStyle.OkOnly,)rn cmd.ExecuteNonQuery()rn olecn.Close()rn执行到cmd.ExecuteNonQuery()后出现 说insert into zcinfo.....语法错误rn<em>为什么</em>阿?那位大哥大姐告诉我啊.rnrn
jsp+tomcat5.0+ms sql 出错了啊!sos!
我用的是tomcat5.0+sql server2000rnHTTP Status 500 - rnrn--------------------------------------------------------------------------------rnrntype Exception reportrnrnmessage rnrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnjavax.servlet.ServletException: [Microsoft][SQLServer 2000 Driver for JDBC]End of stream was detected on a read.rn org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:867)rn org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:800)rn org.apache.jsp.test1_jsp._jspService(test1_jsp.java:77)rn org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:856)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:856)rnrnrnroot cause rnrnjava.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]End of stream was detected on a read.rn com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)rn com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)rn com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)rn com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)rn com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source)rn com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)rn com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)rn java.sql.DriverManager.getConnection(DriverManager.java:512)rn java.sql.DriverManager.getConnection(DriverManager.java:171)rn org.apache.jsp.test1_jsp._jspService(test1_jsp.java:47)rn org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:856)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:856)rnrnrnnote The full stack trace of the root cause is available in the Tomcat logs.rnrnrn--------------------------------------------------------------------------------rnrnApache Tomcat/5.0.16rnrnbook.sqlrnuse jspdev;rncreate table book(bookId varchar(50),bookName varchar(50),publisher varchar(100),price float,constraint pk_book primary key(bookId));rninsert into book values('001-22-23-1','jsp 应用开发详解','电子工业出版社',59.0);rntestmssql.jsprnrnrnrn以下是从Ms sql server数据库读取的数据: rn rn idrn 书 名rn 出版社 价格rnrn rnrnrnrnrnrnrn
不知道是什么地方出错了啊??
description The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnorg.apache.jasper.JasperException: An exception occurred processing JSP page /dologin.jsp at line 13rnrn10: rn16: rnrnrnStacktrace:rn org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn guolvqi.filter.doFilter(filter.java:24)rnrnrnrn下面的是dao类rnpackage com.food.dao;rnimport javax.naming.NamingException;rnimport java.util.*;rnimport java.sql.*;rnrnimport com.food.entity.UserBean;rnpublic class UserInfoDao extends DAOrn public boolean GetPassOfName(UserBean user) throws SQLExceptionrn rn rn boolean valid=false;rn try rn this.getcon();rn String sql="select loginPass from userInfo";rn mingling=connection.prepareStatement(sql);rn results=mingling.executeQuery();rn while(results.next())rn rn if(results.getString(2).equals(user.getName())&&results.getString(3).equals(user.getPass()))rn rn valid=true;rn break;rn rn rn this.Close();rn rn return valid;rn catch (NamingException e) rn // TODO Auto-generated catch blockrn e.printStackTrace();rn return valid;rn rn rn rn
急啊?不知道那里出错了????
数据库绝对没有问题rnrnrnrnrn rnrnrnrnrnrn rn rnrnrnrn rnrn rnrn rn rn 取消rn 商品编号rn 商品名称rn 单价rn 数量rn 总价rn 商品简介rnrnrn rn " checked>rn rn rn rn " value="" size="3">rn rn rnrnrn rn 总价格:rnrnrnrnrnrn rn退回所有商品 rnrnrnrnrnrn出现的错误是:rnMicrosoft VBScript 编译器错误 错误 '800a03f6' rnrn缺少 'End' rnrn/iisHelp/common/500-100.asp,行242 rnrnMicrosoft OLE DB Provider for ODBC Drivers 错误 '80040e14' rnrn[Microsoft][ODBC SQL Server Driver][SQL Server]在关键字 'In' 附近有语法错误。 rnrn/shop/check.asp,行48 rnrnrnrn是怎么回事啊?
Error.jsp 这么出错了,帮我看看啊!!!!!!!!!!!!!!!!!!!!!!!
老是提示错误:::::rn"error.jsp": Error #: 409 : constant expression required at line 12rn"error.jsp": Error #: 409 : constant expression required at line 17rn"error.jsp": Error #: 409 : constant expression required at line 22rn"error.jsp": Error #: 409 : constant expression required at line 27rn"error.jsp": Error #: 409 : constant expression required at line 32rn"error.jsp": Error #: 409 : constant expression required at line 37rn"error.jsp": Error #: 409 : constant expression required at line 42rn"error.jsp": Error #: 409 : constant expression required at line 47rn"error.jsp": Error #: 409 : constant expression required at line 52rn"error.jsp": Error #: 409 : constant expression required at line 57rnrnrn=============================================rnrnrnrnrnrnrnrn rnrnrn rn rn返回 退出系统rnrnrnrn
运行时出错了,怎么回事啊?郁闷哦
出错是这样的rnProject Main.exe raised execption class EAccessViolation with message 'Access Violation at address 00403B8D in module 'Main.exe'.Read of address 00000033.'Process stopped.Use Step or Run to continue.rnrn我开发的是报价系统,有导入导出功能,报表生成功能,数据录入,数据查询,二次查询等功能。
内核编译的时候出错了 不知道怎么办啊~
[IMG]http://i6.photobucket.com/albums/y204/wander080/4.jpg[/IMG]rn小生在最近在安装freeswan发现需要便宜内核 于是按照步骤编译rnSteps: rncd /usr/src/linu-2.4 rnmake mrproper rnmake menuconfig rnmake dep rncd /...../FreeSWAN-XXX rnmake menugo rnmake kinstallrnrn在make menugo 前面好象没有什么问题 但是 在make menugo 的时候出现了上面图中的错误rn请问 怎么解决啊~
不知道哪儿出错了,来帮忙啊~
题目要求如果输入中有字母,向后推移13个字母,大小写不变,如超出13个则从a开始循环。其他不变。rnrnimport java.io.*; rnrnpublic class ROT13 rn public static void main(String[] args) throws IOException rn rn BufferedReader stdin=new BufferedReader(new InputStreamReader(System.in));rn rn String current=stdin.readLine();rn int l=current.length();rn int cha=0;rn char c=current.charAt(cha);srn rn for(int i=0;i=65&&c=97&&c77&&c109&&c<=122)) rn c-=13;rn System.out.print(c); rn c=current.charAt(cha+1);break; rn rn rnrn rnrnrn
DB出错了,请前辈指点啊
package shopping.util;rnrnimport java.sql.*;rnrnpublic class DB rn rn staticrn rn try rn Class.forName("com.mysql.jdbc.Driver");rn catch (ClassNotFoundException e) rn e.printStackTrace();rn rn rn rn rn private DB() ()//此处报错rn rn public static Connection getConn()rn Connection conn = null;rn rn tryrn conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/mydate?username=root&password=root");rn catch(SQLException e)rn e.printStackTrace();rn rn return conn; rn rnprivate DB() ()//此处报错rn错误:rnMultiple markers at this linern - Syntax error on token ")", invalid AnnotationNamern - Syntax error on token ")", delete this tokenrn - Syntax error, insert "Type VariableDeclaratorId" to complete rn FormalParameterListrn - Syntax error, insert ";" to complete ConstructorDeclarationrn - Syntax error, insert ")" to complete ConstructorDeclarationrn - Method breakpoint:DB [entry] - DB()rn这里报错是怎么回事呀,我看老师就是这么写的,都没问题呀,请前辈指点一下。
这个简单的数据库连接怎么出错了
On Error Resume NextrnSet conn = Server.CreateObject("ADODB.CONNECTION")rnstrconn = "Driver=SQL Server;SERVER=Localhost;User ID=sa;Password='';DATABASE=product"rnconn.open strconnrnrnrnif Err.number<>0 thenrn Response.Write "连接数据库错误"rn Response.Endrnend ifrn<em>为什么</em>总是会出现连接数据库错误呢?rn我想不通了
错了啊,搞了一天没解决...
<>"" then%>rn rn rn rn rn rnrnrn错误提示:错误类型:rnMicrosoft VBScript 编译器错误 (0x800A03EA)rn语法错误rn/123/asp-bin/GB/products01.asp, line 385rnfunction Txt_Show(TempContent)rnrn高手快帮忙啊rn
急啊,ODBC连接出错了:(
我的连接代码为rn[code]rnset conn=server.CreateObject("Adodb.Connection")rnconnstr="Driver=SQL Server;Server=192.168.0.2;UID=sa;PWD=;Database="FIM"rnconn.Open connstrrn[/code]rn运行时出错,提示为错误500.100rn错误类型:rnMicrosoft OLEDB Provider for ODBC Drivers(0X80040E4Drn/FIM/home.asp 53行rnrn请帮忙解决
输出arraylist出错了,帮忙啊
输出List包含String的情况:rn rn rnrn rn rn rnrntest_ref.friend_easy中的friend_easy是arraylist类型rnrn出错提示为:rnrntype Exception reportrnrnmessage rnrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnjavax.servlet.ServletException: java.lang.AbstractMethodError: javax.servlet.jsp.PageContext.getELContext()Ljavax/el/ELContext;rn org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)rn org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)rn org.apache.jsp.el_jsp._jspService(el_jsp.java:251)rn org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:820)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:820)rnrnrnroot cause rnrnjava.lang.AbstractMethodError: javax.servlet.jsp.PageContext.getELContext()Ljavax/el/ELContext;rn javax.servlet.jsp.jstl.core.LoopTagSupport.unExposeVariables(LoopTagSupport.java:587)rn javax.servlet.jsp.jstl.core.LoopTagSupport.doFinally(LoopTagSupport.java:323)rn org.apache.jsp.el_jsp._jspx_meth_c_forEach_0(el_jsp.java:576)rn org.apache.jsp.el_jsp._jspService(el_jsp.java:241)rn org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:820)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:820)rnrn
VS.NET出错了,大家快来帮帮忙啊!
好奇怪啊,我刚才新建了一个WEB项目,既然提示VC软件包不可用或未注册,这应该怎么解决呢,大家快来帮帮忙啊
这段代码哪里出错了?急啊!
rn<>"" then%>rn rn rn rn
可是为什么编绎时出错了
#include "iostream.h"rnint a[]=2,4,6,8,10,12;rnint *index(int i)rnreturn &a[i];rnrnint index1(int i)rnreturn *index(i);rnrnvoid main()rn index1(3)=123;//本行去掉就可以通过编绎!rn cout<
ssd3 项目代码 蓝天航空预定系统 Blue Skies Airline Reservation下载
Blue Skies Airline Reservation System Background Blue Skies Airline, a new airline, offers services between any two of the following U.S. cities: Denver; Washington, D.C.; Los Angeles; New York City; Atlanta; and Cleveland. When a customer calls Blue Skies to make a flight reservation, the reservati 相关下载链接:[url=//download.csdn.net/download/jwdlh918/2015972?utm_source=bbsseo]//download.csdn.net/download/jwdlh918/2015972?utm_source=bbsseo[/url]
网页批量图片插入水印下载
是个class文件考下来直接放入App_coad中 然后进去看说明就可以了,功能:类中设定文件夹,运行网页的时候,加载时候发现有图片是来自设定的文加价中的话就会加上水印,很方便,可以加多个文件夹,小亮不才拿出来分享分享,希望不是寒蝉你们,里面写的不合理的地方要多多指教 个人名言:少壮不努力,老大做IT 相关下载链接:[url=//download.csdn.net/download/qq623932737/3303754?utm_source=bbsseo]//download.csdn.net/download/qq623932737/3303754?utm_source=bbsseo[/url]
PDF转Word工具下载
PDF转Word工具,是很有用的一个软件,用起来也很方便,值得分享 相关下载链接:[url=//download.csdn.net/download/i71577802/3349582?utm_source=bbsseo]//download.csdn.net/download/i71577802/3349582?utm_source=bbsseo[/url]
相关热词 c#异步发送kafka c#窗体编号 c# 操作二进制文件 c# 反射 机制 c#线程 窗体失去响应 c#角度转弧度 c# 解析gps数据 c# vs设置 语法版本 c# json含回车 c#多线程demo
我们是很有底线的