求助:之前运行没有问题,后来重装系统重装office就报错:应用程序定义或对象定义错误1004 [问题点数:100分]

Bbs1
本版专家分:0
结帖率 50%
Bbs1
本版专家分:0
Bbs1
本版专家分:0
Bbs1
本版专家分:0
Excel 错误代码1004 应用程序定义对象定义错误
' 生成报表rnPublic Function GetReport(NowDate As Date) As Booleanrn GetReport = FalsernOn Error GoTo WZErrorrn Dim NameList, NR As Long, NC As Long, NName As Stringrn NR = Application.ActiveCell.Row '获取当前单元格的行rn NC = Application.ActiveCell.Column '获取当前单元格的列rn NR = NR + 1: NC = NC + 1rn NName = Application.ActiveWorkbook.ActiveSheet.Namern NameList = Array("Q1", "Q2", "Q3", "Q4", "Q5", "Q6", "Q7", "Q8", "Q9", "Q10", "Q11", "H1", "H2", "H3", "H4", "H5", "Q17", "Q18")rn rn 'Application.ScreenUpdating = False '禁止屏幕刷新,加快响应速度rn 'Application.DisplayAlerts = Falsern 'Application.Calculation = xlManual '关闭自动重算代码rn rn Dim SheetN As Integerrn SheetN = Application.Sheets.Count '获取总的工作表数目rn rn Const SRow As Long = 4 '搜索的起始行号rn Const ERow As Long = 100 '搜索的终止行号rn Dim FindRange As Stringrn FindRange = "Q" & SRow & ":" & "Q" & ERow '搜索范围rn rn Dim i As Long, j As Long, NowRow As Long, tRange, IsExist As Booleanrn For i = 0 To UBound(NameList) Step 1rn IsExist = Falsern tRange = Application.ActiveWorkbook.Sheets(NameList(i)).Range(FindRange)rn For j = 1 To UBound(tRange) Step 1rn If tRange(j, 1) = NowDate Then GoTo CreateReport: IsExist = Truern Next jrn If IsExist = False Then GoTo NextSheetrnCreateReport:rn With Application.ActiveWorkbook.Sheets(NName)rn .Cells(NR, NC).Value = NameList(i)'每次<em>运行</em>到这里就提示“<em>1004</em> <em>应用</em><em>程序<em>定义</em></em>或<em>对象</em><em>定义</em><em>错误</em>”rn End WithrnNextSheet:rn Next irn GetReport = True: Exit FunctionrnWZError:rn MsgBox "<em>错误</em>代码:" & Err.Number & vbCrLf & "<em>错误</em>信息:" & Err.Description, vbOKOnly + vbInformation, "提醒:"rn Err.ClearrnEnd Functionrnrn<em>错误</em>行是: .Cells(NR, NC).Value = NameList(i)'每次<em>运行</em>到这里就提示“<em>1004</em> <em>应用</em><em>程序<em>定义</em></em>或<em>对象</em><em>定义</em><em>错误</em>”,但是在其他函数中不会提示这样的<em>错误</em>,望高手帮忙,谢谢!
Excel+VBA: 应用程序定义对象定义错误
出错信息: Excel+VBA: <em>应用</em><em>程序<em>定义</em></em>或<em>对象</em><em>定义</em><em>错误</em>rnExcel 版本2003rn<em>运行</em>以下代码出错:(出错代码行已标为黄色)rnPrivate Sub CommandButton1_Click()rnDim namedRange As Range, tmpRange As RangernDim findAddress As Stringrnkm = "政治语文数学物理化学生物历史地理英语音乐美术信息技术通用技术"rnWith ThisWorkbookrnFor i = 1 To .Sheets.Countrnrn If InStr(km, .Sheets(i).Name) > 0 Thenrn MsgBox (.Sheets(i).Name)rn Set namedRange = Nothingrn 'Set namedRange = .Sheets(i).Range([a1], [a100])rn .Sheets(i).Activatern [color=#FFFF00]Set namedRange = .Sheets(i).Range([a1], [a100])[/color] Set tmpRange = namedRange.Find(What:="2310832007010007")rn If tmpRange Is Nothing Thenrn MsgBox ("Not found!")rn Endrn Elsern MsgBox ("Found!")rn End Ifrn x = 4rn rn Dorn MsgBox (.Sheets(i).Cells(2, x))rn MsgBox (.Sheets(i).Cells(tmpRange.Row, x))rn MsgBox (.Sheets(i).Cells(tmpRange.Row, x + 1))rn x = x + 3rn Loop Until .Sheets(i).Cells(tmpRange.Row, x) = ""rn rn End IfrnNextrnEnd WithrnEnd Sub
应用程序定义对象定义错误!
Dim mlink As String, mpath As String, SQL As Stringrnmpath = App.PathrnIf Right(mpath, 1) <> "\" Then mpath = mpath + "\"rnSQL = "select * from log where 日期 like " & str(MonthView1.Value)rnmlink = "Provider=Microsoft.Jet.OLE DB.4.0;Data Source=" + mpath + "Database1.mdb"rnAdodc1.ConnectionString = mlinkrnAdodc1.CommandType = adCmdUnknownrnAdodc1.RecordSource = SQLrnAdodc1.Refreshrnrnrn这段代码先显示:未找到提供程序.该程序可能未正确安装.rn然后显示:<em>应用</em><em>程序<em>定义</em></em>或<em>对象</em><em>定义</em><em>错误</em>!rn怎么办?
VBA中错误应用程序定义对象定义错误
引用Mircosoft Visual Basic for Application Extensibility 5.3rn在EXCEL的VBA中增加一个过程rnrnPublic Sub Test()rnDim vbP As VBProjectrn '在<em>运行</em>下行代码时出现<em>错误</em>:<em>应用</em><em>程序<em>定义</em></em>或<em>对象</em><em>定义</em><em>错误</em>rn Set vbP = ThisWorkbook.VBProjectrn rnEnd Subrnrn各位大侠可知道是什么原因?
excel应用程序定义对象定义错误
ORACLE数据库!VB中用ADO20万的数据导入EXCEL。rnrn提示<em>错误</em>!!!rn怎么解决!
对象关闭,不允许操作,应用程序定义对象定义错误
rnAdodc1.RecordSource = "update real_code set 类型 = 2 where....."rnadodc1.refreshrn执行上面的语句,到adodc1.refresh时,提示出错:<em>对象</em>关闭,不允许操作,<em>应用</em><em>程序<em>定义</em></em>或<em>对象</em><em>定义</em><em>错误</em>。rn不过符合条件的记录也改变了rn请大神们帮忙看下
应用程序定义对象定义错误,什么问题啊
Adodc5.RecordSource = "update jd_main set [是否为重复故障]='否' where [序号]=" & MSHFlexGrid3.TextMatrix(MSHFlexGrid3.Row, 1)rnAdodc5.Refreshrnrn<em>应用</em><em>程序<em>定义</em></em>或<em>对象</em><em>定义</em><em>错误</em>,这个是为什么啊,就在执行到 adodc5.refresh那<em>报错</em>,
VB导入Excel出现“应用程序定义对象定义错误
Set xlApp = CreateObject("excel.application") rnxlApp.Visible = False rnSet xlBook = xlApp.Workbooks.Open("D:\测试\数据区\4" & Format(day4, "YYYY-MM-DD") & ".xls") rnSet xlSheet = xlBook.Worksheets(1) rnxlSheet.Activate rnxlSheet.Cells(7, str_num4) = data_OK rnxlSheet.Cells(8, str_num4) = data_NG rnxlBook.Close (True) rnxlApp.Quit rnSet xlApp = Nothing rnSet xlBook = NothingrnSet xlSheet = Nothingrnstr_num4 = str_num4 + 1rnrnIf m_number43 = data_max4 Thenrn Form1.Shape1.Visible = Truern Form1.Shape1.FillColor = &HFF00&rn Form2.Timer14.Enabled = Falsern MsgBox "导入完成", vbInformation + vbOKOnlyrnEnd Ifrnrn我做一个用VB软件接收PLC数据后写入Excel表的工具,在写入Excel的时候显示“<em>应用</em><em>程序<em>定义</em></em>或<em>对象</em><em>定义</em><em>错误</em>”,<em>错误</em>代码指向的是xlSheet.Cells(7, str_num4) = data_OK这一句,我复核过,数据和变量str_num4都<em>没有问题</em>,但是就是不知道怎么写不进去,求大神指导啊~~
Excel出错错号:1004 提示:应用程序定义对象定义错误. 什么回事?
出错语句:rnexlApp.Workbooks.Add Template:=strURL rn例子:exlApp.Workbooks.Add "http://www.www.com"
实时错误1004 应用程序或对象定义错误
Set myRange = Worksheets(P_TBN).Range("a" & START_RECORD + 1)rn[color=#FF0000] myRange.Resize(UBound(arrData, 2) + 1, UBound(arrData, 1) + 1).Value = arrData2[/color]rn此句出现<em>1004</em><em>错误</em>,里面有个数据量比较大,字符串长度较长,只要把字符串的长度变小,就不会出错,请问各位高手,是不是字符串长,导致溢出?如何解决?
求助应用程序或对象定义错误
我现在有个宏,里面有句rnWorksheets(C_Sheet_InputSheet).Range("ExcelOpenTime").Value = Now()rnrn以前使用都没问题,今天突然就报了“<em>应用</em>程序或<em>对象</em><em>定义</em><em>错误</em>”的错,求大神解释!!!
用crystal report控件时出现 713 ,应用程序定义对象定义错误
相同的打包,有的用户不出现这个<em>错误</em>rn有的用户出现这个<em>错误</em>,rnmdac也安装了,不知什么原因~.
请老师帮我看看这段代码错在哪里了?应用程序定义对象定义错误
[code=vb]Sub 给()rnDim i As IntegerrnDim j As IntegerrnFor i = 0 To 2622rnFor j = 0 To 1165rn If (j + 1) Mod 3 = 0 Thenrn i = i + 1rn ElseIf (j + 1) Mod 2 = 0 Thenrn Cells(i, j).Value = j * 50rn ElseIf (j + 1) Mod 2 <> 0 And (j + 1) Mod 3 <> 0 Thenrn Cells(i, j).Value = i * 50rn End Ifrn Next jrn Next irn rnrnEnd Sub[/code]rn为什么会出现<em>运行</em><em>错误</em>啊
运行到这里就报错……求助……
我编的一个程序,自己所写的代码已经执行完了,然后<em>报错</em>,具体看了一下,再末尾处加了断点,单步<em>运行</em>,<em>运行</em>到wincore.cpp中的pThreadState->m_lastSentMsg = oldState步骤时报出内存<em>错误</em>的错,实在不明白这句是个什么意思,具体是什么原因造成的,望各位大侠帮忙!
ubuntu系统重装+显卡驱动重装
换了一块固态硬盘,又折腾了大半天来安装ubuntu,刚开始想着直接迁移至ssd,但是由于迁移过程实在太麻烦,而且不知道会发生什么,于是选择重新安装!在此记录对我自己比较重要的安装步骤。 1.安装ubuntu时,选择UEFI模式安装,同时在安装过程中出现“在UEFI模式下继续”,要选择后退。 2.分区挂载:/ (主分区,相当于windows下的c盘) /home(home分区,相当于window
我想用VBA实现多个工作薄中的数据复制到一个工作薄中,写了一段代码,但是运行报错应用程序定义对象定义错误 1004,该怎么改。
刚刚学习VBA,遇到一个问题。现在有多个工作薄,其中有些工作薄中有多个工作表,我新建了一个叫做“合并.xlsm”的工作薄想用VBA把其他工作薄中的数据复制到这个工作薄中。rn代码如下:rnSub 合并()rnDim MyPath, MyName, AWbNamernDim Wb As Workbook, WbN As StringrnDim G As LongrnDim Num As LongrnDim n As IntegerrnDim m As IntegerrnDim c As StringrnDim BOX As StringrnApplication.ScreenUpdating = FalsernMyPath = ActiveWorkbook.PathrnMyName = Dir(MyPath & "\" & "*.xls")rnAWbName = ActiveWorkbook.NamernNum = 0rnDo While MyName <> ""rnIf MyName <> AWbName ThenrnSet Wb = Workbooks.Open(MyPath & "\" & MyName)rnNum = Num + 1rnm = Workbooks("合并.xlsm").Worksheets(1).Cells(Rows.Count, 1).End(xlUp).Row + 1rnWith Workbooks(1).ActiveSheetrn.Cells(m + 3, 1) = Left(MyName, Len(MyName) - 4)rnrnG = 1rnn = Workbooks(MyName).Sheets.Count + 1rnWhile G < nrnrnm = Workbooks("合并.xlsm").Worksheets(1).Cells(Rows.Count, 1).End(xlUp).Row + 1rnWb.Sheets(G).UsedRange.Copy .Cells(m + 1, 1)rnrnG = G + 1rnWendrnWbN = WbN & Chr(13) & Wb.NamernWb.Close FalsernEnd WithrnEnd IfrnMyName = DirrnLooprnRange("B1").SelectrnApplication.ScreenUpdating = TruernMsgBox "共合并了" & Num & "个工作薄下的全部工作表。如下:" & Chr(13) & WbN, vbInformation, "提示"rnEnd Subrn<em>运行</em>时会<em>报错</em>:<em>应用</em><em>程序<em>定义</em></em>或<em>对象</em><em>定义</em><em>错误</em> <em>1004</em>。rn<em>报错</em>语句为:Wb.Sheets(G).UsedRange.Copy .Cells(m + 1, 1)rn求各位大神帮帮忙
程序调试没有问题运行就出错。
最近在需做pcap文件解析,开始大部分代码都是C写的,<em>后来</em>要求有界面,就选择了MFC界面。经过反复的debug后,感觉是这段代码的问题,不知道问题出现在哪里?rn[code=c]void SessionTree::GetHTML1(char * path)rnrn pHttpFile p = httpfile;rn int pathlen = strlen(path);rn char * title = (char *)malloc(pathlen + 1);rn memcpy(title,path,pathlen);rn memcpy(title + pathlen,"\\",1);rn memcpy(title + pathlen + 1,"\0",1);rn string report = title;rn report +="report2.txt";rn ofstream out;rn out.open(report.c_str(),ios::out|ios::trunc|ios::binary);rn if (!out)rn rn cout< Lenght)rn rn //读取包头rn fread_s((void *)&pcap_header,sizeof(pcap_header),sizeof(pcap_header),1,file);rn fseek(file,14 ,SEEK_CUR);rn fread_s((void *)&ih,sizeof(ip_header),sizeof(ip_header),1,file);rn if (((ih.ver_ihl & 0x0f) * 4-20) >0)rn rn fseek(file,((ih.ver_ihl & 0x0f) * 4-20),SEEK_CUR);rn rn fread_s((void *)&th,sizeof(tcp_header),sizeof(tcp_header),1,file);rn int DataLength = ntohs(ih.tlen)- (ih.ver_ihl & 0x0f) * 4 -(th.dataoffset>>4)*4;rn //////////////////////////////////////////////////////////////////////////rn //获取标题,subfile信息,rn //问题出现了一对会话之间没有换行符。rn //////////////////////////////////////////////////////////////////////////rn if (DataLength > 0)rn rn fseek(file,(th.dataoffset>>4)*4 - 20,SEEK_CUR);rn //读取数据rn char * data = (char *)malloc(DataLength);rnrn memset(data,0,DataLength);rnrnrn fread_s(data,DataLength,DataLength,1,file);rn data[DataLength] = '\0';rn fseek(file,-((th.dataoffset>>4)*4 - 20 + DataLength),SEEK_CUR);rn //只有是GET请求或者HTTP/1.1 200 OK才进入rn if (temptxtfile == NULL && (strncmp("GET ",data,strlen("GET ")) == 0 ||rn strncmp("HTTP/1.1 200 OK",data,strlen("HTTP/1.1 200 OK")) == 0 || strncmp("POST /",data,strlen("POST /")) == 0))rn rn char seps[] = "\r\n";rn char *next_token = NULL;rn char * txt = (char *)malloc(strlen(data)+1);rn memcpy(txt,data,strlen(data) + 1);rn //strncpy_s(txt,strlen(txt),data,strlen(data));rn char * token = strtok_s(txt,seps,&next_token);rn while (token != NULL)rn rn if (strncmp("GET / HTTP/1.1",token,strlen("GET / HTTP/1.1")) == 0)rn rn pushData(data);rn rn break;rn rn else if (strncmp("GET /",token,strlen("GET /")) == 0)//|| strncmp("POST /",data,strlen("POST /")) == 0 排除POST请求,后面好做一些rn rn if (temptxtfile == NULL)rn rn char * filename = (char *)malloc(strlen(token) + pathlen + 1);rn memcpy(filename,title,pathlen + 1);rn char *filename1 = StrReplace(token);rn memcpy(filename + pathlen + 1,"\0",1);rn strcat_s(filename,strlen(token) + pathlen + 2,filename1);rn //创建文件存储会话数据rn p->txtfilename = filename;rn fopen_s(&temptxtfile,filename,"wb+");rn rn fwrite(data,DataLength,1,temptxtfile);rn break;rn rn else if (strncmp("Content-Location: http://",token,strlen("Content-Location: http://")) == 0)rn rn int i = strlen(token);rn int j = strlen("Content-Location: http://");rn char * filename = (char *)malloc(i - j+ pathlen + 10);rn memcpy(filename,title,pathlen + 1);rn char *filename1 = StrReplace(token + j);rn memcpy(filename + pathlen + 1,"\0",1);rn strcat_s(filename,i - j + pathlen + 10,filename1);rn //创建文件存储会话数据rn if (temptxtfile == NULL)rn rn p->txtfilename = filename;rn fopen_s(&temptxtfile,filename,"wb");rn rn //写入存储的数据rn char * str = popData();rn fwrite(str,strlen(str),1,temptxtfile);rn fwrite(data,DataLength,1,temptxtfile);rn break;rn rn token = strtok_s(NULL,seps,&next_token);rn rn rn elsern rn if (temptxtfile == NULL)rn rn pushData(data);rn //vec.push_back(data);rn rn elsern rn if (strncmp("GET ",data,strlen("GET ")) == 0)rn rn fwrite("\r\n\r\n\r\n\r\n\r\n",strlen("\r\n\r\n\r\n\r\n\r\n"),1,temptxtfile);rn rn fwrite(data,DataLength,1,temptxtfile);rn rn rn rn fseek(file,pcap_header.caplen -14 - 20 - 20,SEEK_CUR);rn Index += pcap_header.caplen + 16;rn rn if (temptxtfile != NULL)rn rn out<<next; rn rn out.close();rn[/code]rnrn出现问题是这样的rn[img=https://img-bbs.csdn.net/upload/201503/04/1425436787_928368.png][/img]
[求助] 应用程序或对象定义错误,怎么错了阿??
[code=VB]Private Sub データ取得_Click()rn Dim OraSession As Object rn Dim OraDatabase As Object rn Dim rs As Object rn Dim rownu As Longrn Dim colnum As Integerrn Dim tig As Stringrn Dim tigtemp As Stringrn Dim haveflag As Integerrn Dim rcd As Integerrn rnOn Error GoTo ErrorTraprn Set OraSession = CreateObject("OracleInProcServer.XOraSession")rn Set OraDatabase = OraSession.OpenDatabase("dir", "dir/dir", 0&)rn rn tigtemp = ActiveSheet.Cells(3, 7).Textrn haveflag = InStr(1, tigtemp, "where", 1)rn rn tig = Left(tigtemp, haveflag + 5) & " rownum < 100 and " & Right(tigtemp, Len(tigtemp) - haveflag - 4)rn Set rs = OraDatabase.CreateDynaset(tig, 0&)rn rn For colnum = 0 To rs.Fields.Count - 1rn ActiveSheet.Cells(6, colnum + 5) = rs(colnum).Namern Nextrn rn rownu = 0rn Do Until rs.EOFrn For colnum = 0 To rs.Fields.Count - 1 'rs.Fields.Count = 32的时候,出错了,不知道为什么`rn ActiveSheet.Cells(rownu + 7, colnum + 5) = rs(colnum).Value '出错的时候rownu =0 colnum =15rn Nextrn rs.MoveNextrn rownu = rownu + 1rn Looprn rn rs.Closern rn Set rs = Nothingrn Set OraDatabase = Nothingrn Set OraSession = Nothingrn Exit SubrnErrorTrap:rnrn rcd = MsgBox("内容:" & Err.Description & Chr(10) & Chr(10) & " GO ON OR NOT?", 4, "ERR")rn If rcd = 6 Thenrn Exit Subrn Elsern Resume Nextrn End Ifrn rn End Subrn[/code]rnrn为了连接oracle写的小程序,可是总出错,查出的数据都对rn出的<em>错误</em>是英文的,大概意思就是 <em>应用</em>程序或<em>对象</em><em>定义</em><em>错误</em>,大家帮帮忙 谢谢了!!rn
本机运行没有问题,一到服务器上就报错
一个网站,在本机TOMCAT下<em>运行</em><em>没有问题</em>,在服务器上,一访问就<em>报错</em>,主要是以下两种错: rn第一种:rn[code=Java]2008-03-23 11:58:17 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exceptionrnjava.lang.ExceptionInInitializerErrorrn at com.mysql.jdbc.Connection.(Connection.java:1174)rn at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:264)rn at java.sql.DriverManager.getConnection(DriverManager.java:525)rn at java.sql.DriverManager.getConnection(DriverManager.java:193)rn......rnCaused by: java.security.AccessControlException: access denied (java.io.FilePermission /usr/local/tomcat1/work/Catalina/zk8025326.chinaw3.com/_/loader/META-INF write)rn at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)rn at java.security.AccessController.checkPermission(AccessController.java:427)rn......[/code]rnrn第二种:rn[code=Java]2008-03-23 11:59:26 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exceptionrnjava.lang.NoClassDefFoundErrorrn at com.mysql.jdbc.Connection.(Connection.java:1174)rn at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:264)rn at java.sql.DriverManager.getConnection(DriverManager.java:525)rn at java.sql.DriverManager.getConnection(DriverManager.java:193)rn.......[/code]rnrn第二种<em>错误</em>最频繁,MYSQL的驱动我已经放在了lib目录下面了rn请高手指教!谢谢!!!
本机运行没有问题 发布到服务器就报错 Error 65
error list 中的<em>错误</em>提示:rnrnError 65 Object '/55ba2c36_33d0_4cb0_b863_55dbe859ff70/azwzzyhzb675j_n+pbdn3lrl_166.rem' has been disconnected or does not exist at the server. /rnrnoutput窗口信息:rnrnBuilding directory '/EAMS/App_Code/'./: Publication (web): Object '/55ba2c36_33d0_4cb0_b863_55dbe859ff70/azwzzyhzb675j_n+pbdn3lrl_166.rem' has been disconnected or does not exist at the server. rnrn同样的配置文件在同事的机器上是可以发布的 到我这里就会<em>报错</em>rnrn尝试几个方法都没有解决,度娘也没有帮到我 rn来这里就大牛解答了 有木有 .....
RegSetValueEx编译通过,运行报错求助?!
LPBYTE Ctochar(CString str)rnrn LPBYTE lpb = new BYTE[str.GetLength()+1];rn for (int i =0; i
Tomcat运行的好好的后来突然报错
Apache+Tomcat, Tomcat本来<em>运行</em>的好好的,但是<em>后来</em>自己挂了!看日志,先是不停的报下面这个<em>错误</em>:rnINFO: Illegal access: this web application instance has been stopped already. Could not load META-INF/services/com.sun.org.apache.xml.internal.dtm.DTMManager. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.rnSep 14, 2011 1:29:09 PM org.apache.catalina.loader.WebappClassLoader loadClassrnINFO: Illegal access: this web application instance has been stopped already. Could not load com.sun.org.apache.xml.internal.dtm.ref.DTMManagerDefault. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.rnjava.lang.IllegalStateExceptionrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1531)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)rn at com.sun.org.apache.xml.internal.dtm.ObjectFactory.findProviderClass(ObjectFactory.java:504)rn at com.sun.org.apache.xml.internal.dtm.ObjectFactory.lookUpFactoryClass(ObjectFactory.java:217)rn at com.sun.org.apache.xml.internal.dtm.ObjectFactory.createObject(ObjectFactory.java:131)rn at com.sun.org.apache.xml.internal.dtm.ObjectFactory.createObject(ObjectFactory.java:101)rn at com.sun.org.apache.xml.internal.dtm.DTMManager.newInstance(DTMManager.java:135)rn at com.sun.org.apache.xpath.internal.XPathContext.(XPathContext.java:100)rn at com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.eval(XPathExpressionImpl.java:110)rn at com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.eval(XPathExpressionImpl.java:98)rn at com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.evaluate(XPathExpressionImpl.java:180)rn at com.morningstar.data.tsapi.impl.XPathReader.read(XPathReader.java:46)rn at com.morningstar.data.tsapi.tscontext.initContext(tscontext.java:42)rn at com.morningstar.data.tsapi.tscontext.run(tscontext.java:72)rn at java.util.TimerThread.mainLoop(Timer.java:512)rn at java.util.TimerThread.run(Timer.java:462)rnSep 14, 2011 1:31:39 PM org.apache.catalina.core.AprLifecycleListener initrnINFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/jdk1.6.0_14/jre/lib/amd64/server:/usr/jdk1.6.0_14/jre/lib/amd64:/usr/jdk1.6.0_14/jre/../lib/amd64:/usr/java/packages/lib/amd64:/lib:/usr/librnrnrnrn
求助:系统重装后,原来的项目不能运行
系统<em>重装</em>和vs2005后,原来的项目不能<em>运行</em>?rn编译好的exe文件可<em>运行</em>,但是就是不能.net直接<em>运行</em>。不知道是什么原因。rn下面是<em>错误</em>提示:rnError 1 The "ResolveKeySource" task failed unexpectedly.rnSystem.Security.Cryptography.CryptographicException: Cannot find the requested object.rnrn at System.Security.Cryptography.X509Certificates.X509Certificate2.QueryCertFileType(String fileName)rn at System.Security.Cryptography.X509Certificates.X509Certificate2.GetCertContentType(String fileName)rn at Microsoft.Build.Tasks.ResolveKeySource.ResolveManifestKey()rn at Microsoft.Build.Tasks.ResolveKeySource.Execute()rn at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup projectPropertiesAvailableToTask, Boolean& taskClassWasFound) Shell(项目名称)
本机没有问题上传到虚拟主机就报错
显示下面<em>错误</em>是怎么回事: rn rn rn 配置<em>错误</em> rn 说明: 在处理向该请求提供服务所需的配置文件时出错。请检查下面的特定<em>错误</em>详细信息并适当地修改配置文件。 rn rn 分析器<em>错误</em>信息: 在<em>应用</em>程序级别以外使用注册为 allowDefinition='MachineToApplication' 的节是<em>错误</em>的。导致该<em>错误</em>的原因可能是在 IIS 中没有将虚拟目录作为<em>应用</em>程序进行配置。 rn rn 源<em>错误</em>: rn rn rn 行 28: /> rn 行 29: rn 行 30: rn 行 31: rn 行 32: rn rnrn是不是要在虚拟主机上把该<em>应用</em>程序设为虚拟目录啊?rn那不就是要找虚拟机商商量啊?rn请各位为仁兄说清楚不要抛一句话就走rn谢谢!!
ajax toolkit 调试没有问题,发布网站就报错
最近刚学习ajax,用的ajax toolkit 的accordion控件,在VS2005调试的时候一切正常,但是发布后用192段IP访问就<em>报错</em>“未指明的<em>错误</em>”,只有第一个可以展开,其它的都不行。发现个有趣的现象,如果在IE里把192段IP地址添加到本地internet站点里,<em>错误</em>就消失了一切正常,请问这是什么原因啊,我可不能要求所有客户端都这样设置IE吧。
Excel里运行宏报了1004错误
一下这段代码一般情况下<em>运行</em>没有<em>错误</em>,但是在Excel设置成共享后就会报<em>1004</em>的<em>错误</em>,请问是什么道理,有办法解决吗? rnrnrn .Add Type:=xlValidateList, AlertStyle:=xlValidAlertStop, Operator:= _rn xlBetween, Formula1:="a"
系统重装后,复用或重装数据库的链接汇总
Windows 如何在cmd命令行中查看、修改、删除与添加环境变量http://blog.csdn.net/stpeace/article/details/53451744sqlplus / as sysdba ORA-012560:TNS:协议适配器<em>错误</em>http://blog.csdn.net/mlz_2/article/details/16878035windows下 sqlplus / as...
系统重装后OFFICE文档打不开
我今天<em>重装</em>了WINXP,然后装了OFFICE2003.但是装好后,原来电脑上的WORD和EXECL都无法打开.新建就可以.
定义对象错误
大家好,我是初学者,用的vc6.0今天突然遇到一个奇怪的问题,我想在CMainFrame的OnDraw函数中<em>定义</em>一个View类的<em>对象</em>:rnCMyView view; 当然我也加上了View类的头文件。rn结果出现以下令人困惑的信息:rn'CMyView' : undeclared identifierrnsyntax error : missing ';' before identifier 'view'rn'View' : undeclared identifierrnrn这是怎么回事儿呢,命名View已经<em>定义</em>了。我跑到vs2008下面这样写以下都能通过的啊。
为何定义了数据窗口对象后,运行应用对象没反应?
本人建立一<em>应用</em><em>对象</em>,及一登陆窗口,连接SQL数据库,<em>运行</em>正常,但添加<em>定义</em>一个数据窗口<em>对象</em>后,<em>运行</em>该<em>应用</em><em>对象</em>没反映,也没任何提示,为何?
Automation错误 定义应用程序或对象错误-"Scripting.FileSystemObject"
金蝶在使用前,要先进行 远程组件配置,调用中间层,如下图 但是出现了问题, 显示  金蝶提示:Automation<em>错误</em>  <em>定义</em>的<em>应用</em>程序或<em>对象</em><em>错误</em>-"Scripting.FileSystemObject" 解决:主要是Scripting.FileSystemObject(FSO文本文件读写)被关闭了,             开启FSO功能即可,在"开始"--"<em>运行</em>"中输入
重装IIS后,打开IIS就报错
我<em>之前</em>安装的是IIS5.1,<em>后来</em>听人家说安装IIS6.0,就去尝试安装IIS6,可是安装不成功,于是无奈下就安装回5.1,可是安装完毕后,打开IIS,就弹错<em>错误</em>对话框:管理单元初始化失败。名称:NNTP Protocol CLSID:DC147890-91C2-11D0-8966-00AA00A74BF2rn请问该如何解决?
office 重装的问题
我的电脑以前装了<em>office</em> <em>后来</em>我卸载了,然后<em>重装</em>就再也装不上了rn请教怎么办?
[求助]运行exe报错
我用C#+AE 9.2 写个小程序,可是执行exe文件,总是提示“无法获取“AxMapControl”控件的窗口句柄。不支持无窗口的 ActiveX 控件”。这是怎么回事啊??高手帮解决下。本人菜鸟!~~急啊!!!!
为什么老是重装office
我的OFFICE不知为什么老是<em>重装</em>,有什么解决方法
求助定义数组错误
[code=VBScript]rn [/code]rn 该数组为定长的或临时被锁定rn/intranet/worklog/test5.asp, 第 19 行rn第 19 行为: redim myarray(9,month_day)
求助运行jsp页面报错
type Status reportrnrnmessage Servlet jsp is currently unavailablernrndescription The requested service (Servlet jsp is currently unavailable) is not currently availablern
系统重装 重装自己的系统不需要别人
系统<em>重装</em> 全方位的进行系统<em>重装</em> <em>重装</em>系统部在需要找被人 自己完全可以搞定
在没安装vb的机器上 安装完程序,运行报错 “713 运行错误对象定义错误应用程序定义” 请高手指教!!
我用vb6作了一个程序,数据库用的是access2000,用Setup Factory 7.0 打包生成的安装程序,可是拿到没装vb6的机器上就<em>报错</em> “713 <em>运行</em>时<em>错误</em>或<em>对象</em><em>定义</em><em>错误</em><em>应用</em><em>程序<em>定义</em></em>” 请高手指教!
请教个系统重装,是不是得重装lotus了
系统<em>重装</em>后,打不开服务器了(弱弱问下nserver是不是服务器?)rn是不是得<em>重装</em>lotus,但在原服务器下写的数据库a.nsf,在新lotus安装后还能不能以管理员身份打开?
如何重装XP系统 XP系统重装设置步骤
详细介绍了如何<em>重装</em>WindowsXP系统,在<em>重装</em>过程中如何一步步设置计算机。
sendto 返回 1004 错误
简单测试代码如下rnm_SendCSocke.Create(2200,SOCK_DGRAM);rn BOOL bOptValue = TRUE ;rn if(!m_SendCSocke.SetSockOpt( SO_BROADCAST ,&bOptValue ,sizeof(bOptValue)))rn rn m_SendCSocke.Close();rn rnrn byte sendpack[150];rn SOCKADDR_IN to;rn to.sin_family=AF_INET;rn to.sin_addr.s_addr=INADDR_BROADCAST;rn to.sin_port=htons(3201);rnrn if(SOCKET_ERROR==m_SendCSocke.SendTo((char*)sendpack,150,(SOCKADDR*)&to,sizeof(SOCKADDR)))rn rn int nErr=WSAGetLastError(); rn CString sError;rn sError.Format("ForeChangeToMaster failed —— error no: %d\n",nErr);rn TRACE(sError);rn return;rn rnSendTo总是返回10004<em>错误</em>,可是在别的机上可以<em>运行</em>,可能是系统哪边的问题,但是我不知道具体是哪的问题怎么解决rn我的系统是XP sp3
操作系统重装后一系列软件重装
几年没<em>重装</em>过系统,今天装RStudio出了点问题,也不知道怎么整的,最后只能<em>重装</em>系统。 记录一下<em>重装</em>过程。 ------------------------------------------------------------------------------------------------------------------------ 0. 将一些自带不用的软件清掉,然后将自己常
office重装之旅(激活失败,被迫重装
<em>office</em><em>重装</em>之旅(激活失败,被迫<em>重装</em>)前几天没事干装了个OneNote,结果装上去登录不了账户也就算了,Office2010也不再激活了,立即想到重新激活走起来:重新激活失败我使用了以下两个激活工具: mini-KMS microsoft tookit 总之激活都失败了,网上查询了相关的解决方法也没有成功解决。在控制面板中使用<em>office</em>的修复,也修复失败(微软的软件真是渣),随即想到
解决office 或WPS 插入对象错误 补丁
解决插入<em>对象</em><em>错误</em>,无法创建<em>对象</em>,该文件可能正在被使用,请关闭文件,重新尝试插入<em>对象</em>。的问题。
office vba 求助,下标越界错误
本人新手,最近做一个比赛,从一篇论文上摘了一段vba程序,<em>运行</em>出现下标越界……rn请各路大神帮忙看看,多谢多谢~rn程序如下:rn本人新手,基本不会,最近做比赛用到的一个程序,是从网上一篇论文里摘的,但是<em>运行</em>时出现下标越界<em>错误</em>。rn程序如下:rn[code=vb][/code]Option Base 1rnSub 命名及公式()rnSet 名 = Namesrn 名.Add "A", " = Offset(图! $ D $ 4,0,0,M,1)"rn 名.Add "B", " = Offset(图! $ E $ 4,0,0,M,1)"rn 名.Add "K", " ="""""rn 名.Add "T", " = 图! $ D $4:$ D $ 63"rn 名.Add "M", " =Countif(T,"">""&xw)+1"rn 名.Add "N", " =Count(图! $ B $4:图! $ B $ 58)"rn 名.Add "E", " =图! RC[-1]"rn 名.Add "P", " =0,0;1,1"rn 名.Add "U", " =OFFSET(图! $ C $4,0,0,N,1)"rn 名.Add "V", " =OFFSET(图! $ B $4,0,0,N,1)"rn [L1:M2] = [P]: [F6:K7].CreateNames Top:=1rn [L3:M9,I9:J10].CreateNames Left:=1rn [F4:K4] = Array("0", "=J", "=xf", "=xf", "=xw", "=xw")rn [F5:K5] = Array( _rn "= xD", "= xD", "= _ xd", "= _yd", "= _xd", "= _yd")rn [F7:G7].FormulaArray = " = Linest(G4:G5,F4:F5)"rn [H7:I7] = Array("=g", "= -xF/(q-1)")rn [J7:K7].FormulaArray = "=Linest(K4:K5,J4:J5)"rn [ _ xd] = "=(φ0 - α0)/(α1 - φ1)": [ _ yd] = "=φ1 * _xd + φ0"rn [M8] = "=q/(q-1)": [M9] = "=xd/( _ R+1)"rn [D4] = "=xd": E4 = "=xd"rn [E5] = "=E4": [D6] = "=D5"rn [D5] = "=IF(E5>xw,插值(U,V,E5),0)"rn [E6] = "=IF(E>xw,IF(E> _ xd,α1*E+α0,γ1*E+γ0),0)"rn [D5:E6].AutoFill Destination:=[D5:E63], Type:=0rnEnd SubrnrnFunction 插值(X, Y, U)rnN = X.CountrnFor k = 1 To N - 1rn If (U - X(k)) * (U - X(k + 1)) < (U - X(N)) Then k = 1 Else k = N - 1rn10 G = (U - X(k)) < (U - X(k + 1))rnIf k = N - 1 Or k <> 1 And G Then k = k - 1rn V = 0rnFor I = k To k + 2rn L = 1rn For J = k To k + 2rn If I <> J Then L = L * (U - X(J)) / (X(I) - X(J))rn Next Jrn V = V + L * Y(I)rnNext Irn 插值 = VrnEnd FunctionrnrnSub 理论板数图()rn B = "图": Worksheets(B).Selectrn Range("I13").Selectrn Charts.Addrn xp = "B4:B23": yp = "C4:C23"rn Set 图 = ActiveChartrn 图.ChartType = 72rn For I = 1 To 6rn 图.SeriesCollection.NewSeriesrn Nextrn X = Array(xp, "d4:d63", "f4:f5", _rn "h4:h5", "j4:j5", "L1:L2")rn Y = Array(yp, "e4:e63", "g4:g5", _rn "i4:i5", "k4:k5", "m1:m2")rn For I = 1 To 6rn With ActiveChart.SeriesCollection(I)rn .XValues = Worksheets(B).Range(X(I))rn .Values = Worksheets(B).Range(Y(I))rn End Withrn Next Irn 图.SeriesCollection(2).Selectrn 图.SeriesCollection(2).ChartType = 75rn For I = 1 To 2rn 图.Axes(I).Selectrn With ActiveChart.Axes(I)rn .MinimumScale = 0rn .MaximumScale = 1rn .MinorUnit = 0.1rn .MajorUnit = 0.1rn End Withrn Next Irn W = Array("b", "a", "e-d 进料线", "", "c", "d")rn k = 1rn For I = 3 To 5rn With 图.SeriesCollection(I)rn For J = 1 To 2rn .Points(J).HasDataLabel = 1rn .Points(J).DataLabel.Text = W(k)rn k = k + 1rn Nextrn End Withrn Nextrn Set T = 图.SeriesCollection(2)rn For I = 1 To 28rn T.Points(I * 2).HasDataLabel = 1rn T.Points(I * 2).DataLabel.Text = Str(I)rn Nextrn '设置图标选项:标题,X,Yrn W = "图解法求理论板数": 图.HasTitle = 1rn 图.ChartTitle.Characters.Text = Wrn 图.Axes(1, 1).HasTitle = Truern 图.Axes(1, 1).AxisTitle.Characters.Text = "x"rn 图.Axes(2, 1).HasTitle = Truern 图.Axes(2, 1).AxisTitle.Characters.Text = "y"rn '设置图标区,区域无边框,白色,无网格。rn 图.PlotArea.Border.LineStyle = xlNonern 图.PlotArea.Interior.ColorIndex = 2rn 图.Axes(xlValue).MajorGridlines.Deletern 图.Legend.Deletern 图.Location Where:=2, Name:="图"rn V = Mid(ActiveChart.Name, 3, 18)rn ActiveSheet.Shapes(V).ScaleWidth 1.32, 0, 0rn ActiveSheet.Shapes(V).ScaleHeight 1.87, 0, 0rn ActiveChart.ChartArea.Font.Size = 12rn Set T = ActiveChart.SeriesCollection(2)rn T.DataLabels.Font.Size = 8rn T.DataLabels.Position = -4131rn T.XValues = "=图! A": T.Values = "=图! B"rn ActiveChart.PlotArea.Border.ColorIndex = 56rn For I = 1 To 6 Step 5rn ActiveChart.SeriesCollection(I).Selectrn With Selectionrn .MarkerBackgroundColorIndex = xlNonern .MarkerForegroundColorIndex = xlNonern End Withrn Nextrn Sheets(I).[A1].SelectrnEnd Subrnrn稍微有点长,请各路大神帮忙看看哪里有<em>错误</em>,代码是从一篇论文里摘的rn多谢多谢~
将MSHFlexgrid显示的数据存入数组,再将数组导出至EXCEL,出现以下错误应用程序定义错误对象定义错误! 跪请解决!
如题: 原代码如下(其中mrc是为查询出的库存记录集)rnrnDim strcaption As StringrnDim sn As StringrnDim i As SinglernDim recs As IntegerrnDim counter As IntegerrnrnPrivate Type exlcellrnrow As Longrncol As LongrnEnd Typernrnrn'复制recordset中数据到excel表格worksheetrnPrivate Sub copyrecords(rst As ADODB.Recordset, ws As Worksheet, startingcell As exlcell)rnDim somearray() As VariantrnDim row As LongrnDim col As LongrnDim fd As ADODB.FieldrnOn Error GoTo err_copyrecordsrn'检测recordset中是否有数据rnIf rst.EOF And rst.BOF Then Exit Subrnrst.MoveLastrnReDim somearray(rst.RecordCount + 1, rst.Fields.Count)rn'拷贝头到数组rncol = 0rnFor Each fd In rst.Fieldsrn somearray(0, col) = fd.Namern col = col + 1rnNextrn'拷贝recordset到数组rnrst.MoveFirstrnrecs = rst.RecordCountrncounter = 0rnFor row = 1 To rst.RecordCount - 1rn counter = counter + 1rn If counter )rn end subrn
ACM 1004求助
Input contains multiple test cases. Each test case starts with a number N (0 < N <>N;rn while(N!=0)rn rn for(i=0;i>color[i];rnrn Findpop(N);rn cin>>N;rn rn system("pause");rn return 0;rnrnrnrn提交后被判超时,不知如何改进,麻烦各位高手指点一二。rn
tomcat运行一段时间就报错
struts2 + hibernate + mysql数据库 放在windows XP tomcat服务器上。rn该项目<em>运行</em>一段时间 或者隔夜就<em>报错</em>,rn而且是访问登录页不<em>报错</em>,一旦点击登录就<em>报错</em>。换句话说就是访问数据库<em>报错</em>。rn以本人浅薄的知识初步判断为mysql数据库8小时无连接自动关闭的原因。rnrn但是延长了数据库关闭的时间,依旧如此。rn以下为tomcat后台<em>报错</em>:rn2012-1-14 8:47:37 org.apache.catalina.core.StandardWrapperValve invokern: Servlet.service() for servlet default threw exceptionrnjava.lang.IllegalStateExceptionrn at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:407)rn at org.apache.struts2.dispatcher.Dispatcher.sendError(Dispatcher.java:707)rn at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:488)rn at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:467)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)rn at java.lang.Thread.run(Thread.java:619)rn rn以下为前台页面<em>报错</em>:rnStruts has detected an unhandled exception: rnrnMessages: Software caused connection abort: socket write error rnThe last packet successfully received from the server was57161 milliseconds ago.The last packet sent successfully to the server was 57161 milliseconds ago, which is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem. rnrnrn rnrnFreeMarker template error!rnrnMethod public java.lang.String org.hibernate.exception.NestableRuntimeException.getMessage(int) threw an exception when invoked on org.hibernate.exception.JDBCConnectionException: could not execute queryrnThe problematic instruction:rn----------rn==> $msg[0] [on line 68, column 29 in org/apache/struts2/dispatcher/error.ftl]rn----------rnrnJava backtrace for programmers:rn----------rnfreemarker.template.TemplateModelException: Method public java.lang.String org.hibernate.exception.NestableRuntimeException.getMessage(int) threw an exception when invoked on org.hibernate.exception.JDBCConnectionException: could not execute queryrn at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:130)rn at freemarker.ext.beans.SimpleMethodModel.get(SimpleMethodModel.java:138)rn at freemarker.core.DynamicKeyName.dealWithNumericalKey(DynamicKeyName.java:111)rn at freemarker.core.DynamicKeyName._getAsTemplateModel(DynamicKeyName.java:90)rn at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)rn at freemarker.core.Expression.getStringValue(Expression.java:93)rn at freemarker.core.DollarVariable.accept(DollarVariable.java:76)rn at freemarker.core.Environment.visit(Environment.java:208)rn at freemarker.core.MixedContent.accept(MixedContent.java:92)rn at freemarker.core.Environment.visit(Environment.java:208)rn at freemarker.core.IfBlock.accept(IfBlock.java:82)rn at freemarker.core.Environment.visit(Environment.java:208)rn at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:179)rn at freemarker.core.Environment.visit(Environment.java:415)rn at freemarker.core.IteratorBlock.accept(IteratorBlock.java:102)rn at freemarker.core.Environment.visit(Environment.java:208)rn at freemarker.core.MixedContent.accept(MixedContent.java:92)rn at freemarker.core.Environment.visit(Environment.java:208)rn at freemarker.core.IfBlock.accept(IfBlock.java:82)rn at freemarker.core.Environment.visit(Environment.java:208)rn at freemarker.core.MixedContent.accept(MixedContent.java:92)rn at freemarker.core.Environment.visit(Environment.java:208)rn at freemarker.core.Environment.process(Environment.java:188)rn at freemarker.template.Template.process(Template.java:237)rn at org.apache.struts2.dispatcher.Dispatcher.sendError(Dispatcher.java:703)rn at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:488)rn at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:467)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)rn at java.lang.Thread.run(Thread.java:619)rnCaused by: java.lang.NullPointerExceptionrn at freemarker.ext.beans.SimpleMemberModel.unwrapArguments(SimpleMemberModel.java:85)rn at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:106)rn ... 38 more
hadoop一运行报错
不管hadoop<em>运行</em>什么命令,一律<em>报错</em>:Error occurred during initialization of VMCould not reserve enough space for object heap原因:服务器的虚拟内存被耗尽了,将占用虚拟内存的程序kill掉即可...
android项目运行报错
Android resource linking failed Output: F:\Qoqonuts\app\build\intermediates\incremental\mergeDevDebugResources\merged.dir\values-v26\values-v26.xml:7: error: resource android:attr/colorError not foun...
在内网运行没有问题,在外网运行有问题,报错
我使用.NET部署了一个软件?rn我在内网部署<em>没有问题</em>,然后我把软件部署在外网.rn结果<em>报错</em>:rn"A severe error occurred on the current command. The results, if any, should be discarded"rnrn我查询了MSDN,没有关于这个<em>错误</em>的提示,请问这是什么<em>错误</em>引起的呀?
昨天重装2000的系统,装了PS6.0,后来想装7.0,但是一运行安装程序就说它非法操作!
怎么样才可以重新安装啊?7.0我以前在98试过都可以安装是<em>没有问题</em>的!现在我把6.0也卸了也装不上去了!!怎么办!我可不想<em>重装</em>系统啊!
系统重装/软件安装报错【Windows7 64位】
1.Navicat 12 for MySQL破解时,报需安装.NET Framework 4.0  安装即可:dotNetFx40_Full_x86_x64.exe 下载地址:链接:https://pan.baidu.com/s/11M-sU7sxm9BcIwniXbFfPg 密码:clm6 2.phpstudy2018<em>运行</em>缺少api-ms-win-crt-conio-l1-1-0.dll ...
定义控件相关的变量就报错,内存错误。怎么回事?
<em>定义</em>控件相关的变量就<em>报错</em>,内存<em>错误</em>。调试到最后一句话: return CPropertyPage::OnWizardNext();rn<em>报错</em>Unhandle exception in System.exe (MFC43D.DLL) 0xc0000005 Access Violation
紧急求助,对象错误
我用window.opener.location.reload();刷新页面,在有的浏览器中出现window.opener.location不是<em>对象</em>的<em>错误</em>,请各位大虾指点rn
Xcode7.0运行之前的程序报错的解决方法
最近升级了一下Xcode7.0.1 但是以前在6.4上面<em>运行</em>的程序  到7.0.1上面就会<em>报错</em> 原因如图 解决方法 如图 把Enable Bitcode 的YES 改成NO
PyCharm报错,cmd没有问题
在cmd通过pip下载的包,在PyCharm中导入依然<em>报错</em>。如下图: 解决办法是:settings---&gt;Project:项目名---&gt;Project Interpreter---&gt;点击向下的箭头,show all.如图 点击右侧加号,在弹出框中,选择existing environment ,配置自己本地的python路径,然后勾选选择框即可。 ...
windows系统重装后重新使用之前的oracle
<em>之前</em>因为电脑越来越卡所以<em>重装</em>了系统  因为不想新装oracle 所以查询资料复用<em>之前</em>的 首先 系统<em>重装</em>后重新配置环境变量 1.新建变量 .     将其加入path变量中 %ORACLE_HOME%\BIN;%NLS_LANG%;   2.变量加好后可以sqlplus一下  输入用户名密码后发现<em>报错</em>ora-12560 协议适配器<em>错误</em> 所以重新配置下监听   输入netca ...
使用CImage的程序如下,之前运行后来不知道为社会么就报错
[code=c] if (_access(pImageFileName, 0)!=-1) rn rn CRect rect;rn m_STATIC_ImageLiveview.GetClientRect(&rect); //m_picture为Picture Control控件变量,获得控件的区域<em>对象</em> rn CImage image; //使用图片类rn image.Load(pImageFileName); rn CDC* pDC = m_STATIC_ImageLiveview.GetWindowDC(); rn pDC->SetStretchBltMode(STRETCH_HALFTONE); rn image.Draw(pDC->m_hDC, rect); rn ReleaseDC(pDC);rn return true;rn [/code]rnrn这个程序<em>之前</em><em>运行</em>通过,并且正确的显示图片了,但是不知道为什么,有一次调试的时候,就<em>报错</em>了!rn请各位帮个忙看看什么问题!rn其中pImageFileName是文件完整文件名,包含路径,图片格式是jpg!rn大家帮帮忙看看怎么回事儿啊?谢谢啦!
调用了opencv的C++程序调试运行没有问题,但一运行exe就报错debug error R6010
问题描述:最近做项目的时候,发现调用了opencv库的C++程序在VS2010上调试<em>运行</em>完全<em>没有问题</em>,但是一旦<em>运行</em>debug文件下的exe文件就显示debug error,具体<em>报错</em>如图: 虽然在调用opencv库的时候也遇到过这种问题,但是基本都是参数<em>错误</em>,指针问题,但是这次明明debug调试的时候完全<em>没有问题</em>,但是<em>运行</em>exe就出错了, 一直百思不得其解,后面在<em>运行</em>另外一个小程序的时候
Linux系统重装或删除图形界面
手动安装图形化界面 1、先将OS镜像挂载至/mnt下 mount -t iso9660 -o ro,loop CentOS-7-x86_64-dvd.iso  /mnt 2、 配置yum源,查看包组 yum group list   3、安装带GUI的服务器包组 yum -y  groupinstall &quot;Server with GUI&quot;   4、查看已安装的详情 show-in...
项目在myeclipse运行没有报错,但是在tomact运行报错
[img=https://img-bbs.csdn.net/upload/201406/10/1402389218_294095.jpg][/img]rn上图为myeclipse的<em>运行</em>的信息。rn[img=https://img-bbs.csdn.net/upload/201406/10/1402389450_499870.jpg][/img]rn上图为tomact加载时候的信息。rnrn大概可能加载spring配置文件的时候<em>报错</em>:rn而我的web.xml的spring配置rn rn contextConfigLocationrn classpath:applicationContext-*.xml rn rnrn有2个spring的xml文件,applicationContext-bean.xml和applicationContext-public.xml
函数在main之前或之后运行
C++中,全局<em>对象</em>的构造函数在main<em>之前</em><em>运行</em>,析构函数在main之后<em>运行</em>。 类静态变量的初始化在main<em>之前</em>,静态函数不行。 class Base { public: Base() { std::cout&amp;lt;&amp;lt;&quot;基类构造&quot;&amp;lt;&amp;lt;endl; } ~Base() { std::cout&amp;lt;&amp;lt...
git fetch时报错之前使用没有问题,今天就报错
error: insufficient permission for adding an object to repository database .git/objects
Android 运行项目没有问题,打包后不能运行错误
<em>报错</em>信息 项目直接在手机上可以<em>运行</em>,但是打包完后会报这个<em>错误</em>,通过<em>错误</em>信息大概可以看出是混淆文件的问题,然后就加上RX的混淆重新打包就可以<em>运行</em>了
错误:不正常地定义参数对象。提供了不一致或不完整的信息。
不正常地<em>定义</em>参数<em>对象</em>。提供了不一致或不完整的信息。rn原码:rnrnDataModule1->ADOQd->Close();rnDataModule1->ADOQd->Parameters->ParamByName("day")->Value=DateTimePicker1->DateTime;rnDataModule1->ADOQd->Parameters->ParamByName("referencedid")->Value=CSpinEdit1->Value;rnDataModule1->ADOQd->Parameters->ParamByName("productkind")->Value=ComboBox2->Text;rnDataModule1->ADOQd->Parameters->ParamByName("product")->Value=ComboBox1->Text;rn//DataModule1->ADOQd->Parameters->ParamByName("stocks")->Value=Edit1->Text;rn if(RadioGroup1->ItemIndex==0)rn// DataModule1->ADOQd->Parameters->ParamByName("narrate")->Value=narrate="销售出货";rn// DataModule1->ADOQd->Parameters->ParamByName("pdtnum")->Value=-pdtnum;rn// nidt=(Edit1->Text.ToIntDef(0))-pdtnum;rn if(ComboBox4->Text!="")rn DataModule1->ADOQd->Parameters->ParamByName("ctcompany")->Value=ComboBox4->Text;rn rn else if(RadioGroup1->ItemIndex==1)rn// DataModule1->ADOQd->Parameters->ParamByName("narrate")->Value=narrate="采购进货";rn// DataModule1->ADOQd->Parameters->ParamByName("pdtnum")->Value=pdtnum;rn// nidt=(Edit1->Text.ToIntDef(0))+pdtnum;rn if(ComboBox4->Text!="")rn DataModule1->ADOQd->Parameters->ParamByName("provider")->Value=ComboBox4->Text;rn rn else if(ComboBox5->Text!="")rn DataModule1->ADOQd->Parameters->ParamByName("eplname")->Value=ComboBox5->Text;rn// else if(Edit5->Text!="")rn// DataModule1->ADOQd->Parameters->ParamByName("memo")->Value=Edit5->Text;rnDataModule1->ADOQd->ExecSQL(); //store the data
【请教】排序过程中出现的问题!“应用程序或对象定义错误
请教各位:rnrnworkbook中有三个sheet,在第一个sheet中一个按钮,希望能够实现对第三个sheet中的数据行进行排序操作,具体代码如下(部分)rnrnsheet1:rnrndim tempSht as worksheetrnrn//对tempSht赋值,第三个sheet的名字为“temp”rnset tempSht = worksheets("temp")rnrn//实现排序rntempSht.Range(Cells(1, 1), Cells(perPriCount, 14)).Sort Key1:=tempSht.Range("B1"), Order1:=xlAscending, Header:= xlGuess, OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom,rnSortMethod:=xlPinYin, DataOption1:=xlSortNormalrnrn<em>运行</em>的时候却提示:“<em>应用</em>程序或<em>对象</em><em>定义</em><em>错误</em>”rnrn请问是什么原因?
运行错误 '-214748105 (8001007)' 定义的程序或对象错误
在执行End时出错!rnrn<em>运行</em>时<em>错误</em> '-214748105 (8001007)'rn<em>定义</em>的程序或<em>对象</em><em>错误</em>rnrn在VB中执行不会出现<em>错误</em>,但生成EXE文件时缺会出错。rn代码如下:rnrnMsgBox "执行End"rnOn Error Resume NextrnEndrnMsgBox "执行End 完毕"rnrnrnrn请问,这该怎么办?我弄了很就了,不得不用END方法,因为不用END的话,我的<em>应用</em>程序始终会在进程中。
第一次运行错误,刷新就报错。为什么?
写的是jsp,数据库sql2k,第一次进入后是正确的,当再刷新的时候就回<em>报错</em>。为什么?很奇怪?rnHTTP Status 500 -rnrntype Exception reportrnrnmessagernrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexceptionrnrnorg.apache.jasper.JasperExceptionrn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:358)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)rnrnroot causernrnjava.lang.NullPointerExceptionrn org.apache.jsp.shop.purchase_jsp._jspService(purchase_jsp.java:84)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)rnrnnote The full stack trace of the root cause is available in the Tomcat logs.
这是什么错误?在IE下能运行,Firefox下就报错
这是什么<em>错误</em>?在IE下能<em>运行</em>,Firefox下就<em>报错</em>?rnrnThe image http://127.0.0.1/index.php cannot be displayed, because it contains errorsrnrn就是个php加Gd写的一个生成png图片的网页rnrn急,谢谢
java.exe-应用程序错误(程序一运行报错)
"0x77f85c41"指令引用的"0x00000010"内存。该内存不能为"written"rnrn可是却能显示正确结果,这是为什么?
为正在运行程序定义系统热键
为正在<em>运行</em>的<em>程序<em>定义</em></em>系统热键
系统重装后(xp)我的office文件打不开了
xp<em>重装</em>后我的<em>office</em>文件打不开了,一打开系统提示没有权限,或者是加密文档。排除了<em>office</em>版本问题,我发现<em>office</em>文件在“属性”中的“高级”选项中有一项“加密内容以便保护数据”,将前面的"√"去掉“确定后”提示“文件属性修改<em>错误</em>”,在“高级”属性对话框中“加密内容以便保护数据”选项旁有“详细信息”选项,选中后,显示“可透明访问文件的用户”对话框,里面有<em>重装</em>系统前的windows xp(sp1版)的用户名"Owner(xiongw)",也无法删除,也无法添加新的用户,把当前用户改为“Owner”,计算机名改为“xiongw”后,文件照旧打不开,文件属性也改不过来。请各位帮助解决,谢谢了。rn
报错 对象变量或 With 块变量没有设置(错误 91)
[code=VB]Private Sub CommandButton1_Click()rn Dim class1 As ResultClassrn Dim i As Integerrn i = class1.getResult(1, 2)rn txtWrite.Object = irnEnd Sub[/code]rnrnrnResultClass类rn[code=VB]Function getResult(number1 As Integer, number2 As Integer) As Integerrn Dim result As Integerrn result = number1 + number2rn getResult = resuletrnEnd Functionrn[/code]rnrn大家看看的 这个错哪儿了?
求助BUTTON6 报错 错误 1 “System.Windows.Forms.TextBox”不包含“items”的定义
using System;rnusing System.Collections.Generic;rnusing System.ComponentModel;rnusing System.Data;rnusing System.Drawing;rnusing System.Linq;rnusing System.Text;rnusing System.Windows.Forms;rnusing System.IO;rnusing System.Collections;rnrnrnnamespace WindowsExample9._16rnrn public partial class Form1 : Formrn rn Button btn = new Button();rn public Form1()rn rn InitializeComponent();rn btn.Click += new EventHandler(btn_Click);rn rn private void button2_Click(object sender, EventArgs e)rn rn listBox1.Items.Remove(listBox1.SelectedItem.ToString());rn rnrn private void button3_Click(object sender, EventArgs e)rn rn listBox2.Items.Add(listBox1.SelectedItem);rn rnrn private void button4_Click(object sender, EventArgs e)rn rn listBox1.Items.Clear();rn rnrn private void Form1_Load(object sender, EventArgs e)rn rn btn.Text="Click Me";rn this.Controls.Add(btn);rn rn private void btn_Click(object sender, EventArgs e)rn rn MessageBox.Show("New Button Click");rn rnrn private void button5_Click(object sender, EventArgs e)rn rn StreamReader file = new StreamReader(@"e:\名单110053.txt", System.Text.Encoding.Default);rn string s = "";rn while (s != null)rn rn s = file.ReadLine();rn if (s != null && !s.Equals(""))rn listBox1.Items.Add(s);rn rn file.Close();rnrn rnrn private void listBox2_SelectedIndexChanged(object sender, EventArgs e)rn rnrn rnrn private void button6_Click(object sender, EventArgs e)rn rn StreamReader file = new StreamReader(@"e:\名单110053.txt", System.Text.Encoding.Default);rn string s = "";rn while (s != null)rn rn s = file.ReadLine();rn if (s != null && !s.Equals(""))rn textBox1.text.add(s);rn rn file.Close();rn rnrn private void listBox1_SelectedIndexChanged(object sender, EventArgs e)rn rnrn rn rnrn
求助eclipse下写的时候没有出错,但是运行报错
下面是代码rnpackage disanzhang;rnpublic class CompoundInterest rn public static void main(String[] args)rn rn final double STARTRATE=10;rn final int NRATES=6;rn final int NYEARS=10;rn double[]interestRate=new double[NRATES];rn for(int j=0;j
求助:网页程序内有treeview,已运行报错
入题,查了很多资料还是没有解决,服务器没有安装vs,rnrn承诺对于最终帮助解决问题的单独给50分,大家一定要帮帮我呀,已经浪费了很多时间了!rnrn<em>运行</em>现象:rnrnParser Error rnDescription: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. rnrnParser Error Message: Could not load type System.Web.UI.WebControls.TreeView from assembly System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.rnrnSource Error: rnrnrnLine 144:rnLine 145: rnLine 146: rnLine 147: rnLine 148: rn rn
[求助]运行SSIS的job报错
最近创建一个SSIS的job,老是<em>报错</em>,<em>报错</em>job的属性也如下所示:rn(由于图片上传麻烦,特意手写下来)rnrn在General页面:rnName: testForExecrn[color=#FF0000]Owner:sa[/color]category:[Uncategorized(local)]rn其他不重要的属性空rnrn在Step页面,只有一个step,即执行那个ssis,rn[color=#FF0000]这个step的类型是:Operating system(CmdExec)[/color][color=#FF0000]Run as: SQL Server Agent Service Account[/color]rnrn[b]SQL Server Agent Service Account 登陆帐户我设置的是数据库中存在的一个帐户ssz,也是我当前登录的帐户。[/b]rnrn<em>运行</em>Job后,<em>报错</em>:rnrn===================================================rn[color=#993366] [b]Executed as user: sszrn Unable to open Step output file.Unable rn to open Step output file.Unable to openrn Step output file.Unable to open Step output file. rn The step failed.[/b][/color]rn=====================================================rnrn对于SQL Server Agent Service Account的登陆帐户,默认的是NetWork Service,我试过Local ,现在换成我当前登录的帐户,可不论那个帐户,都会报出上面的那个<em>错误</em>,说该帐号不能创建该进程。rnrn[b]PS:出于某种原因,我不能采用 SQL Server Intergration Package 而不得不像上面那样采用Operating system(CmdExec)[/b]
错误应用点击无响应报错
Could not find class 'okhttp3.Cache', referenced from method cn.cntv.AppConfig.init public class AppContext extends Application { 修改为: public class AppContext extends MultiDexApplication
重装aspnet2.0后报错
重新安装了aspnet2.0后网站<em>报错</em>,打不开,什么原因,如何解决rn[img=https://img-bbs.csdn.net/upload/201308/22/1377142607_946166.png][/img]
重装xp系统报错
rn我重启机器从光盘<em>重装</em>xp系统,复制文件完成,电脑重启后,就报这个这个<em>错误</em>:(屏幕是蓝色)rnstop:c0000135Unknown hard error.Unknown harderor
重装unity报错
<em>重装</em>unity<em>报错</em> 删除C:\ProgramData\index-local.xml文件。
eclipse 运行java程序报错错误: 找不到或无法加载主类 ”
网上找了一下,有很多答案,但是都不适用于我的项目。 尝试多次后找到了解决办法。 解决办法: window-preferences-java-installed JREs-edit-default vm arguments(删除) 不知道这种方法能否解决您的问题。
cmd下运行java程序报错错误: 找不到或无法加载主类
通常出现这种问题有以下三种原因: 第一:环境变量配置不正确,配置环境变量时一定要将CLASSPATH配上,(配置教程) 第二:执行方法有误,进入java文件目录下,首先执行javac xxx.java,生成一个xxx.class文件,然后执行java xxx 第三:程序有问题,比如我<em>之前</em>直接在cmd下执行eclipse下的java文件,始终报“<em>错误</em>: 找不到或无法加载主类”这个异常,但是在ec
卸载VS2008,重装报错!
我手动卸载VS2008后打算重新安装,发现<em>重装</em>时<em>报错</em>:rn[img=https://img-bbs.csdn.net/upload/201411/18/1416280341_803432.jpg][/img]rn我在网上找到大部分人认同的解决方案:rn[img=https://img-bbs.csdn.net/upload/201411/18/1416280454_961707.jpg][/img]rn我先尝试第一种方法,发现Windows7的【控制面板——>程序和功能——>打开或关闭windows功能】没有Windows Installer 3.1和Windows Installer 3.1 Redistributable (v2)。rn我尝试第二种方法,在windows7中【控制面板——>程序和功能——>查看已安装的更新】中打算卸载所有关于VS2008,发现最后三个无法卸载,这三个文件是:rn[img=https://img-bbs.csdn.net/upload/201411/18/1416280892_665864.jpg][/img]rn我卸载VS2008<em>之前</em>,也打了SP1补丁(准确说是VS2008+SP1),另外,我查到这三个补丁的资讯:rn972221rn[url=http://support.microsoft.com/kb/972221][/url]rn971091rn[url=http://support.microsoft.com/kb/971091][/url]rn973674rn[url=http://support.microsoft.com/kb/973674][/url]rn现在打算这三个更新程序对于的所有文件删掉,不知道可不可行。麻烦大家看看,先上100分,如果解决方案可行追加200分,先谢过!本机操作系统:Win7 Ultimate(SP1)。
系统重装
我装了Windows和Linux双系统rn现在我想<em>重装</em>Windows系统 请问如何解决?
运行时713错误---应用程序或对象错误
在<em>运行</em>时执行数据环境denvAll的连接cnAll的Open操作时,出现<em>运行</em>时713<em>错误</em>,<em>应用</em>程序或<em>对象</em><em>错误</em>,目前怀疑是安装<em>错误</em>,因为本机没问题;另外,如果不是<em>运行</em>时连接,直接在数据环境中指定cnAll的数据源,则不管本机还是安装机,都没问题
对象为空或不是对象求助
我做了一个可编辑的iframe,并用一个按钮显示隐藏html代码,以下程序可以正常<em>运行</em>。但请注意我注释掉的部分,我原来想通过d来代替document.frames(0).document,可是这样一替换,就提示脚本<em>错误</em>:“d不是<em>对象</em>或为空!”请各位高人指点一下小弟!谢谢rn rnrncodernrn
求助,系统重装后,声卡无声
各位好:rn  我用的主版是精英RC410L/800-M2 (V1.0),原先一切都正常,昨天系统<em>重装</em>后,机器就没声了。主要状况如下:rn  1.但任务拦处小喇叭不知去向,设备管理器中也没有问好,感叹号。rn  2.用Windows Media Player 打开声音文件时出现:"由于您的声音设备出现问题,Windows Media Player 无法播放该文件。可能是您的计算机上没有安装声音设备,或者另一程序正在使用该设备,或者该设备不能正常使用。"rn  3.控制面板中显示“没有音频设备”。rn  驱动我是让驱动光盘自动安装的,没声音痛苦啊,头都大了。rn  那位大虾知道怎么解决的指点一下,万分感谢!rnrn
紧急求助:我的DOTNET无法启动,启动就报错:mscoree.dll错误
各位老大帮忙,具体<em>报错</em>信息如下:rnThe procedure entry point LockClrVersion could not be located in the dynamic link library mscoree.dllrn哪个老大遇到过这种问题啊?能否指点一下小弟,谢谢了。
请求援助:socket 错误(1004*)
本人编写了一个nt环境下服务器段程序,使用SOCKET和客户端进行通讯,以前在NT4和WIN2000<em>运行</em>都没问题,可是这次新装了一个WIN2000,<em>运行</em>程序后创建SOCKET时便报SOCKET<em>错误</em>,<em>错误</em>码是:<em>1004</em>8.rnif (Socket.Create(SERV_TCP_PORT)==0)//SERV_TCP_PORT=6666rn rn dErrCode=GetLastError();rn strErr.Format("Socket Error:%d",dErrCode);rn PostMessage(hWnd,WM_LSNERR,(WPARAM)(LPCSTR)strErr,rn (LPARAM)"Error");rn return(1);rn rn我查了一下MSDN,这个<em>错误</em>的解释如下:rnrnAddress already in use. rnTypically, only one usage of each socket address (protocol/IP address/port) is permitted. This error occurs if an application attempts to bind a socket to an IP address/port that has already been used for an existing socket, or a socket that was not closed properly, or one that is still in the process of closing. For server applications that need to bind multiple sockets to the same port number, consider using setsockopt(SO_REUSEADDR). Client applications usually need not call bind at all—connect chooses an unused port automatically. When bind is called with a wildcard address (involving ADDR_ANY), a WSAEADDRINUSE error could be delayed until the specific address is committed. This could happen with a call to another function later, including connect, listen, WSAConnect, or WSAJoinLeaf. rn
如何在运行jsp之前运行类文件
我要想在login.jsp的代码执行<em>之前</em>做一些工作,比如说,读配置文件,创建连接池,建立连接,写日志文件等等,这些事情都不是通过login.jsp中的代码调用的,而是在显示login.jsp<em>之前</em>做的,请问能否实现
hdu 1004(map的基本应用
问题传送门 求气球颜色的最多的颜色。 map的基本<em>应用</em>, 本题用到的知识, 声明 map&amp;lt;string,int &amp;gt; Ball; a = Ball[ch];有两个作用,第一个是查找ch;第二个,若是没有ch,则会建立ch的键,返回值 0; #include &amp;lt;algorithm&amp;gt; #include &amp;lt;iostream&amp;gt; #include &amp;lt...
office 插入 对象时出现的错误
在visio插入<em>对象</em>时提示如下的<em>错误</em>rnrn[img=http://hi.csdn.net/attachment/201107/27/652561_13117348417K5m.jpg][/img]rnrn在word中插入<em>对象</em>时,提示如下的<em>错误</em>rnrn[img=http://hi.csdn.net/attachment/201107/27/652561_1311734857w8cF.jpg][/img]rnrn怎么解决?<em>重装</em>了visio和<em>office</em>都不行
餐馆点菜管理系统asp版下载
餐馆点菜管理系统(Web版 全套源码 安装即用) 本系统是一个完整的ASP应用项目,合适有初步ASP编程经验的朋友们提高和学习之用。 系统含全套源码,合适朋友们在此基础上举一反三结合实际开发出优秀的ASP应用系统。 本系统是Web模式的餐馆点菜管理系统 运行环境:IIS5.0 编程模式:ASP.NET 后台数据库:MS-Access\MySql\SQLServer\Oracle 系统主要完成的功能如下: 前台 .点菜 .菜单 .留言 后台 .菜品管理 菜品类别 菜品维护 新增菜品 .餐厅-桌台管理 餐厅信息 桌台信息 .客 相关下载链接:[url=//download.csdn.net/download/ganggao2009/1865196?utm_source=bbsseo]//download.csdn.net/download/ganggao2009/1865196?utm_source=bbsseo[/url]
人事管理系统下载
里面有完整的代码,配置好C#环境,将程序导进去就可以,当然要安装好access,将数据库导进去就可以使用。注意将数据库放到C盘根目录下面,由于数据库管理系统的版本为2010,因此在设计数据库的链接字符串时,必需使用最新的链接驱动。 相关下载链接:[url=//download.csdn.net/download/hit_pp/4639324?utm_source=bbsseo]//download.csdn.net/download/hit_pp/4639324?utm_source=bbsseo[/url]
1998年全国计算机软件专业资格和水平考试系统分析员试题及答案.pdf下载
1998年全国计算机软件专业资格和水平考试系统分析员试题及答案.pdf 相关下载链接:[url=//download.csdn.net/download/peaktoporg/5148238?utm_source=bbsseo]//download.csdn.net/download/peaktoporg/5148238?utm_source=bbsseo[/url]
相关热词 c# 线程结束时执行 c# kb mb 图片 c# 替换第几位字符 c#项目决定成败 c# 与matlab c# xml缩进 c#传感器基础 c#操作wps c# md5使用方法 c# 引用父窗口的组件
我们是很有底线的