运行时出现错误 “50003” 。急!!!!!!在线等 [问题点数:50分,结帖人sysdzw]

Bbs1
本版专家分:0
结帖率 50%
Bbs1
本版专家分:75
Bbs7
本版专家分:16077
程序运行时出现错误!急!
程序编译通过,但在运行的时候<em>出现</em><em>错误</em>,大概就是这个意思:rnExpression: str!= NULLrn我实在找不出是什么<em>出现</em>的问题,大家给点意见啊.
调试时候出现错误,在线急等!
<em>错误</em>如下:rnerror C2065: 'wsprintfW_instead_use_StringCbPrintfW_or_StringCchPrintfW' : undeclared identifierrnrn相关的句子如下:rn....rn wsprintfW(wsz, L"FilterGraph%08p pid %08x", (DWORD_PTR)mGraph, GetCurrentProcessId());rn......
连接mysql出现错误,急,在线
用.net连接mysql的时候,<em>出现</em><em>错误</em>,如下: rnrnHost 'V3ERPDI8VUDB67V' is not allowed to connect to this MySQL server rnrn请问怎么解决,谢谢 rn我比较苯,最好能一步一步有详细说明
用listctrl出现错误(在线急等)
当退出时<em>出现</em>的<em>错误</em>如下:rn Buffer overrun detected!rn program: ...\Release\FoodDeptV2.0.exern A buffer overrun has been detected which has corrupted the program'srn internal state. The program cannot safely continue execution and must nowrn be terminated.rnrn当我运用CMyExListCtrl m_list时<em>出现</em>上述<em>错误</em>,但是CListCtrl m_list时则没有<em>错误</em>;rn而且当我新建项目运用CMyExListCtrl m_list时,没有<em>错误</em>发生。rn并且我用断点调试没有发现<em>错误</em>发生之处?请各位赐教!
急........在线等.......Web.Config文件出现错误!
[code=HTML]rn“/”应用程序中的服务器<em>错误</em>。rn--------------------------------------------------------------------------------rnrn<em>运行时</em><em>错误</em> rn说明: 服务器上<em>出现</em>应用程序<em>错误</em>。此应用程序的当前自定义<em>错误</em>设置禁止远程查看应用程序<em>错误</em>的详细信息(出于安全原因)。但可以通过在本地服务器计算机上运行的浏览器查看。 rnrn详细信息: 若要使他人能够在远程计算机上查看此特定<em>错误</em>消息的详细信息,请在位于当前 Web 应用程序根目录下的“web.config”配置文件中创建一个 标记。然后应将此 标记的“mode”属性设置为“Off”。rnrnrnrnrnrn rn rn rnrn rnrn注释: 通过修改应用程序的 配置标记的“defaultRedirect”属性,使之指向自定义<em>错误</em>页的 URL,可以用自定义<em>错误</em>页替换所看到的当前<em>错误</em>页。rnrnrnrnrnrn rn rn rnrn rnrn[/code]rn请问这个是什么问题引起的啊!rn路过的朋友帮帮忙.rn谢谢!
Unexpected error (50003) 未知的错误
我在程序中需要调用Crystal Report的Dsr文件。rnrn(1)先前安装了很多遍Crystal Report,每次打开VB程序的时候都提示不能自动载入Dsr文件;即使是在Project浏览器通过 Add -- Add Files --来手动加入这些Dsr文件也不行!(Log文件信息:Line 2: Class BD4B4E61-F7B8-11D0-964D-00A0C9273C2A of control CRReport was not a loaded control class.)rn(2)后来我换了一个版本的Crystal Report 之后,打开VB程序时可以载入先前的Dsr文件。然而,此时编译的时候<em>出现</em>了“Unexpected error (<em>50003</em>)”的<em>错误</em>!!!程序无法编译运行了。rnrn向各位咨询如上的两个问题:(1)为什么在程序中不能加入那些Dsr文件?(2)为什么安装完Crystal Report 之后就无法编译程序了?rnrn期盼各位不吝赐教,不胜感激!rn:)rnrn
VB程序运行时出现 713 错误,急在线,请帮忙!
我的程序在没有VB的机器里运行抱出 713 <em>错误</em> 类未注册 请指教。
出现ORA-01090错误在线
现象: rn  SQL> shutdown normal rn  ORA-01090: shutdown in progress - connection is not permitted rn 一直停留在这个关闭状态,现在想重新启动实例,启不来了。没法登录怎么启动实例呢?一直提示正在shutdown,怎么办?高手帮忙啊!rnrn(请不要用网上的粘贴,谢谢)
编译出现错误!在线等!
[C++ Error] main.cpp(810): E2015 Ambiguity between 'caNone' and 'Forms::caNone'rn[C++ Warning] main.cpp(810): W8018 Assigning TCharAttr to TCloseActionrn怎么解决这个问题啊?
[在线等]出现System.IO.FileNotFoundException错误
System.IO.FileNotFoundException: 找不到文件或程序集名称“0lyiikm2.dll”,或找不到它的一个依赖项rnrn这个该怎么解决?
求助:运行时出现错误
本人vb初学者,有个问题希望高手看一下:rn现在做个通过串口采集下位仪表的小程序,单步运行的时候能采集到值,可是全部运行就<em>出现</em><em>错误</em>:实时<em>错误</em> '5'rn 无效的过程调用或参数rnrn然后我点“调试”按钮,就进入到:rnrnFunction RecvCmdCom(buf As String) As Stringrn rn Dim strRead As Stringrn Dim intBeginBit As Integerrn Dim intEndBit As Integerrn rn intBeginBit = InStr(1, buf, ",")rn intEndBit = InStr(intBeginBit, buf, ":")rn strRead = Mid(buf, intBeginBit + 1, intEndBit - intBeginBit - 1)rn rn RecvCmdCom = Str(Val("&H" & strRead))rn rnEnd Functionrnrn光标停在strRead = Mid(buf, intBeginBit + 1, intEndBit - intBeginBit - 1)rn这个语句上。rnrn请问各位高手,这个这么解决呢?是什么原因?
vs2005 运行时出现错误
[img=http://hi.csdn.net/attachment/201009/15/2719311_1284563718wBy3.jpg][/img]rn这<em>错误</em>怎么解决了
xp_cmdshell运行时出现错误
<em>错误</em>提示如下:rn  无法装载 DLL xplog70.dll 或该 DLL 所引用的某一 DLL。原因: 126(找不到指定的模块。)。rn是什么原因,有没有办法可以解决,请各位高手帮我看看rn
运行时出现iexplore.exe错误
<em>运行时</em><em>出现</em>iexplore.exe<em>错误</em>,0x00000003不可 writtenrnsilverlight开发的程序,网页中运行是 ,需要别的插件和silverlight模块之前来回切换数次rn现在ie6也就能相互切换3次左右,ie7能切换5次左右就会<em>出现</em>上述问题,请问什么原因?
运行时出现command.ocx错误!!!!!!!!
系统提示“部件command.ocx或其附件之一不能正确注册:一个文件丢失或无效”rnrn如何解决?请给予具体方法!
ssh+oracle出现错误在线等)
2009-8-31 4:57:43 org.apache.catalina.core.StandardContext listenerStartrn严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.lang.String] to required type [javax.sql.DataSource] for property 'dataSource'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [java.lang.String] to required type [javax.sql.DataSource] for property 'dataSource': no matching editors or conversion strategy foundrnCaused by: org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.lang.String] to required type [javax.sql.DataSource] for property 'dataSource'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [java.lang.String] to required type [javax.sql.DataSource] for property 'dataSource': no matching editors or conversion strategy foundrnCaused by: java.lang.IllegalArgumentException: Cannot convert value of type [java.lang.String] to required type [javax.sql.DataSource] for property 'dataSource': no matching editors or conversion strategy foundrn at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:231)rn at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:138)rn at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:380)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1112)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:423)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:285)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:189)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)rn at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1116)rn at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1214)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)rn at java.lang.Thread.run(Unknown Source)rn2009-8-31 4:57:43 org.apache.catalina.core.StandardContext startrn严重: Error listenerStartrn2009-8-31 4:57:43 org.apache.catalina.core.StandardContext startrn严重: Context [/guestbook3] startup failed due to previous errorsrn2009-8-31 4:57:43 org.apache.catalina.core.ApplicationContext log
MFC程序运行时出现断言错误【急求!!!!!!】
用MFC想实现的第一步功能是:点击按钮,检测出本地的网络设备信息,程序编译可以通过,但是点击按钮后<em>出现</em>断言<em>错误</em>:rn[img=C:\Documents and Settings\Administrator\桌面\[XV7]RP`N$RM~7EQYU8%K5.jpg][/img]rn点击按钮触发的函数:rnvoid CarpDlg::OnBnClickedButton5()rnrn // 列出本机的网卡借口列表rn if(pcap_findalldevs(&alldevs,errbuf) == -1)rn AfxMessageBox(_T("找不到可用的网卡!"));rn exit(0);rn rn for(d=alldevs;d;d->next)rn rn myList1.InsertString(-1,d->name);rn rnrnrn提示出错地方的代码::rn ASSERT(::IsWindow(m_hWnd)); return (int)::SendMessage(m_hWnd, LB_ADDSTRING, 0, (LPARAM)lpszItem); rn_AFXWIN_INLINE int CListBox::DeleteString(UINT nIndex)rn ASSERT(::IsWindow(m_hWnd)); return (int)::SendMessage(m_hWnd, LB_DELETESTRING, nIndex, 0); rn_AFXWIN_INLINE int CListBox::InsertString(int nIndex, LPCTSTR lpszItem)rn[color=#FF0000] ASSERT(::IsWindow(m_hWnd)); return (int)::SendMessage(m_hWnd, LB_INSERTSTRING, nIndex, (LPARAM)lpszItem); [/color]_AFXWIN_INLINE void CListBox::ResetContent()rn ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, LB_RESETCONTENT, 0, 0);
求救:运行时出现错误.
我在主框架(单文档)中设置了两个按钮分别为"弹出对话框""显示对话框内容".第一个按钮能正常弹出对话框,但是点第二个按钮"显示对话框内容"时<em>出现</em>这样的<em>错误</em>:rn test2.exe 遇到问题需要关闭。我们对此引起的不便表示抱歉。rnrn 我在对话矿中设置了一个Editbox,"显示对话框"的功能是显示Editbox中输入的内容,代码是:rn HWND WinHandle=::FindWindow(NULL,"CDialogTest1");rn CWnd* cw=GetDlgItem(IDC_EDIT1);rn CString str;rn cw->GetWindowText(str);rn AfxMessageBox(str);rnrn <em>在线</em>等待,谢谢各位了!rnrn 可能取句柄有错!rn
android 运行时出现错误
我选择logcat里面的error,运行程序时<em>出现</em>以下<em>错误</em>,这是什么呢?看不懂呀。运行多次后<em>出现</em>Unable to instantiate application android.app.Application: java.lang.NullPointerException。而我在另一个文件夹下载的项目做了一样的修改,运行起来一点儿问题也么,我搞不懂了。rnrn每次<em>出现</em>的问题rn05-16 09:40:07.532 7253-7253/? E/MtpService﹕ In MTPAPP onReceive:android.intent.action.BATTERY_CHANGEDrn05-16 09:40:07.532 7253-7253/? E/MtpService﹕ battPlugged Type : 2rn05-16 09:40:12.557 7253-7253/? E/MtpService﹕ In MTPAPP onReceive:android.intent.action.BATTERY_CHANGEDrn05-16 09:40:12.557 7253-7253/? E/MtpService﹕ battPlugged Type : 2rn05-16 09:40:16.922 425-581/? E/Watchdog﹕ !@Sync 70rn05-16 09:40:17.562 7253-7253/? E/MtpService﹕ In MTPAPP onReceive:android.intent.action.BATTERY_CHANGEDrn05-16 09:40:17.572 7253-7253/? E/MtpService﹕ battPlugged Type : 2rn05-16 09:40:22.597 7253-7253/? E/MtpService﹕ In MTPAPP onReceive:android.intent.action.BATTERY_CHANGEDrn05-16 09:40:22.597 7253-7253/? E/MtpService﹕ battPlugged Type : 2rn05-16 09:40:27.612 7253-7253/? E/MtpService﹕ In MTPAPP onReceive:android.intent.action.BATTERY_CHANGEDrn05-16 09:40:27.622 7253-7253/? E/MtpService﹕ battPlugged Type : 2rn05-16 09:40:32.607 7253-7253/? E/MtpService﹕ In MTPAPP onReceive:android.intent.action.BATTERY_CHANGEDrn05-16 09:40:32.607 7253-7253/? E/MtpService﹕ battPlugged Type : 2rn05-16 09:40:37.622 7253-7253/? E/MtpService﹕ In MTPAPP onReceive:android.intent.action.BATTERY_CHANGEDrn05-16 09:40:37.622 7253-7253/? E/MtpService﹕ battPlugged Type : 2rn05-16 09:40:42.627 7253-7253/? E/MtpService﹕ In MTPAPP onReceive:android.intent.action.BATTERY_CHANGEDrn05-16 09:40:42.627 7253-7253/? E/MtpService﹕ battPlugged Type : 2rn05-16 09:40:43.658 425-435/? E/WifiP2pStateTracker﹕ getNetworkInfo : NetworkInfo: type: WIFI_P2P[], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: truern05-16 09:40:43.868 7171-7252/? E/MtpServerJNI﹕ server is null in send_object_addedrn05-16 09:40:43.868 7253-7253/? E/MTPJNIInterface﹕ In MTPJNIINterface onReceive:com.android.MTP.OBJECT_ADDEDrn05-16 09:40:43.908 639-639/? E/CscFactoryReceiver﹕ onReceive android.intent.action.MEDIA_SCANNER_FINISHEDrn05-16 09:40:43.918 639-639/? E/CscUpdateService﹕ costomer file is exists : it has been preconfiged.rn05-16 09:40:43.928 639-639/? E/CscUpdateService﹕ costomer file is exists : it has been preconfiged.rn05-16 09:40:43.938 639-8468/? E/CscParser﹕ update(): xml file existrn05-16 09:40:43.938 639-639/? E/CscUpdateService﹕ costomer file is exists : it has been preconfiged.rn05-16 09:40:43.948 639-8479/? E/CscParser﹕ update(): xml file existrn05-16 09:40:43.958 639-8480/? E/CscParser﹕ update(): xml file existrn05-16 09:40:43.968 6928-6928/? E/EasyGalleryWidget﹕ itemCount : 106rn05-16 09:40:43.968 6928-6928/? E/EasyGalleryWidget﹕ mItemCountForDBCheck : 0rn05-16 09:40:43.978 6928-8483/? E/EasyGalleryWidget﹕ !!!!! UpdateRemoteViewThread run()rn05-16 09:40:44.258 131-397/? E/MetadataRetrieverClient﹕ failed to extract an album artrn05-16 09:40:44.258 6928-8483/? E/MediaMetadataRetrieverJNI﹕ getEmbeddedPicture: Call to getEmbeddedPicture failed.rn05-16 09:40:46.921 425-581/? E/Watchdog﹕ !@Sync 71rn05-16 09:40:47.662 7253-7253/? E/MtpService﹕ In MTPAPP onReceive:android.intent.action.BATTERY_CHANGEDrn05-16 09:40:47.662 7253-7253/? E/MtpService﹕ battPlugged Type : 2rn05-16 09:40:52.686 7253-7253/? E/MtpService﹕ In MTPAPP onReceive:android.intent.action.BATTERY_CHANGEDrn05-16 09:40:52.686 7253-7253/? E/MtpService﹕ battPlugged Type : 2rn05-16 09:40:57.711 7253-7253/? E/MtpService﹕ In MTPAPP onReceive:android.intent.action.BATTERY_CHANGEDrn05-16 09:40:57.711 7253-7253/? E/MtpService﹕ battPlugged Type : 2rn05-16 09:41:02.716 7253-7253/? E/MtpService﹕ In MTPAPP onReceive:android.intent.action.BATTERY_CHANGEDrn05-16 09:41:02.716 7253-7253/? E/MtpService﹕ battPlugged Type : 2rn05-16 09:41:07.751 7253-7253/? E/MtpService﹕ In MTPAPP onReceive:android.intent.action.BATTERY_CHANGEDrn05-16 09:41:07.751 7253-7253/? E/MtpService﹕ battPlugged Type : 2rn05-16 09:41:12.756 7253-7253/? E/MtpService﹕ In MTPAPP onReceive:android.intent.action.BATTERY_CHANGEDrn05-16 09:41:12.756 7253-7253/? E/MtpService﹕ battPlugged Type : 2rn05-16 09:41:16.930 425-581/? E/Watchdog﹕ !@Sync 72rn05-16 09:41:17.791 7253-7253/? E/MtpService﹕ In MTPAPP onReceive:android.intent.action.BATTERY_CHANGEDrn05-16 09:41:17.791 7253-7253/? E/MtpService﹕ battPlugged Type : 2rn05-16 09:41:22.806 7253-7253/? E/MtpService﹕ In MTPAPP onReceive:android.intent.action.BATTERY_CHANGEDrn05-16 09:41:22.806 7253-7253/? E/MtpService﹕ battPlugged Type : 2rnrn运行多次后<em>出现</em>rn05-16 09:47:18.683 8534-8534/com.xfengche.wwww.xfegncheradio_net E/AndroidRuntime﹕ FATAL EXCEPTION: mainrn java.lang.RuntimeException: Unable to instantiate application android.app.Application: java.lang.NullPointerExceptionrn at android.app.LoadedApk.makeApplication(LoadedApk.java:501)rn at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4238)rn at android.app.ActivityThread.access$1400(ActivityThread.java:140)rn at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1297)rn at android.os.Handler.dispatchMessage(Handler.java:99)rn at android.os.Looper.loop(Looper.java:137)rn at android.app.ActivityThread.main(ActivityThread.java:4935)rn at java.lang.reflect.Method.invokeNative(Native Method)rn at java.lang.reflect.Method.invoke(Method.java:511)rn at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038)rn at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)rn at dalvik.system.NativeStart.main(Native Method)rn Caused by: java.lang.NullPointerExceptionrn at android.app.LoadedApk.initializeJavaContextClassLoader(LoadedApk.java:377)rn at android.app.LoadedApk.getClassLoader(LoadedApk.java:320)rn at android.app.LoadedApk.makeApplication(LoadedApk.java:493)rn            at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4238)rn            at android.app.ActivityThread.access$1400(ActivityThread.java:140)rn            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1297)rn            at android.os.Handler.dispatchMessage(Handler.java:99)rn            at android.os.Looper.loop(Looper.java:137)rn            at android.app.ActivityThread.main(ActivityThread.java:4935)rn            at java.lang.reflect.Method.invokeNative(Native Method)rn            at java.lang.reflect.Method.invoke(Method.java:511)rn            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038)rn            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)rn            at dalvik.system.NativeStart.main(Native Method)rn
(急!--在线等!)自定义了一个taglib,运行时出现的问题
我自定义了一个标签name(类名为nameTag,tld文件为hisun.tld和jsp文件为name.jsp),在tomcat5.0中运行name.jsp时报错如下:rnorg.apache.jasper.JasperException: Unable to initialize TldLocationsCache: zip file closedrnrnat org.apache.jasper.compiler.TldLocationsCache.init(TldLocationsCache.java:210)rn at org.apache.jasper.compiler.TldLocationsCache.getLocation(TldLocationsCache.java:181)rn at org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationContext.java:516)rn at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:459)rn at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:525)rn at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1616)rn at org.apache.jasper.compiler.Parser.parse(Parser.java:173)rn at org.apache.jasper.compiler.ParserController.parse(ParserController.java:247)rn at org.apache.jasper.compiler.ParserController.parse(ParserController.java:149)rn at org.apache.jasper.compiler.ParserController.parse(ParserController.java:135)rn at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:243)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:459)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:442)rn at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:552)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)rnrn各位大侠,帮俺分析一下问题的根源,不胜感激!
在asp.net的运行时出现错误
编译器<em>错误</em>信息: BC30203: 需要标识符rn dim InsertCmd as string=_rn "Insert AdminInfo(AdminID,Password,Email) "&_rn "values(@AdminID,@Password,@Email)"rn我刚刚接触,不太有经验,不知道这些<em>错误</em>应该往哪些方面去想,望各位帮忙啊!
程序运行时出现错误
-
VC++中的运行时出现错误问题,急,在线!!!!!
我的程序开始运行的时候正常,可是当运行一段时间后,系统就会<em>出现</em>如下的<em>错误</em>,是很多汇编代码,请问这是什么原因???怎样来调试????我是在DEBUG下运行程序的!!!!rnNTDLL! 77f8206b()rnWS2_32! 74FB6CCF()rnWS2_32! 74fbc3aa()rnWININET! 63045574()
程序集错误。急!急!急!在线等!!!!!!
自己写的一个C#项目 在自己的机子上没有<em>错误</em> 但是生成程序集以后 经理那边调用我的程序集 一直<em>出现</em>数据库登陆失败的信息 这是什么问题 或者说可能是因为哪些原因造成的 求大神们解答
代码错误在线急等!!!!
rs.Open "select id from neirong where title='" & .TextMatrix(.Row, 4) & "'", cnrnIf Not rs.BOF ThenrnDim i As Integerrndim aa as variantrnFor i = 1 To brnAA(i) = rs("id") '报错 subscript out of rangernNextrnEnd Ifrnrs.Closern
ibatis错误!急在线
fee.xml:rn rn rn rn rn rn rn select sum(un_number) un_number,sum(mc_number) mc_number,sum(ct_number) ct_number from ei_fee a join mb_company b on a.company_id=b.companyid and b.agentid=#companyID# and (b.status=0 or b.status=2) and feetime=#startday# and (a.sms_type='***' or a.sms_type='+++') rn rn rn select sum(un_number) un_number,sum(mc_number) mc_number,sum(ct_number) ct_number from ei_fee a join mb_company b on a.company_id=b.companyid and b.agentid=#companyID# and (b.status=0 or b.status=2) and feetime=#startday# and a.sms_type='yyy'rn rn rn select sum(un_number) un_number,sum(mc_number) mc_number,sum(ct_number) ct_number from ei_fee a join mb_company b on a.company_id=b.companyid and b.agentid=#companyID# and (b.status=0 or b.status=2) and feetime=#startday# and a.sms_type='uuu'rn rnrnfee.java:rn private int sumNumber;rn private int un_Number;rn private int mc_Number;rn private int ct_Number;rn调用执行后出错:rnexception rnrnjavax.servlet.ServletException: Failed to execute queryForObject - id [getAgentVcNumber], parameterObject [com.yadcom.mbs.properties.bean.QueryFeesum@1f45022]. Cause: com.ibatis.common.jdbc.exception.NestedSQLException: rn--- The error occurred in com/yadcom/mbs/properties/sql/Fee.xml. rn--- The error occurred while applying a result map. rn--- Check the Fee.listAgentMms. rn--- Check the result mapping for the 'ct_Number' property. rn--- Cause: net.sf.cglib.beans.BulkBeanExceptionrnCaused by: net.sf.cglib.beans.BulkBeanExceptionrn org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:545)rn org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:486)rn org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)rn org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)rn org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:709)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rn com.yadcom.mbs.MBSFilter.doFilter(MBSFilter.java:104)rnrnrnroot cause rnrncom.ibatis.dao.client.DaoException: Failed to execute queryForObject - id [getAgentVcNumber], parameterObject [com.yadcom.mbs.properties.bean.QueryFeesum@1f45022]. Cause: com.ibatis.common.jdbc.exception.NestedSQLException: rn--- The error occurred in com/yadcom/mbs/properties/sql/Fee.xml. rn--- The error occurred while applying a result map. rn--- Check the Fee.listAgentMms. rn--- Check the result mapping for the 'ct_Number' property. rn--- Cause: net.sf.cglib.beans.BulkBeanExceptionrnCaused by: net.sf.cglib.beans.BulkBeanExceptionrnCaused by: com.ibatis.common.jdbc.exception.NestedSQLException: rn--- The error occurred in com/yadcom/mbs/properties/sql/Fee.xml. rn--- The error occurred while applying a result map. rn--- Check the Fee.listAgentMms. rn--- Check the result mapping for the 'ct_Number' property. rn--- Cause: net.sf.cglib.beans.BulkBeanExceptionrnCaused by: net.sf.cglib.beans.BulkBeanExceptionrn com.ibatis.dao.client.template.SqlMapDaoTemplate.queryForObject(SqlMapDaoTemplate.java:153)rn com.yadcom.mbs.properties.sqlmapdao.FeeSqlMapDao.getAgentVcNumber(FeeSqlMapDao.java:361)rn sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn java.lang.reflect.Method.invoke(Method.java:585)rn com.ibatis.dao.engine.impl.DaoProxy.invoke(DaoProxy.java:61)rn $Proxy8.getAgentVcNumber(Unknown Source)rn com.yadcom.mbs.properties.service.FeeService.getAgentVcNumber(FeeService.java:122)rn com.yadcom.mbs.AgentAdmin.action.fee.SearchMmsFeeAction.execute(SearchMmsFeeAction.java:37)rn org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)rn org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)rn org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)rn org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:709)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rn com.yadcom.mbs.MBSFilter.doFilter(MBSFilter.java:104)rnrn
JavaScript 错误,急!在线
报这个<em>错误</em>,引入了prototype.jsrnrn[img=http://hiphotos.baidu.com/zhidao/pic/item/7acb0a46c46ca9226b63e5fa.jpg][/img]rnrn为啥会造成这个<em>错误</em>呢? 怎么解决?
webbrower 错误?急,在线等==
<em>错误</em>如下:rncould not obtain ole control window handlern========================================================rn什么代码都不写,把控件拉在from上运行就<em>出现</em>...郁闷
图片上传错误急,在线等?
我用的是化境无组件上传类?在记录增加到数据库是<em>出现</em><em>错误</em>,请大家帮忙?急rn以下是代码 ?rnrnrnrn rn
配置错误 ???急,在线等!!!!
配置<em>错误</em> rn说明: 在处理向该请求提供服务所需的配置文件时出错。请检查下面的特定<em>错误</em>详细信息并适当地修改配置文件。 rnrn分析器<em>错误</em>信息: “CowboyShoe.BusinessFacade”不是有效文件。rnrn源<em>错误</em>: rnrnrn行 256: rn行 257: rn行 258: rn行 259: rn行 260:rn rnrn源文件: c:\winnt\microsoft.net\framework\v1.1.4322\Config\machine.config 行: 258 rnrn程序集加载跟踪: 下列信息有助于确定程序集“CowboyShoe.BusinessFacade”无法加载的原因。rnrnrn=== Pre-bind state information ===rnLOG: DisplayName = CowboyShoe.BusinessFacadern (Partial)rnLOG: Appbase = file:///D:/vhost/wwwroot/solo5/wwwrnLOG: Initial PrivatePath = binrnCalling assembly : (Unknown).rn===rnrnLOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).rnLOG: Post-policy reference: CowboyShoe.BusinessFacadernLOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/b35f84d8/380fbb55/CowboyShoe.BusinessFacade.DLL.rnLOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/b35f84d8/380fbb55/CowboyShoe.BusinessFacade/CowboyShoe.BusinessFacade.DLL.rnLOG: Attempting download of new URL file:///D:/vhost/wwwroot/solo5/www/bin/CowboyShoe.BusinessFacade.DLL.rnrn rnrnrn--------------------------------------------------------------------------------rn版本信息: Microsoft .NET Framework 版本:1.1.4322.2032; ASP.NET 版本:1.1.4322.2032rn
adostoredproc错误!急,在线等!
<em>错误</em>提示:'asp1: commandtext does not result set',我想在存储过程里返回一个整形参数,代码如下:rnvarrnrv:integer;rnrn asp1.Parameters.CreateParameter('@rv',ftinteger,pdoutput,1,0);rn asp1.Parameters.ParamByName('@rv').Value:=0;rn asp1.Prepared:=true;rn asp1.ExecProc;rn asp1.Active:=true;rn rv:=asp1.Parameters.ParamByName('@rv').Value;rn我看了数据库,存储过程已执行完,数据已存入。就是返回@RV时出错,请高手指点。
查询错误在线等,急!!
Do While Rs.Fields(0).Value <> Accountrn Rs.MoveNextrnlooprn报错:object requiredrn请高手帮忙~!rnrn那位大虾帮忙写一段登陆代码(dao)rnrn我是菜鸟,希望大家多帮我~!
在线急等 Ora-01114错误
操作环境是 操作系统windows 2003 64位,数据库系统 oracle10g 64位 RAC 配置是两台主机加一台存储rn软件开发语言 PB9rn在保存时有时会报 保存的明细数据失败,<em>错误</em>信息如下:rn ORA-01114:将块写入文件6时<em>出现</em>IO<em>错误</em>(块 #198423)rn ORA-29701:无法连接到簇管理器。rn大家遇到过没呢,怎么解决????
WinCvs 错误!急在线
我用系统用户登入成功了,但checkout Module...时<em>出现</em>如下<em>错误</em>什么原因啊!rncvs [server aborted]: Cannot access /cvss/CVSROOT: No such file or directory
struts 错误(急,在线等)
org.apache.jasper.JasperException: Must specify type attribute if name is specifiedrn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:248)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn
数据库连接错误,急,在线
一个数据库连接,在XP上没问题,在装了2002的机器上也没问题,但在干净的2000ServerSp4上总<em>出现</em>rn[Microsoft][ODBC Microsoft Access Driver]常见<em>错误</em> 不能打开注册表关键字 'Temporary (volatile) Jet DSN for process 0x718 Thread 0x7f0 DBC 0x2496024 Jet'<em>错误</em>rn数据库为Access2002做的,打开方式为rn connStr="Driver=microsoft access driver (*.mdb);DBQ="& GetDBPath() &";uid="&DB_USERNAME&";pwd="&DB_PASSWORD&";"rnm_Connection.open connStrrn<em>错误</em>号为-2147467259,如何解决这个问题
急! 在线等,一个错误
以下是一个基于TCP的网络应用程序,该程序是在WIN32 控制台上编写。服务器和客户端放在同一个工作区的2个工程里rn代码如下:rn服务器程序:rn#includern#includern#includernrnint main()rnrn WSADATA data;rn WORD version;rnrn if(WSAStartup(MAKEWORD(1,1),&data)!=0)rn rn printf("WSAStartup Error:%d",WSAGetLastError());rn WSACleanup();rn exit(-1);rn rnrn SOCKET ServiceListen;rn ServiceListen=socket(AF_INET,SOCK_STREAM,0);rn if(INVALID_SOCKET==ServiceListen)rn rn printf("socket Error:%d",WSAGetLastError());rn WSACleanup();rn exit(-1);rn rn rn SOCKADDR_IN ServiceAddr;rn ServiceAddr.sin_family=AF_INET;rn ServiceAddr.sin_port=htons(6000);rn ServiceAddr.sin_addr.S_un.S_addr=htonl(INADDR_ANY);rnrn if(SOCKET_ERROR==bind(ServiceListen,(struct sockaddr FAR *)&ServiceAddr,sizeof(ServiceAddr)))rn rn printf("bind Error:%d",WSAGetLastError());rn WSACleanup();rn exit(-1);rn rnrn listen(ServiceListen,5);rnrn SOCKADDR_IN FromAddr;rn int iLen=sizeof(FromAddr);rn char szInfo[100];rn rn SOCKET ServiceSendRecv;rn while(2)rn rn rn ServiceSendRecv=accept(ServiceListen,(struct sockaddr FAR *)&FromAddr,&iLen);rn if(ServiceSendRecv==INVALID_SOCKET)rn rn printf("accept Error:%d",WSAGetLastError());rn WSACleanup();rn exit(-1);rn rnrn sprintf(szInfo,"%s:%d","来自服务器的消息",FromAddr.sin_addr);rn send(ServiceSendRecv,szInfo,strlen(szInfo)+1,0);rn rn // memset(szInfo,'0',100);rn int iCount;rn char szInformation[100];rn iCount=recv(ServiceSendRecv,szInformation,100,0);rn if(iCount>1)rn rn szInfo[iCount]='\0';rn sprintf("客户端发送过来的消息:%s",szInformation);rn rn closesocket(ServiceSendRecv);rn rn rnrn return 1;rnrnrnrn客户端程序:rn#includern#includern#includernrnint main()rnrn WSADATA data;rn WORD version;rnrn if(WSAStartup(MAKEWORD(1,1),&data)!=0)rn rn printf("WSAStartup Error:%d",WSAGetLastError());rn WSACleanup();rn exit(-1);rn rnrn SOCKET ClientSocket;rn ClientSocket=socket(AF_INET,SOCK_STREAM,0);rn if(INVALID_SOCKET==ClientSocket)rn rn printf("socket Error:%d",WSAGetLastError());rn WSACleanup();rn exit(-1);rn rn rn SOCKADDR_IN ClientAddr;rn ClientAddr.sin_family=AF_INET;rn ClientAddr.sin_port=htons(6000);rn ClientAddr.sin_addr.S_un.S_addr=inet_addr("169.254.165.10");rnrn if(SOCKET_ERROR==connect(ClientSocket,(struct sockaddr FAR *)&ClientAddr,sizeof(ClientAddr)))rn rn printf("connect Error:%d",WSAGetLastError());rn WSACleanup();rn exit(-1);rn rnrn char szInfoClient[100];rn int iCount=recv(ClientSocket,szInfoClient,100,0);rn if(iCount>1)rn rn szInfoClient[iCount]='\0';rn printf("服务器发送的消息:%s\n",szInfoClient);rn rn rn PHOSTENT phe;rn phe=gethostbyname("PC-200807201643");rnrn SOCKADDR_IN TempAddr;rn memcpy(&TempAddr.sin_addr,phe->h_addr_list,phe->h_length);rn sprintf(szInfoClient,"来自客户端:%s 的消息",inet_ntoa(TempAddr.sin_addr));rn send(ClientSocket,szInfoClient,strlen(szInfoClient)+1,0);rnrn return -1;rnrnrn<em>运行时</em>,报红 X 提示为“......”内存引用“......”内存,该内存不能为“written”rnrn现在大致确定<em>错误</em><em>出现</em>在 服务器 的发消息部分,如下:rn int iCount;rn char szInformation[100];rn iCount=recv(ServiceSendRecv,szInformation,100,0);rn if(iCount>1)rn rn szInfo[iCount]='\0';rn sprintf("客户端发送过来的消息:%s",szInformation);rn rn closesocket(ServiceSendRecv);rn的iCount=recv(ServiceSendRecv,szInformation,100,0);语句,但找不出错在那里。请各位指教!!!
ibatis错误。急。在线等。
Bad SQL grammar [] in task 'SqlMapClient operation'; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException: rn--- The error occurred while applying a parameter map. rn--- Check the getNewsList-InlineParameterMap. rn--- Check the statement (query failed). rn--- Cause: java.sql.SQLException: ORA-00923: 未找到预期 FROM 关键字rnrnrnrn SELECT rn B.NEWSID,rn B.SUBJECT,rn B.CONTENTS,rn B.NEWSIMAGE,rn B.BROWSECNT,rn B.REFCNT,rn B.ARRANGEYN,rn B.TOPYN,rn B.USEYN,rn decode(B.NEWSTYPE,'1','行业新闻','2','企业动态','3','外包政策','') as NEWSTYPErn FROM (rn SELECTrn A.NEWSID,rn A.SUBJECT,rn A.CONTENTS,rn A.NEWSIMAGE,rn A.BROWSECNT,rn A.REFCNT,rn A.ARRANGEYN,rn A.TOPYN,rn A.USEYN,rn A.NEWSTYPErn ROWNUM RN FROM (rn selectrn t1.NEWS_ID as NEWSID,rn t1.SUBJECT as SUBJECT,rn t1.CONTENTS as CONTENTS,rn t1.NEWS_IMAGE as NEWSIMAGE,rn t1.BROWSE_CNT as BROWSECNT,rn t1.REF_CNT as REFCNT,rn t1.ARRANGE_YN as ARRANGEYN,rn t1.TOP_YN as TOPYN,rn t1.USE_YN as USEYN,rn t1.NEWS_TYPE as NEWSTYPErn from WAIBAO_NEWS t1rn where 1=1rn rn rn and t1.WEB_ID = #webId#rn rn rn rn and t1.TOP_YN = #topYn#rn rn rn and t1.ARRANGE_YN = #arrangeYn#rn rn rn and t1.USE_YN = #useYn#rn rn rn and t1.SUBJECT like '$subject$%'rn rn rn and t1.NEWS_TYPE = #newsType#rn rn rn rn and t1.INSERT_DATE BETWEEN #beginDate# AND #endDate#rn rn rn rn $orderValue$rn rn rn ) A WHERE ROWNUM < $endRow$rn ) B WHERE RN >= $startRow$rn rn
导入导出错误:急。。。在线等。。。。。。。。。
<em>错误</em>信息如下:rnrnimp-00016:不支持要求的字符集专转换(从类型852到850)rnimp-00021:操作系统<em>错误</em>-<em>错误</em>代码(十进制2,十六进制0X2)rnimp-0000:未成功导入rnrn现在查询:客户端的注册表字符集是ZHS16GBKrn 服务器的注册表是ZHS16GBKrn 而服务器数据库用sql查询出来的字符集是ZHS16CGB231280的rnrnrn
日历控件的错误 !急 在线
运行日历控件时提示如下<em>错误</em>:rnApplication terminated.rnError:Unresolvable external gs_skintopic when linking reference at line 12 in function wf_init_draw of object w_anc_xe.rn截图如下:rnrn[img=C:\Documents and Settings\Administrator\桌面\QQ截图未命名.bmp][/img]rnrn请高手帮忙看看怎样解决,谢谢了.
低级错误..在线急等
import java.util.*;rnclass MyKey rn private String name;rn private int age;rn public MyKey(String name,int age)rn rn this.name=name;rn this.age=age;rn rn public String toString()rn rn return new String (name+","+age);rn rn public boolean equals(Object obj)rn rn if(name.equals(obj.name) && age==obj.age)rn return true;rn elsern return false;rn rn public int hashCode()rn rn return name.hashCode()+age;rn rnrnrn<em>出现</em><em>错误</em>提示rnF:\javawork\HashTable>javac MyKey.javarnMyKey.java:32: cannot find symbolrnsymbol : variable namernlocation: class java.lang.Objectrn if(name.equals(obj.name) && age==obj.age)rn ^rnMyKey.java:32: cannot find symbolrnsymbol : variable agernlocation: class java.lang.Objectrn if(name.equals(obj.name) && age==obj.age)rn ^rn2 errors
在线急等:ORA00942错误
表或者视图不存在,使用plus/sql查讯的时候没有问题,可是在程序中报这个<em>错误</em>,已经在表前面加上了该表所属的用户名!
急~~一个错误在线等~~
public class peoplernrn protected char name;rn protected int age;rn people()rn rn System.out.println("the people consturconter is called");rn rn people(char x,int y)rn rn name=x;rn age=y;rn rnrnclass teacher extends peoplernrn String zhicheng;rn private float salary;rn teacher()rn rn System.out.println("teacher constructor is called");rn rn teacher(char x,float y,char name,int age)rn rn super(name,age);rn zhicheng=x;rn salary=y;rn rnrnclass student extends teacherrnrn private char grade;rn private float score;rn student()rnrnSystem.out.println("the student consturcoter is called");rnrnpublic static void main(String[] args)rnrn student s=new student();rn teacher t=new teacher("teacher",1000,"liusujie",21);rnrnrnrnrnrnrnrnrnpeople.java:26: incompatible typesrnfound : charrnrequired: java.lang.Stringrn zhicheng=x;rn ^rnpeople.java:41: cannot resolve symbolrnsymbol : constructor teacher (java.lang.String,int,java.lang.String,int)rnlocation: class teacherrn teacher t=new teacher("teacher",1000,"liusujie",21);rn ^rn2 errorsrnrnrnrn<em>出现</em>以上<em>错误</em>,是哪错了?
在线等,连接错误,急!
TheFPSMain.obj : error LNK2001: unresolved external symbol _IID_IDirectInput8ArnDebug/Collision.exe : fatal error LNK1120: 1 unresolved externalsrnrn本人参考一个directx的碰撞检测实例,在project-〉setting-〉link 中已添加了rndxguid.lib d3dx8dt.lib dmoguids.lib d3dxd.lib d3d8.lib winmm.lib d3dxof.lib ddraw.lib dinput8.lib dinput.lib ,装好了directx8.0,其他问题都解决了可就是这个不知道怎么回事,难道我添加的lib还不够?请问怎么办啊
错误 '80040e21' ! 在线急等!!
<em>错误</em>信息:rnMicrosoft OLE DB Provider for ODBC Drivers <em>错误</em> '80040e21' rnODBC 驱动程序不支持所需的属性。rn<em>错误</em>代码:rnrs.open "select * from prod where (title like '%" & key & "%' or bianhao='%" & key & "%' or fanwei like '%" & key & "%' or city like '%" & key & "%' or username like '%" & key & "%') order by user_id desc",conn,1,3rn求解决方法!!rnrn
急,急,运行时出现的问题??
<em>运行时</em>,[color=#FF0000]当我把鼠标移到按纽时,<em>出现</em>Microsoft JScript <em>运行时</em><em>错误</em>: 缺少对象[/color],什么原因啊??望指教~~rnrn rn
在线等!在线等!在线等!在线等!在线等!在线等!在线等!在线等!在线等!在线等!在线等!在线等!在线等!在线等!在线等!在线等!急!急!急!急!急!0
如果有这一样一张表:人员情况表rn字段:rn姓名 姓别 学历 是否在职rn要求统计出:高中(含)以下人员总数 高中以上本科(含)以下人员总数 本科以上人员总数 以及在职人员总数rnrnrnrn这怎么样查询呀?用一个SQL语句可以吗?查询结果怎么样创建到临时表并增加到临时表里面,又怎么样显示呢?
50003" 未预期错误">软件运行错误 "50003" 未预期错误
有哪位朋友遇到过这样的<em>错误</em>。rn软件在我机器上没有<em>错误</em>。在部分机器上<em>出现</em>这个<em>错误</em>。rn在网上找了很久关于,这个<em>错误</em>的 解决办法。可是没有。rn
出现运行时错误 怎么回事
我做了一个中文分词 然后要从文本文档中取得文本分词之后写入数据库建立索引rn但是运行之后到有的文件<em>出现</em>runtime class error 不知道为什么rn分词里的读取文本 和分词 还有写入数据库都测试过 单独都没事rn大家帮想想能是什么原因呢??
Eclipse运行时出现以下错误
2009-3-2 10:52:24 org.apache.catalina.core.AprLifecycleListener initrn信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.6.0_01\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Thunder Network\KanKan\Codecs;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin.;C:\Program Files\Java\jdk1.6.0_01\bin;%JAVA_HOME%\bin;%JAVA_HOME%\jre\lib;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;C:\Program Files\StormII\Codec;C:\Program Files\StormIIrnrnrn有时候在发布网页的时候,就<em>出现</em>这样的提示,然后Eclipse进入调试状态,因为jsp是初学,对于这类问题的解决方法还不是很多,请大家指点指点,:-)rn
错误" ?">为何老提示50003"不可预知的错误" ?
我有台电脑在win98下安装了VB开发的程序,启动时,老是提示<em>50003</em>"不可预知的<em>错误</em>",我升级补丁也不行。rn 后来format c:,再重新装过系统,再安装,还是不行。rn 而我其它的电脑则没有这个问题。rnrn 请大家指点迷津,谢谢!
代码在VFP9运行时出现错误
[code=sql]clearrnLocal lcstr,lcma,lns,lastr(50)rnlcstr="01 02 05 07 08 09 21 33 45 32 11 12 12 12 12 12 49 49 49 32 32 11 13 14 15 16 40 39 17 18 19 36 37 38 40 40 45 46 14 15 16 17 18 19 41 42 43 43 43 43"rnstore [] to lastrrnFor i=1 To 50rn lcma=Padl(i,2,'0')rn lns=Occurs(lcma,lcstr)rn lastr(lns+1) = lastr(lns+1) + lcma+' 'rnEndforrn?[统计结果:]rnFor i=1 To 10rn If !Empty(lastr(i))rn ?''+Padl(i-1,2)+'次: '+[(]+lastr(i)+[码)]+Chr(13)rn EndifrnEndforrnrn[/code]rn该段代码在多数人的VFP9中都能正常运行,运行到数组[color=#FF0000]lastr[/color]时,就提示<em>错误</em>信息:[color=#FF0000]文件lastr.PRG不存在[/color]。但在VFP6下运行正常,不知是何原因,请高手帮忙看下。以前运行正常。rnVFP9版本:SP2 9.0.0.7423 汉化版rn操作系统:WINXP service pack 3 版本:2002
NETBEANS 运行时出现部署错误
我建了一个JAVA Web Applicationrnrn创建都很成功,也连接上了Tomcat了,但是当我<em>运行时</em>,就会说找不到那个路径,并<em>出现</em>以下<em>错误</em>,后来我发现我的那个项目创建的文件夹也被删除了。不知是NetBeans的问题,还是其他的问题,望能找到答案rn rninit:rndeps-module-jar:rndeps-ear-jar:rndeps-jar:rnCreated dir: D:\TomCat\webapps\DemoJspApplication\build\web\WEB-INF\classesrnCreated dir: D:\TomCat\webapps\DemoJspApplication\build\web\META-INFrnCopying 1 file to D:\TomCat\webapps\DemoJspApplication\build\web\META-INFrnCopying 4 files to D:\TomCat\webapps\DemoJspApplication\build\webrnlibrary-inclusion-in-archive:rnlibrary-inclusion-in-manifest:rncompile:rncompile-jsps:rnCreated dir: D:\TomCat\webapps\DemoJspApplication\distrnBuilding jar: D:\TomCat\webapps\DemoJspApplication\dist\DemoJspApplication.warrn正在取消部署...rnundeploy?path=/DemoJspApplicationrn成功 - 取消部署在上下文路径/DemoJspApplication上的应用rn不支持就地部署rn部署<em>错误</em>:rn
编译无错,运行时出现错误
源程序:rnrn#includern#includern#includern#includern#define LIST_INIT_SIZE 100rn#define LISTINCREMENT 10rntypedef structrn int *elem;rn int length;rn int listsize;rnSqlist;rnrn//建立一个空的线性表 rnvoid InitList_Sq(Sqlist *L)rn L->elem=(int *)malloc(sizeof(int));rn if(!L->elem)exit(-1);rn L->length=0;rn L->listsize=LIST_INIT_SIZE;rnrnrn//线性表顺序映像的插入操作 rnvoid InsertList_Sq(Sqlist *L,int i,int e)rn int j;rn if(iL->length+1)rn rn printf("input error");rn exit(-2);rn rn if(L->length>=L->listsize)rn int *newbase=(int *)realloc(L->elem,(LIST_INIT_SIZE+LISTINCREMENT)*sizeof(int));rn if(!newbase)exit(-3);rn L->elem=newbase;rn L->listsize=L->listsize+LISTINCREMENT;rn rn for(j=L->length;j>=i;j--)rn L->elem[j]=L->elem[j-1];rn rn L->elem[i-1]=e;rn L->length++;rnrn//线性表的顺序映像删除操作rnvoid DeleteList_Sq(Sqlist *L,int i)rn int j;rn if(iL->length) rn printf("the position is wrong");rn exit(-4);rn rn for(j=i+1;jlength;j++)rn rn L->elem[j-2]=L->elem[j-1];rn rn L->length--;rnrnint main()rnrn int i,j,k,n;rn Sqlist L1;rn InitList_Sq(&L1);rn printf("input the total you want to input into the linear list:\n");rn scanf("%d",&i);rn rn for(k=1;k);rn rn rn return 0;rn rn rnrn
运行时有时出现的一个错误
---------- 运行 ----------rnjava.lang.NoClassDefFoundError: ReadBytesrnException in thread "main" rn输出完成 (耗时: 0 秒) - 正常终止rnrn为什么有时候运行一个程序就出问题!有时又正常!气死了。望各位大侠帮忙!!rnrnrn
错误...."">程序运行时出现"分析器错误...."
分析器<em>错误</em> rn说明: 在分析向此请求提供服务所需资源时出错。请检查下列特定分析<em>错误</em>详细信息并适当地修改源文件。 rnrn分析器<em>错误</em>信息: 未能加载类型“ns_login.class_login”。rnrn源<em>错误</em>: rnrn行 1: rn行 2: rn行 3: rn rn源文件: F:\web\rep_send\reptemp\login.aspx 行: 1 rnrnrn我程序在前天还能运行,今天一运行就变成这样了,网上也有各种各样的说法和解决方法,但对这种<em>错误</em>的产生有没有合理的解释和统一的解决方法啊?请求专家和高手!
winsock运行时出现“10013”错误
我在一台机上写了一段小程序,且编译成了rnexe,但在另一台机上<em>运行时</em>,<em>出现</em>10013号rn<em>错误</em>,提示说:“所需地址为广播地址,但rn标记未设置”,MSDN上也是这么作的呀,那rn位大哥帮我看看到底是什么原因!rn先谢谢了!!!rnrnPrivate Sub Form_Load()rn intMax = 0rn fuwuqi(0).LocalPort = 1009rn fuwuqi(0).ListenrnEnd Sub
网页运行时出现runtime错误
我的网页在iis上<em>运行时</em><em>出现</em>了runtime<em>错误</em>是什么意思呀,是服务器不支持.net还是怎么回题,请指教.
JMS配置问题,运行时出现错误
E:\bea\weblogic700\mytest>java -classpath %CLASSPATH%;E:\bea\weblogic700\mytest\rnCLIENT_CLASSES examples.jms.queue.QueueReceive 192.168.168.106rnException in thread "main" javax.naming.ConfigurationException. Root exceptionrnis java.net.MalformedURLException: no protocol: 192.168.168.106rn at weblogic.rjvm.ServerURL.parseURL(ServerURL.java:444)rn at weblogic.rjvm.ServerURL.(ServerURL.java:101)rn at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInirntialContextFactoryDelegate.java:323)rn at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInirntialContextFactoryDelegate.java:221)rn at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContrnextFactory.java:149)rn at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6rn65)rn at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246rn)rn at javax.naming.InitialContext.init(InitialContext.java:222)rn at javax.naming.InitialContext.(InitialContext.java:198)rn at examples.jms.queue.QueueReceive.getInitialContext(QueueReceive.java:1rn40)rn at examples.jms.queue.QueueReceive.main(QueueReceive.java:117)
运行时创建窗体出现错误!!
我有两个form,点击form1上的一个按钮就可以生成form2, rnForm2->Show();rn但是点击以后<em>出现</em>如下<em>错误</em>。rnProject project1.exe raised exception EMCIDeviceError with message'找不到制定的文件,请确认文件与路径名是否正确‘rnrn请问,这是为什么啊??
程序运行时突然出现错误
我做的一个服务器程序,用来接收通过GPRS上传的数据.数据是一个文件,大概有40K左右,所以要分帧传输.但是我在调试状态下接收数据时偶尔会<em>出现</em>一个<em>错误</em><em>错误</em>:EAccessviolation with Message "Access violation at address 004048BA in module 'server.exe'. Read of address 0000000E".......,这个<em>错误</em>很少<em>出现</em>,所以一直烦扰了我三天了还是找不到原因所在.求高人指点!
delphi7运行时出现奇怪的错误
大侠:rn我有一个程序最开始是在delphi5+win98做的,后来升级到delphi7+xp。rn不知为何,以前编译时好端端的,现在却<em>出现</em>莫明的<em>错误</em>。rn(我连的是oracle数据库。)rn如下:rnrnAccess violation at address 4D609878 in module 'SQLORA8.DLL'.rnRead of address 00000014.rn有什么解决方法吗?rn万分感谢!!!
这段代码运行时出现错误
我用的 access数据库 一运行 就提示 could not convert variant of type (NULL) into type (String) ,请问是怎么回事?rn adoquery1.Close;rn adoquery1.sql.Clear;rn adoquery1.sql.Add('select zt,kc,RQ from ceshi where cp="cnc" order by kc');rn adoquery1.open;rnrn with adoquery2 dorn beginrn close;rn sql.Clear;rn sql.Add('select xm,xb,nl from ceshi2 where kc=:kc and rq between :rq and :dqrq');rn Parameters.ParamByName('kc').Value:=adoquery1['kc'];rn Parameters.ParamByName('rq').Value:=adoquery1['RQ'];rn Parameters.ParamByName('dqrq').Value:=formatdatetime('',now);rn open;rnend;rnrn rn stringgrid1.cells[0,2]:=adoquery2['xm'];rn stringgrid1.cells[1,3]:=adoquery2['xb'];rn
linpack测试运行时出现 错误
[img=https://img-bbs.csdn.net/upload/201611/06/1478420557_211307.png][/img]rn是在虚拟机上做的这个测试,mpi用的是openmpi,好苦恼呀,求大神帮助!!!
运行时出现错误,缺少数组?
Private Function CheckData() As Booleanrn Dim rst As ADODB.Recordsetrn If (Trim(txtUserId.Text) = "") Thenrn MsgBox ("用户ID不能为空!")rn CheckData = Falsern Exit Functionrn ElseIf Len(Trim(txtUserId.Text)) <> 6 Thenrn MsgBox ("用户ID不是6位!")rn CheckData = Falsern Exit Functionrn ElseIf Len(Trim(txtName.Text)) <> 6 Thenrn MsgBox ("密码不能少与6位!")rn CheckData = Falsern Exit Functionrn ElseIf (Trim(Text3.Text) = "") Thenrn MsgBox ("个人认证码不能为空!")rn CheckData = Falsern Exit Functionrn End IfrnIf Not txtName.Text = txtname2.Text Thenrn MsgBox "两次密码输入不同!"rn End Ifrn SQL = " select id from s where id='" & Trim(txtUserId.Text) & "'"rn Set rst = SelectSQL(SQL, msg)rn If flag = "Add" And rst.RecordCount > 0 Thenrn MsgBox ("该用户已存在!")rn rst.Closern CheckData = Falsern Exit Functionrn End Ifrn CheckData = True: MsgBox "注册成功!"rnEnd Functionrnrnrnrnrnrnrn<em>错误</em>停留在SelectSQL,请问是什么问题呢?
运行时出现这样的错误 EDBEngineEroor!!
<em>错误</em>提示入下:rn Project u2mMember.exe raised exception class EDBEngineError with message 'General SQL error,[MYSQL][ODBC 3.53 Driver] Access denied for user 'ODBC'@'localhost'(using password:NO) Alias:UClient'.rnrn这是什么意思 是不是我mysql 的数据源没有设置正确 还是怎么了? 该怎样解决呢
eclipse运行时出现这个错误
org.eclipse.recommenders.utils.Logs$LogTraceException
Oracle9i使用透明网关连接sqlserver2005,出现错误在线急等!!
透明网关在本机 oracle 在192.0.0.7 数据库名upms 账号apms 密码apmsrnsql server2005在192.0.0.13 数据库名apms 账号apms 密码apms123rn在命令行下tnsping sp <em>出现</em>TNS-03505<em>错误</em> 未能分解名称rn在tg4msql/admin 目录下 我已新建initsongkai.ora rn[color=#FF0000]HS_FDS_CONNECT_INFO="SERVER=192.0.0.13;DATABASE=apms"rnHS_FDS_TRACE_LEVEL=OFFrnHS_FDS_RECOVERY_ACCOUNT=RECOVERrnHS_FDS_RECOVERY_PWD=RECOVER[/color]rnrn在network/admin目录下 listener.orarn[color=#FF0000]LISTENER =rn (DESCRIPTION_LIST =rn (DESCRIPTION =rn (ADDRESS_LIST =rn (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))rn )rn (ADDRESS_LIST =rn (ADDRESS = (PROTOCOL = TCP)(HOST = song_kai)(PORT = 1521))rn )rn )rn )rnrnSID_LIST_LISTENER =rn (SID_LIST =rn (SID_DESC =rn (PROGRAM = PLSExtProc)rn (ORACLE_HOME = F:\oracle\ora92)rn (SID_NAME = extproc)rn )rn (SID_DESC =rn (SID_NAME = songkai)rn (ORACLE_HOME = F:\oracle\ora92)rn (PROGRAM = tg4msql)rn )rn )[/color]rn在tnsnames.ora里rn[color=#FF0000]EXTPROC_CONNECTION_DATA.GW.COM =rn (DESCRIPTION =rn (ADDRESS_LIST =rn (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))rn )rn (CONNECT_DATA =rn (SID = PLSExtProc)rn (PRESENTATION = RO)rn )rn )rnrnUPMS.GW.COM =rn (DESCRIPTION =rn (ADDRESS_LIST =rn (ADDRESS = (PROTOCOL = TCP)(HOST = 192.0.0.7)(PORT = 1521))rn )rn (CONNECT_DATA =rn (SERVICE_NAME =upms)rn )rn )rnrnSONGKAI_127.0.0.1 =rn (DESCRIPTION =rn (ADDRESS_LIST =rn (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))rn )rn (CONNECT_DATA =rn (SID = songkai)rn (SERVER = DEDICATED)rn )rn )rnsp =rn (DESCRIPTION =rn (ADDRESS_LIST =rn (ADDRESS = (PROTOCOL = TCP)(HOST = 192.0.0.7)(PORT = 1521))rn )rn (CONNECT_DATA =rn (SID = songkai)rn )rn (HS=ok)rn )[/color]rnrn在sqlnet.ora文件里rn[color=#FF0000]NAMES.DEFAULT_DOMAIN=GW.comrnrnrnSQLNET.AUTHENTICATION_SERVICES= (NTS)rnrnNAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)[/color]rnrn请问我哪里写错了 。。。 <em>在线</em>急等
eclipse启动时,出现javaw.exe错误(急问,在线等)
启动eclipse时,系统弹出“javaw.exe遇到问题需要关闭”的<em>错误</em>提示,eclipse的提示<em>错误</em>为:rnjvm terminated exitcode=-1073741819rnrn环境:rn新装的WinXP,除了JDK和eclipse没有再装其它程序rneclipse版本:3.0rnJDK版本:1.4.2_08rnrn搞了半天了,没有找到根源,环境变量JAVA_HOME和path中也配置过了。rn怪现象之一:新装系统之后,安装JDK后,eclipse能正常运行,紧接安装togetherEC时提示需要的JDK路径,选择的是JAVA_HOME中的jdk,安装时就弹出“javaw.exe遇到问题需要关闭”的<em>错误</em>提示,安装togetherEC不成功。再次启动eclipse,就无法正常运行,总是<em>出现</em>“javaw.exe遇到问题需要关闭”的<em>错误</em>提示。rn怪现象之二:每次重起系统之后,启动eclipse能正常运行,但是更换workspace或关闭eclipse重新打开,会<em>出现</em>“javaw.exe遇到问题需要关闭”的<em>错误</em>提示。rnrn!!!很郁闷,请那位高手指点迷津,谢谢!rn
用SQLDMO数据库备份时出现错误 急 在线
我用SQLDMO备份数据时出错rn提示如下rn[Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server 不存在或访问被拒绝rn[Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Connect()). rnrn请高手指点
急,在线等!!!!!安装VMare workstation出现错误
各位大侠,我在安装VMware Workstation 的时候,在选择了安装语言之后<em>出现</em>了以下这个warning,要选择哪个选项啊-rn(1)Ignore rn(2)Ignore all rn(3)Re-initialize rn(4)Re-initialize allrnrn------------------------------------------Warning--------------------------------rnPCI-0000:00:10.0-SCSI-0:0:l:0rn5120MBrnVMWARE,VMWARE VIRTUAL SrnThis device may need to be reinitializedrnrnREINITIALIZING WILL CAUSE ALL DATA TO BE LOST!rnrnThis action may also be applied to all other disks needing reinitializationrnrnDevice details:rnPCI-0000:00:10.0-SCSI-0:0:l:0rnrn[color=#FF0000]Ignore Ignore all Re-initialize Re-initialize all[/color] [color=#0000FF]--(四个按钮)rn[/color]
【急问】存储过程返回值出现错误--在线
---存储过程内容见后,数据库是sql server2000rnrn我在bcb中,用一个TADOStoredProc来调用它,参数传递都是正确的rn在查询分析器中执行也没有<em>错误</em>,但是在bcb中,rn用如下语句对返回值进行判断,就会报错,rnint rj=dm_mt->spc_Input->Parameters->ParamByName("@RETURN_VALUE")->Value;rnint rt=dm_mt->spc_Output->Parameters->ParamByName("@over")->Value;rn都会报出如下的<em>错误</em>:,但是存储过程是执行完成的rn---------------------------rnDebugger Exception Notificationrn---------------------------rnProject MtStoreM.exe raised exception class EVariantTypeCastError with message 'Could not convert variant of type (Null) into type (Integer)'. Process stopped. Use Step or Run to continue.rn------------------rnCREATE PROCEDURE mp_tg_RunOut rn @Bm char(8),rn @Type char(1),rn @RecType tinyint,rn @Qx tinyint,rn @Day datetime,rn @JhDj decimal(10,4),rn @Count decimal(10,4),rn @Price decimal(10,2),rn @ToCount decimal(14,5),rn @ToPrice decimal(10,2),rn @Pid char(9),rn @Qid tinyint,rn @Project varchar(50),rn @LlDw char(2),rn @LlMan char(8),rn @BgMan char(8),rn @ZdMan char(8),rn @Llmemo varchar(50),rn @RecDate datetime= null,rn @over int output --if over=1,底储值报警,输入值为 0,rnASrndeclare rn @in_er tinyint,rn @st_er tinyint,rn @low decimal(14,5)rnselect @RecDate =getdate()rnbegin tran rnrnrninsert into [tg_wz_RunOut] values(@Bm,@Type,@RecType,@Qx,@Day,@JhDj,@Count,@Price,rn @ToCount,@ToPrice,@Pid,@Qid,@Project,@LlDw,@LlMan,@BgMan,@ZdMan,@Llmemo,rn @RecDate)rn select @in_er = @@errorrnrn--修改库存rnrnrnif @Type='c'rnbeginrn select @low=wzDc from tg_wz_clbm where wzbm= @Bmrn update tg_wz_clbm set wzDqcount=@ToCount,wzDqPrice=@ToPrice where wzbm =@Bmrn set @st_er =@@errorrnendrnelse if @Type='b'rnbeginrn select @low=BpDc from tg_wz_BpBjBm where Bpbm= @Bmrn update tg_wz_BpBjBm set Bpcount=@ToCount,BpPrice=@ToPrice where Bpbm =@Bm rn set @st_er =@@errorrnendrnrnif @low is nullrnbeginrnset @over=2rnendrnelse if @ToCountrn commit tran rn return 1rnendrnelsernbeginrn rollback tranrn return -1rnendrnGOrn
发邮件带附件时出现以下错误!!!!急在线等!!
Microsoft VBScript 编译器<em>错误</em> <em>错误</em> '800a03f6' rnrn缺少 'End' rnrn/iisHelp/common/500-100.asp,行242 rnrnMicrosoft VBScript 编译器<em>错误</em> <em>错误</em> '800a03f8' rnrn缺少 'Sub' rnrn/11chat/email/post.asp,行43 rnrnExit Functionrn-----^rn------------------------------------------------------------------rn原代码:rn1024*1024*2 thenrn %>rn rn rn rn
请问为什么会出现这样的错误在线急等)
我在做论坛的时候用到了ubb代码,在本地测试没问题rn可是传上去之后<em>出现</em>下面的<em>错误</em>:rnrnMicrosoft VBScript <em>运行时</em><em>错误</em> <em>错误</em> '800a000d' rnrn类型不匹配: 'ubbcode' rnrn请问是不是服务器少点什么东西呢?该怎么解决呢?rn
急!在线等!出现'ASP 0251 : 80004005'错误
我把程序上传到外网上,在将记录集保存成excel文件时,如果记录数太多,会<em>出现</em><em>出现</em>'ASP 0251 : 80004005'<em>错误</em>,提示“超过响应缓冲区限制”。rn但是如果是在本地测试,记录数翻番也不会出错,这是为什么啊?rn这是我保存excel文件的开头部分rnrnrn
连接mysql时出现错误,在线等!!急急急!!
报的<em>错误</em>如下:它们是红色显示的,从来没遇过这个问题,哪位高手能赐教啊!!rnMon Aug 20 14:55:30 CST 2007 TRACE: NonRegisteringDriver.java:259 com.mysql.jdbc.NonRegisteringDriver.connect("jdbc:mysql://localhost:3306/mydatasource?characterEncoding=8859_1", user=root, password=admin)rnMon Aug 20 14:55:30 CST 2007 TRACE: NonRegisteringDriver.java:436 com.mysql.jdbc.NonRegisteringDriver.parseURL("jdbc:mysql://localhost:3306/mydatasource?characterEncoding=8859_1", user=root, password=admin)rnMon Aug 20 14:55:30 CST 2007 TRACE: StringUtils.java:1110 com.mysql.jdbc.StringUtils.startsWithIgnoreCase("jdbc:mysql://localhost:3306/mydatasource?characterEncoding=8859_1", "jdbc:mysql://")rnMon Aug 20 14:55:30 CST 2007 TRACE: StringUtils.java:1094 com.mysql.jdbc.StringUtils.startsWithIgnoreCase("jdbc:mysql://localhost:3306/mydatasource?characterEncoding=8859_1", 0, "jdbc:mysql://")rnMon Aug 20 14:55:30 CST 2007 TRACE: StringUtils.java:834 com.mysql.jdbc.StringUtils.indexOfIgnoreCase(0, "characterEncoding=8859_1", "=")rnMon Aug 20 14:55:30 CST 2007 TRACE: NonRegisteringDriver.java:402 com.mysql.jdbc.NonRegisteringDriver.host(HOST=localhost:3306, user=root, password=admin, characterEncoding=8859_1, DBNAME=mydatasource)rnMon Aug 20 14:55:31 CST 2007 TRACE: NonRegisteringDriver.java:626 com.mysql.jdbc.NonRegisteringDriver.port(HOST=localhost:3306, user=root, password=admin, characterEncoding=8859_1, DBNAME=mydatasource)rnMon Aug 20 14:55:31 CST 2007 TRACE: NonRegisteringDriver.java:292 com.mysql.jdbc.NonRegisteringDriver.database(HOST=localhost:3306, user=root, password=admin, characterEncoding=8859_1, DBNAME=mydatasource)rnMon Aug 20 14:55:31 CST 2007 TRACE: rnrnrn.....
请问各位出现这个错误是什么原因?在线急等
程序在测试平台上都通过了,但是不知道为什么发布到正式库上就<em>出现</em>了下面的<em>错误</em>,请各位大侠帮忙分析一下原因。谢谢!!rnError 404--Not Found rnFrom RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:rn10.4.5 404 Not FoundrnThe server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.rnrnIf the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.rn rn
在对话框中使用快捷键出现断言错误,急,在线
//快捷键处理函数rnBOOL CTestfastDlg::PreTranslateMessage(MSG* pMsg) rnrn if(pMsg->message==WM_KEYUP)rn rn if(pMsg->wParam==VK_F3)rn rn OnButton1(); rn rn rn return CDialog::PreTranslateMessage(pMsg);rnrnrnvoid CTestfastDlg::OnButton1() rnrn tyty dlg;rn dlg.DoModal();rnrnrn在按下F3键弹出对话框后按ESC键关闭对话框,在WinCore.cpp文件的void CWnd::AssertValid() constrn中ASSERT(::IsWindow(m_hWnd));<em>出现</em><em>错误</em>,请问该如何解决
急,使用DataGrid分页时出现错误...在线等...
rnrnrn rnrnrn-------------------略-----------------------------rn查询条件输入的文本框、下拉菜单等控件...提交查询按钮rnDataGrid 控件rn-------------------略-----------------------------rnrnrn==================================================rn运行后DataGrid显示查询结果,‘第一页’时正常,点击链接进入‘下一页’时<em>错误</em>:rnExecuteReader:CommandText 属性尚未初始化 rn说明: 执行当前 Web 请求期间,<em>出现</em>未处理的异常。请检查堆栈跟踪信息,以了解有关该<em>错误</em>以及代码中导致<em>错误</em>的出处的详细信息。 rnrn异常详细信息: System.InvalidOperationException: ExecuteReader:CommandText 属性尚未初始化rnrn源<em>错误</em>: rnrnrn行 53: System.Data.SqlClient.SqlDataAdapter sqlDataAdaper=new System.Data.SqlClient.SqlDataAdapter(mycx,conn);rn行 54: System.Data.DataSet dset=new DataSet();rn行 55: sqlDataAdaper.Fill(dset,"sc");rn行 56: rn行 57: conn.Close();rn rnrn源文件: F:\sanfei\fshaocheng.aspx 行: 55 rnrn堆栈跟踪: rnrnrn[InvalidOperationException: ExecuteReader:CommandText 属性尚未初始化]rn System.Data.SqlClient.SqlCommand.ValidateCommand(String method, Boolean executing) +333rn System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) +103rn System.Data.SqlClient.SqlCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +9rn System.Data.Common.DbDataAdapter.Fill(Object data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +121rn System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +77rn System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +36rn ASP.fshaocheng_aspx.getDataSource(String mycx) in F:\sanfei\fshaocheng.aspx:55rn ASP.fshaocheng_aspx.bind(String mycx) in F:\sanfei\fshaocheng.aspx:42rn ASP.fshaocheng_aspx.DataGrid1_PageIndexChanged(Object sender, DataGridPageChangedEventArgs e) in F:\sanfei\fshaocheng.aspx:37rn System.Web.UI.WebControls.DataGrid.OnPageIndexChanged(DataGridPageChangedEventArgs e) +110rn System.Web.UI.WebControls.DataGrid.OnBubbleEvent(Object source, EventArgs e) +349rn System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +26rn System.Web.UI.WebControls.DataGridItem.OnBubbleEvent(Object source, EventArgs e) +100rn System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +26rn System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) +120rn System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +115rn System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18rn System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +138rn System.Web.UI.Page.ProcessRequestMain() +1263rnrn rn
在线急等,SVN commit时出现错误175002 E403
svn可以update,可以revert,也可以check out但是commit时就<em>出现</em><em>错误</em>175002rn如下图所示rnrnDescription : You are not authorized to access the files in the repository.rn Suggestion : You might be required to provide a user name and password when prompted before being allowed to access the repository.rn rnTechnical Informationrn=====================rnrn Error : V4AuthorizationErrorrn Exception : ZSVNAuthorizationExceptionrnrnCausal Informationrn==================rnrnDescription : Commit failed (details follow):rn Status : 175002rn File : subversion/libsvn_client/commit.c, 867rnrnDescription : Server sent unexpected return value (403 Forbidden) in response to CHECKOUT request for '/svn/mibaby/!svn/ver/6538/trunk/code/ios/official/MiBaby2015/Engines/ShareSDK'rn Status : 175002rn File : subversion/libsvn_ra_neon/util.c, 563rnrn
(急,在线等)在linux下Oracle9i导出数据库出现942错误
提示数据表和视图找不到,未启动EXPOUT VIEW,怎么解决,用命令行完成和按提示单步做都是这种<em>错误</em>rn
出现如下的错误:n must be positive,急!!!在线等!!!
部分代码如下:rn Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance(); rn String url="jdbc:odbc:NetTest";//NetTest为你数据源的名字rn String user="sa"; rn String password=""; rn Connection con= DriverManager.getConnection(url,user,password); rn Statement stmt=con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);rn String id=(String)session.getAttribute("userid");rn int ID=Integer.parseInt(id);rn session.setAttribute("ID",id);rnrnrnrn rn rn .rn rn rn 请选择: rn rn rn rnrn<em>错误</em>提示如下:rnHTTP Status 500 - rnrn--------------------------------------------------------------------------------rnrntype Exception reportrnrnmessage rnrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnorg.apache.jasper.JasperException: n must be positivern org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)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:802)rnrnrnroot cause rnrnjava.lang.IllegalArgumentException: n must be positivern java.util.Random.nextInt(Random.java:251)rn org.apache.jsp.exam_jsp._jspService(exam_jsp.java:210)rn org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:802)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:802)rnrnrnnote The full stack trace of the root cause is available in the Apache Tomcat/5.0.27 logs.rnrnrn--------------------------------------------------------------------------------rnrnApache Tomcat/5.0.27rnrn
XML转化为bean出现错误,急,在线
我的xml文件以下rn 0 0 0 255 3 4 meetingId 1 2 1 type rn采用的转化类是XMLDecoder,转化方法rnXMLDecoder decoder = new XMLDecoder(new BufferedInputStream(is));rn Object bean = decoder.readObject();rn<em>出现</em>org.xml.sax.SAXParseException: The root element is required in a well-formed document.rnContinuing ...rnHit uncaught exception java.util.NoSuchElementException<em>错误</em>。rn请高手指教,<em>在线</em>等。。rn
在线等,初学水晶报表编译出现错误,急
rn编译器<em>错误</em>信息: BC30389: “C”是“Private”,因此它在此上下文中无法访问。rnrn源<em>错误</em>:rnrn行 12: rn行 13: rn行 14: rn行 15: rn行 16: rn rnrn源文件: c:\inetpub\wwwroot\WebApplication1\WebForm3.aspx 行: 14 出错rnrnrnMicrosoft (R) Visual Basic .NET 编译器版本 7.10.6001.4rn用于 Microsoft (R) .NET Framework 版本 1.1.4322.2032rn版权所有 (C) Microsoft Corporation 1987-2000。保留所有权利。rnrnc:\inetpub\wwwroot\WebApplication1\WebForm3.aspx(14) : error BC30389: “C”是“Private”,因此它在此上下文中无法访问。rnrn target.ReportSource = CType(c:\\Program Files\\Microsoft Visual Studio .NET rn ~ rn2003\\Crystal Reports\\Samples\\Reports\\General Business\\World Sales Report.rpt,Object)rn rnc:\inetpub\wwwroot\WebApplication1\WebForm3.aspx(14) : error BC30196: 需要逗号。rn ~ rn target.ReportSource = CType(c:\\Program Files\\Microsoft Visual Studio .NET 2003\\Crystal Reports\\Samples\\Reports\\General Business\\World Sales Report.rpt,Object)rn rnc:\inetpub\wwwroot\WebApplication1\WebForm3.aspx(14) : error BC30035: 语法<em>错误</em>。rn ~ ~ rn target.ReportSource = CType(c:\\Program Files\\Microsoft Visual Studio .NET 2003\\Crystal Reports\\Samples\\Reports\\General Business\\World Sales Report.rpt,Object)rn 只是调出水晶报表,编译是<em>出现</em> “C”是“Private”,因此它在此上下文中无法访的<em>错误</em>问。 rnrn rnrnrn
使用samples标签页的shell组件出现错误!!在线等!!!急
<em>错误</em>提示:rnrnUnit 'shellctrls' is specific to a platformrnrn请给与帮助,送50分
[在线急等]安装Oracal出现java.exe错误,如何解决?
安装Oracal<em>出现</em>java.exe<em>错误</em>,如何解决?<em>出现</em>好几个对话框,提示<em>错误</em>,重复安装无数次了,明天要急用机子呢,<em>在线</em>等待高手帮忙如何解决,不胜感激...
excel 导入sql数据出现 权限错误在线等,急!)
我在本地测试是正确的,可是放到服务器上后<em>出现</em>了<em>错误</em>,<em>错误</em>如下:rnMicrosoft JET Database Engine <em>错误</em> '80004005' rnrn'C:\Documents and Settings\Administrator\桌面\文件名\guhua.xls'不是一个有效的路径。 确定路径名称拼写是否正确,以及是否连接到文件存放的服务器。 rnrn导入界面rnrn代码如下;rn rn rnrn rn 宽带续费导入rn rn rn 新装年月:rn rnrn rn rn rn请选择要导入的Excel: rn rn rn rn rnrnrnrnbroad_add_excel.asp 代码rnrn 'Excel连接驱动rn aaa="provider=Microsoft.Jet.OLEDB.4.0; Data Source="&aa&";Extended Properties=Excel 8.0"rn rnrn set StrConnect=CreateObject("ADODB.Connection")rnStrConnect.Open aaarnrnrn Set objConn=CreateObject("ADODB.Connection")rn rn objConn.Open StrConnect rn rn '注意 表名一定要以下边这种格试 "[表名$]" 书写 rn Set rs = Server.CreateObject("ADODB.Recordset") rn Sql="select * from [sheet1$] " rn rs.Open Sql,StrConnect,2,2 rn cc=rs.recordcount rn IF not rs.Eof then
win7安装VS2010出现错误 在线等!!急!!
我的是win7的旗舰版(正版)rn在安装VS2010时 安装到TFS Object Model(x86)时<em>出现</em><em>错误</em>!!!rnrn请有经验的大虾指点一下 很急 <em>在线</em>等。。。。
运行时Automation错误 在线等待
我在2000下做的安装包,拿到另外一台2000的机器上,安装后,从程序里居然找不到rnEXE文件,我浏览后才可以,但是一运行就错,<em>错误</em>如下:rn运行<em>错误</em>'-2147024770 (8007007e)':rnAutomation <em>错误</em>rn请高手指点
asp + sql 出现错误!!(在线等)
<em>错误</em>类型:rnMicrosoft VBScript 编译器<em>错误</em> (0x800A0400)rn缺少语句rn/CFPA/Home_Page/index.asp, line 508
sturts上传下载出现错误在线等~~~~
我用struts jspsmart实现上传下载,功能能实现,但在下载的时候tomcat服务器提示<em>错误</em>,<em>错误</em>信息: rnrnorg.hibernate.TransactionException: Transaction not successfully started rnat org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:100) rnat com.news.dao.FileDAO.setHitsIncrement(FileDAO.java:88) rnat com.news.filter.Down.doPost(Down.java:52) rnat com.news.filter.Down.doGet(Down.java:61) rnat javax.servlet.http.HttpServlet.service(HttpServlet.java:689) rnat javax.servlet.http.HttpServlet.service(HttpServlet.java:802) rnat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) rn说是Transaction not successfully started rn,这是怎么回事?哪里出了问题? rnrnrndown 的代码:rnrn public void doPost(HttpServletRequest request, HttpServletResponse response)rn throws ServletException, IOExceptionrn rn String id = request.getParameter("id");rn int i = Integer.parseInt(id);rn File file = FileDAO.getFileInfo(i);rn String dir = request.getRealPath("/admin/upload");rn String files = file.getFiletype();rn SmartUpload down = new SmartUpload();rn tryrn rn down.initialize(config, request, response);rn down.setContentDisposition(null);rn String more = (new StringBuilder(String.valueOf(dir))).append("/").append(file.getFilepath()).append("/").append(file.getFilename()).toString();rn down.downloadFile(more, file.getFiletype(), file.getFilename(), 1024);rn FileDAO.setHitsIncrement(file);rn rn catch(Exception exception) rn
发Email出现错误!!!(在线等)
rn注册rnrn检验没问题后rnrn录入数据库;rntryrnSM.AdminEmail="000@000.net.cn";rn SM.UserName="000@000.net.cn";rnSM.Password="000000"; SM.SmtpServer="22.16.120.103";rnSM.EMailFormat="Html";rnstring mailContent=RealName.Text+"你好\r\n你的帐号 :"+UserName.Text+"\r\n你的密码:"+tem.ToString()+"\r\n \r\n\r\n恭喜你成为超 SM.Send(Email.Text.ToString().Trim().Replace(" ",""),"lsb@lsb.net.cn","注册超脑力会员成功!",mailContent);rnResponse.Write(" ");rnResponse.End();rnrnrncatchrn结果很多时候EMAIL收不到信rn------------------------------rnpublic class SystemMailrnrn rnrn private string _adminEmail;rnrn private string _smtpServer = "localhost";rnrn private string _password;rnrn private string _userName;rnrn private string _mailFormat;rnrnrn public SystemMail()rnrn rnrn rnrn public string AdminEmailrnrn rnrn getreturn _adminEmail;rnrn set_adminEmail = value;rnrn rnrn public string SmtpServerrnrn rnrn getreturn _smtpServer;rnrn set_smtpServer = value;rnrn rnrn public string Passwordrnrn rnrn getreturn _password;rnrn set_password = value;rnrn rnrn public string UserNamernrn rnrn getreturn _userName;rnrn set_userName = value;rnrn rnrn public string EMailFormatrnrn rnrn getreturn _mailFormat;rnrn set_mailFormat = value;rnrn rnrn public bool Send(string to, string from, string subject, string message)rnrn rnrn tryrnrn rnrn MailMessage em = new MailMessage();rnrn em.To = to;rnrn em.From = from;rnrn em.Subject = subject;rnrn em.Body = message;rnrn if (this.EMailFormat=="Html")rn rn em.BodyFormat=MailFormat.Html;rn rnrnrnrn //Found out how to send authenticated email via System.Web.Mail at http://SystemWebMail.com (fact 3.8)rnrn if(this.UserName != null && this.Password != null)rnrn rnrn em.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1"); //basic authenticationrnrn em.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", this.UserName); //set your username herernrn em.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", this.Password); //set your password herernrn rnrn SmtpMail.SmtpServer = this.SmtpServer;rnrn SmtpMail.Send(em);rnrn return true;rnrn rnrn catchrnrn rn return false;rnrn rn rn
DataGrid分页时出现错误在线等....
练习用DataGrid的内置分页功能,数据源是DataReaderrnrn<em>错误</em>描述如下:rn========================================rn异常详细信息: System.Web.HttpException: 类型“DataGridLinkButton”的控件“indexList__ctl7__ctl1”必须放在具有 runat=server 的窗体标记内。rn========================================rnrn代码如下:rn========================================rnrnrnrnrn rnrnrnrn rn rn netWild ASP.net讨论板rn rnrnrn rn rn rn rn rn rn rnrnrn========================================rnrn<em>在线</em>等待答复!解决就给分rnrnrn
调用自己的dll出现错误在线
//---------------------------------------------------------------------------rnrn#include rn#include rn//#include rn#pragma hdrstoprnrnrn//---------------------------------------------------------------------------rn// Important note about DLL memory management when your DLL uses thern// static version of the RunTime Library:rn//rn// If your DLL exports any functions that pass String objects (or structs/rn// classes containing nested Strings) as parameter or function results,rn// you will need to add the library MEMMGR.LIB to both the DLL project andrn// any other projects that use the DLL. You will also need to use MEMMGR.LIBrn// if any other projects which use the DLL will be performing new or deletern// operations on any non-TObject-derived classes which are exported from thern// DLL. Adding MEMMGR.LIB to your project will change the DLL and its callingrn// EXE's to use the BORLNDMM.DLL as their memory manager. In these cases,rn// the file BORLNDMM.DLL should be deployed along with your DLL.rn//rn// To avoid using BORLNDMM.DLL, pass string information using "char *" orrn// ShortString parameters.rn//rn// If your DLL uses the dynamic version of the RTL, you do not need torn// explicitly add MEMMGR.LIB as this will be done implicitly for yourn//---------------------------------------------------------------------------rnrn#pragma argsusedrnrn int TxComIndex;rn int TxBaudIndex;rn int TxParity;rn int TxStopbit;rn int RxComIndex;rn int RxBaudIndex;rn int RxParity;rn int RxStopbit;rn int TxDelay;rn HANDLE hTxCom;rn HANDLE hRxCom;rn char ComString[][6] = "COM1","COM2","COM3","COM4","COM5","COM6","COM7","COM8";rn char BaudString[][6] = "1200", "2400", "4800", "9600", "19200","38400","57600","115200";rnextern "C" __declspec(dllimport) int __cdecl OpenPort(char port);rnextern "C" __declspec(dllimport) int __cdecl ClosePort(char port);rnextern "C" __declspec(dllimport) int __cdecl StartupLaser(char port);rnextern "C" __declspec(dllimport) int __cdecl StopLaser(char port);rnextern "C" __declspec(dllimport) int __cdecl SetupCurrent(char port,char *current);rnextern "C" __declspec(dllimport) int __cdecl ReadState(char port,char state);rnextern "C" __declspec(dllimport) int __cdecl ReadCurrent(char port,char *current);rnrn//---------------------------------------------------------------------------rnrnBOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fwdreason, LPVOID lpvReserved)rnrnrnrn return 1;rnrn//---------------------------------------------------------------------------rnrnint OpenPort(char port)rnrnrn// if(Form2->ShowModal()==mrOk)rn rn COMMTIMEOUTS timeouts = 0,10,50,0,0;rn RxComIndex = TxComIndex = port-1;rn RxBaudIndex = TxBaudIndex = 3;rn RxParity = TxParity = 0; //parityrn RxStopbit = TxStopbit = 0; //stop bitrn if(hTxCom) CloseHandle(hTxCom);rn if(hRxCom && hTxCom!=hRxCom) CloseHandle(hRxCom);rn hTxCom = hRxCom = 0;rnrn DCB dcb;rn hTxCom = CreateFile(ComString[TxComIndex],rn GENERIC_READ | GENERIC_WRITE,rn 0,rn NULL,rn OPEN_EXISTING,rn 0,rn NULL);rn if(hTxCom == INVALID_HANDLE_VALUE)rn rn goto done;rn rn GetCommState(hTxCom, &dcb);rnrn dcb.BaudRate = String(BaudString[TxBaudIndex]).ToInt();rn dcb.ByteSize = 8;rn dcb.Parity = (char)TxParity;rn dcb.StopBits = (char)TxStopbit;rnrn SetCommState(hTxCom, &dcb);rn SetupComm(hTxCom, 512,512);rn SetCommTimeouts(hTxCom, &timeouts);rnrn PurgeComm(hTxCom, PURGE_RXCLEAR|PURGE_TXCLEAR);rnrn if(RxComIndex == TxComIndex)rn rn hRxCom = hTxCom;rn goto done;rn rn elsern rn hRxCom = CreateFile(ComString[RxComIndex],rn GENERIC_READ | GENERIC_WRITE,rn 0,rn NULL,rn OPEN_EXISTING,rn 0,rn NULL);rn if(hTxCom == INVALID_HANDLE_VALUE)rn rn goto done;rn rnrn GetCommState(hTxCom, &dcb);rnrn dcb.BaudRate = String(BaudString[RxBaudIndex]).ToInt();rn dcb.ByteSize = 8;rn dcb.Parity = (char)RxParity;rn dcb.StopBits = (char)RxStopbit;rnrn SetCommState(hRxCom, &dcb);rn SetupComm(hRxCom, 512,512);rn SetCommTimeouts(hRxCom, &timeouts);rnrn PurgeComm(hRxCom, PURGE_RXCLEAR|PURGE_TXCLEAR);rn rndone:rn if(hTxCom == INVALID_HANDLE_VALUE || hRxCom == INVALID_HANDLE_VALUE)rn rn hTxCom = hRxCom = 0;rn// Button2->Enabled = false;rn// Timer1->Enabled = false;rn// ShowMessage("串行口设置<em>错误</em>");rn return -1;rn rn elsern rn return 0;rn// Button2->Enabled = true;rn// Timer1->Enabled = true;rn rn rnrn//---------------------------------------------------------------------------rnrnint ClosePort(char port)rnrn if(hTxCom) CloseHandle(hTxCom);rn if(hRxCom && hRxCom!=hTxCom) CloseHandle(hRxCom);rn return 0;rnrn//---------------------------------------------------------------------------rnrnint StartupLaser(char port)rnrnrn return 0;rnrn//---------------------------------------------------------------------------rnrnint StopLaser(char port)rnrnrn return 0;rnrn//---------------------------------------------------------------------------rnrnint SetupCurrent(char port,char *current)rnrnrnrn return 0;rnrn//---------------------------------------------------------------------------rnrnint SetupModel(char port,char model)rnrnrn return 0;rnrn//---------------------------------------------------------------------------rnrnint ReadState(char port,char state)rnrnrn return 0;rnrn//---------------------------------------------------------------------------rnrnint ReadCurrent(char port,char *current)rnrnrnrn return 0;rnrn//--------------------------------------------------------------------------- rnrnrn调用程序rn//---------------------------------------------------------------------------rnrn#include rn#pragma hdrstoprnrn#include "Unit1.h"rn//---------------------------------------------------------------------------rn#pragma package(smart_init)rn#pragma resource "*.dfm"rnrnTForm1 *Form1;rnint __stdcall (*OpenPort)(char port );rnHINSTANCE hInstanceZkjcomm;rn//---------------------------------------------------------------------------rn__fastcall TForm1::TForm1(TComponent* Owner)rn : TForm(Owner)rnrnhInstanceZkjcomm=LoadLibrary("Project1.dll");rnrn//---------------------------------------------------------------------------rnrnvoid __fastcall TForm1::Button1Click(TObject *Sender)rnrn FARPROC P;rn if(hInstanceZkjcomm!=NULL)rn rn P=GetProcAddress(hInstanceZkjcomm,"OpenPort");rn if(P==NULL)rn rn ShowMessage("打开OpenPort()函数<em>错误</em>!");rn rn elsern rn ////第六步:强制类型转换,即将所获取的函数地址强制转换为函数rn openport=(int __stdcall (__cdecl *)(char port))P;rn ////第七步:函数调用rn openport(1);rn// ShowMessage(IntToStr(n));rn rn rn elsern rn ShowMessage("打开动态链接库文件zkjcomm.dll<em>错误</em>!");rn rnrn//---------------------------------------------------------------------------rnrnvoid __fastcall TForm1::FormDestroy(TObject *Sender)rnrn FreeLibrary(hInstanceZkjcomm);rnrn//---------------------------------------------------------------------------rnrn说我打不开我的OpenPort函数rnrn
关于数据库打开出现错误----在线
刚开始数据库时没有提示<em>错误</em>。过了不久。便会提示以下<em>错误</em>:rnSQL> connect system/manager@数据库名rnERROR:rnORA-04031: 无法分配 2816 字节的共享内存 ("large pool","unknownrnobject","session heap","First curdef allocation")rn请问怎么解决
一周学会C# doc文档下载
简易入门教材,希望快速了解基本知识的,可以下载 相关下载链接:[url=//download.csdn.net/download/ctm712/3436166?utm_source=bbsseo]//download.csdn.net/download/ctm712/3436166?utm_source=bbsseo[/url]
哈工大《组合数学习题精解》下载
哈工大,匡正编,组合数学习题精讲,保证习题全部都有。 相关下载链接:[url=//download.csdn.net/download/xuliqiu_hit/3588415?utm_source=bbsseo]//download.csdn.net/download/xuliqiu_hit/3588415?utm_source=bbsseo[/url]
struts2框架所需jar包下载
对于用struts做开发的伙伴可以直接将这些jar包导入,已经整理过 相关下载链接:[url=//download.csdn.net/download/u011464710/6307145?utm_source=bbsseo]//download.csdn.net/download/u011464710/6307145?utm_source=bbsseo[/url]
相关热词 c#检测非法字符 c#双屏截图 c#中怎么关闭线程 c# 显示服务器上的图片 api嵌入窗口 c# c# 控制网页 c# encrypt c#微信网页版登录 c# login 居中 c# 考试软件
我们是很有底线的