科学网

 找回密码
  注册

tag 标签: error

相关帖子

版块 作者 回复/查看 最后发表

没有相关内容

相关日志

error while loading shared libraries: libXss.so.1:的解决办
热度 1 fangxia 2011-11-23 22:12
新装了64bit的UBUNTU, 结果在装ds9 时报错: error while loading shared libraries: libXss.so.1:,google 了一下是说缺少libXss.so.1这样一个动态库,解决办法就是用synaptic装一个libXss的动太库。
11729 次阅读|2 个评论
[转载]")syntax error: invalid arithmetic operator (error token is
ywmucn 2011-10-30 13:33
转自: http://stackoverflow.com/questions/754488/invalid-arithmetic-operator Your error message seems to indicate pollution of your data with CRs. ")syntax error: invalid arithmetic operator (error token is " Notice how the stuff that's supposed to come after the current end of your line is at the beginning. That's most likely because your error token is in fact a CR (which is a carriage return character - a character that instructs the terminal to put the cursor on the beginning of the line). These characters are almost only used by Windows machines where they are part of line endings. I will assume that you're working on a windows machine and that your "date" command gave the output followed by a "windows" newline, which is actually a \r\n (carriage return, newline). The $() always strips trailing newlines, which leaves the \r at the end causing parsing problems in your script. Here, the following command produces your error on UNIX: $ foo = $ '5\r' ; echo $ (( 5 + foo )) ")syntax error: invalid arithmetic operator (error token is " To resolve the issue, you need to get rid of the \r in your data. You can use parameter expansion for this, or tr(1). $ foo = $ '5\r' ; echo $ (( 5 + $ { foo // $ '\r' })) 10 $ $ foo = $ '5\r' ; echo $ (( 5 + $ ( tr - d '\r' "$foo" ))) 10
个人分类: 脚本|7622 次阅读|0 个评论
安装诺顿时,提示Symantec AntiVirus.msi 文件有问题
lightw626 2011-9-28 14:31
起因: 原来诺顿安装在C盘,因为空间不足要移到其他盘。 现象: 但是在安装时,发现总是提示 Symantec AntiVirus.msi 文件有问题,好像是说找不到或者访问权限不足。error 1305 分析: 在网上搜了一圈,诺顿官网上说这个问题是因为文件损坏,建议将光盘上的文件拷贝到硬盘上进行安装。 但是我不存在这种问题,因为我的安装文件就是放在硬盘上,而且以前用过没有问题,受病毒感染的可能性也很小。 实验: 在进行安装的时候,我是把安装程序放在H盘,也打算把诺顿安装在H盘。尝试了好几次都失败了。 我把安装程序拷贝到C盘运行,情况好一些,但会提示G盘空间不足,其实这跟G盘一点关系都没有,但我还是把G盘清理了一下使空间满足安装提示。 后来我干脆把诺顿依旧安装在C盘,然后就成功了! 结论: 原来诺顿要求在C盘安装,并安装在C盘。我使用的版本是:Symantec.AntiVirus.Corporate.Edition.v10.1.5.5000 ,其他版本不知是否如此。 注意: 为了避免重装诺顿后的病毒库升级太缓慢,可以事先下载最新的病毒库,这样安装完毕,把最新的病毒库解压就可以使用。
个人分类: 网管技术杂会|7546 次阅读|0 个评论
ClearCase Checkin 失败
热度 2 lightw626 2011-9-6 15:18
前一段时间,遇到了一个很诡异的问题,有个同事的ClearCase中的一个文件总是checkin不了,提示的错误信息: Error checking in '文件路径及名字'. noname:Warning: Cannot find a group named “域名\cc管理组名” Type manager “z_whole_copy”failed create_version operation. 但是,拿到我的机器上就可以顺利的checkin。 后来,是什么原因呢? 360捣的鬼,在checkin的时候,把360关闭就可以了。 还有,在win7安装的时候也是要先安装clearcase然后再装360,如果顺序颠倒,cleacase就会安装失败。 我们用的是clearcase 4.1,是不是有点老? 其实,够用就好了。
个人分类: 网管技术杂会|6712 次阅读|3 个评论
[转载]latex图片不识别问题:Unknown graphics extension:.eps [转]
jiaqionghit 2011-7-17 01:35
latex中引用.eps图片遇到的问题 latex中可以使用.eps的图片,许多文档都介绍了怎么引用这种格式的图片,但没有给出使用过程中的注意事项。我在使用MIKTEX的时候,latex文档中引入.eps图片遇到了这样的问题。编译的时候显示:“!LaTex Error:Unknown graphics extension:.eps”,并且即使编译得到了.pdf文件,但是其中所引用的.eps图片却显示不出来。经过仔细研究发现主要是编译的步骤和使用的命令引起的。一个简单的例子如下: %filename=eps.tex \documentclass {article} \usepackage{graphics} \begin{document} \begin{figure} \begin{center} \includegraphics{fig.eps} \end{center} \caption{My first figure.} \end{figure} \end{document} 编译过程如下: latex eps.tex dvipdfm eps.dvi 或者, latex eps.tex dvips eps.dvi ps2pdf eps.ps 注意的是千万不能使用latexpdf,因为这个命令无法读入.eps文档。
17782 次阅读|0 个评论
fortran LINK : warning LNK4098 && error LNK2001
HL2004 2011-7-8 21:51
我用fortran写的程序编译通过,在组建时出现问题,问题提示如下: Linking... LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use /NODEFAULTLIB:library Algorithm.obj : error LNK2001: unresolved external symbol _SGLUNDATEBUFFER@0 Debug/Algorithm.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. 在网上查找解决方案,得到的解答方案如下: project-setting-link- Category(input)- Ignore libraries里面添上这些库! 添加如libc.lib 但是添加之后,出现新的问题: Linking... sglDraw.obj : error LNK2001: unresolved external symbol _SGLDRAWFILLEDRECT@16 sglDraw.obj : error LNK2001: unresolved external symbol _SGLCREATEWINDOWS@20 Debug/sglDraw.exe : fatal error LNK1120: 2 unresolved externals Error executing link.exe. sglDraw.exe - 3 error(s), 0 warning(s) 这不是编译阶段的问题,是连接阶段的问题。 报错的意思是找不到那两个函数。 或者提供那两个函数的源代码,或者提供连接的静态库(.lib文件),或者提供去他类型的接口。 这个问题目前还没有得到很好的解决,求高手指点 过了好几天, 这个问题我终于找到了,就是把sgl里面include里面的文件全面拷贝到C:\Program Files\Microsoft Visual Studio\DF98\INCLUDE目录下,把sgl里面lib里面的文件全部拷贝到C:\Program Files\Microsoft Visual Studio\DF98\LIB 附件:以下为查找到的相关资料 版本 类 型 使用的 library 被忽略的 library Release 单线程 libc.lib libcmt.lib, msvcrt.lib, libcd.lib, libcmtd.lib, msvcrtd.lib 多线程 libcmt.lib libc.lib, msvcrt.lib, libcd.lib, libcmtd.lib, msvcrtd.lib 使用 DLL 的多线程 msvcrt.lib libc.lib, libcmt.lib, libcd.lib, libcmtd.lib, msvcrtd.lib Debug 单线程 libcd.lib libc.lib, libcmt.lib, msvcrt.lib, libcmtd.lib, msvcrtd.lib 多线程 libcmtd.lib libc.lib, libcmt.lib, msvcrt.lib, libcmtd.lib, msvcrtd.lib 使用 DLL 的多线程 msvcrtd.lib libc.lib, libcmt.lib, msvcrt.lib, libcd.lib, libcmtd.lib 单线程: 不需要多线程调用时, 多用在DOS环境下 多线程: 可以并发运行 静态库: 直接将库与程序Link, 可以脱离MFC库运行 动态库: 需要相应的DLL动态库, 程序才能运行 release版本: 正式发布时使用 debug版本: 调试阶段使用 /MT多线程应用程序 /Mtd多线程应用程序(DEBUG) /MD多线程DLL /MDd多线程DLL(DEBUG) (1)、/MD: 定义 _MT 和 _DLL 以便同时从标准 .h 文件中选择运行时例程的多线程特定版本和 DLL 特定版本。此选项还使编译器将库名 MSVCRT.lib 放入 .obj 文件中。 当在定义了 _STATIC_CPPLIB (/D_STATIC_CPPLIB) 的情况下使用 /MD 时,它将导致应用程序使用静态多线程标准 C++ 库 (libcpmt.lib) 而非动态版本 (msvcprt.lib) 进行链接,同时仍通过 msvcrt.lib 动态链接到主 CRT。 (2)、/MDd: 定义 _DEBUG、_MT 和 _DLL,以便从标准 .h 文件中选择运行时例程的调试多线程特定版本和 DLL 特定版本。它还使编译器将库名 MSVCRTD.lib 放入 .obj 文件中。 ( 3)、/ML 使编译器将库名 LIBC.lib 放入 .obj 文件中,以便链接器使用 LIBC.lib 解析外部符号。这是编译器的默认操作。LIBC.lib 不提供多线程支持。 (4)、/MLd 定义 _DEBUG 并使编译器将库名 LIBCD.lib 放入 .obj 文件中,以便链接器使用 LIBCD.lib 解析外部符号。LIBCD.lib 不提供多线程支持。 (5)、/MT 定义 _MT,以便从标准头 (.h) 文件中选择运行时例程的多线程特定版本。此选项还使编译器将库名 LIBCMT.lib 放入 .obj 文件中,以便链接器使用 LIBCMT.lib 解析外部符号。创建多线程程序需要 /MT 或 /MD(或它们的调试等效选项 /MTd 或 /MDd)。 (6)、/MTd 定义 _DEBUG 和 _MT。定义 _MT 会导致从标准 .h 文件中选择运行时例程的多线程特定版本。此选项还使编译器将库名 LIBCMTD.lib 放入 .obj 文件中,以便链接器使用 LIBCMTD.lib 解析外部符号。创建多线程程序需要 /MTd 或 /MDd(或它们的非调试等效选项 /MT 或 MD)。 (7)、/LD 创建 DLL。将 /DLL 选项传递到链接器。链接器查找 DllMain 函数,但并不需要该函数。如果没有编写 DllMain 函数,链接器将插入返回 TRUE 的 DllMain 函数。 (8)、/LDd 创建调试 DLL。定义 _DEBUG。 警告: 不要混合使用运行时库的静态版本和动态版本。在一个进程中有多个运行时库副本会导致问题,因为副本中的静态数据不与其他副本共享。链接器禁止在 .exe 文件内部既使用静态版本又使用动态版本链接,但您仍可以使用运行时库的两个(或更多)副本。例如,当与用动态 (DLL) 版本的运行时库链接的 .exe 文件一起使用时,用静态(非 DLL)版本的运行时库链接的动态链接库可能导致问题。(还应该避免在一个进程中混合使用这些库的调试版本和非调试版本)。
6946 次阅读|0 个评论
[转载]error while loading shared libraries: libstdc++-libc6.2-2.s
thismoment 2011-6-12 14:47
error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory 收藏 刚装完UBUNTU 8.04,安装H3C上网认证的时候,报错: linux1x: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory 找了一会,终于在网上找到了 libstdc++-libc6.2-2.so.3 (下载完,去掉.gif) 再附上一些网上的解决方法: 如果遇到错误提示缺少libstdc++-libc6.2-2.so.3,就在在 /usr/lib下做一个名为libstdc++-libc6.2-2.so.3的c++标准库文件(这种方法最简单) 办法: 在/usr/lib下做一个名为libstdc++-libc6.2-2.so.3的软链接到高版本的libstdc++ 代码: $ cd /usr/lib $ ls libstdc++* 在我的系统上ls命令的结果是 libstdc++.so.5.0.7 libstdc++.so.6.0.8 libstdc++.so.6.0.8就是我们要找的,给它做个链接 代码: $ sudo ln -s libstdc++.so.6.0.8 libstdc++-libc6.2-2.so.3 这时候你可以再试一下linux1x命令 或者直接将libstdc++.so.x.x.x复制一份到/usr/lib下面,命名为libstdc++-libc6.2-2.so.3即可。 代码: $ sudo cp libstdc++.so.6.0.8 libstdc++-libc6.2-2.so.3 =========== 第一次运行linux1x都提示缺少一个文件(记得好像是以libstdc++开头的──标准的c++库。)其实系统中有这个库文件在系统中存在,只是现 在不叫这个名字了而已。你可以使用命令“locate libstdc++”找到一个与提示中最相近的文件(位于/usr/share/lib下面吧,记不清了),然后在那个文件所在的目录复制一个,命名为提 示中提示的文件名,就可以用了(要用到sudo权限)。
5240 次阅读|0 个评论
[转载]解决fatal error RC1015: cannot open include file 'afxres.h'.
gulie 2011-5-24 23:33
fatal error RC1015: cannot open include file 'afxres.h'.解决办法~ fatal error RC1015: cannot open include file 'afxres.h'. 需要在Tools-Option-Directories-Include files下添加: C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\INCLUDE fatal error RC1015: cannot open include file 'l.chs\\afxres.rc'. 需要在Tools-Option-Directories-Include files下添加: C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\MFC\INCLUDE fatal error LNK1104: cannot open file "mfc42d.lib" 需要在Tools-Option-Directories-Include files下添加: C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\ATL\INCLUDE 需要在Tools-Option-Directories-Library files下添加: C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\LIB C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\MFC\LIB
个人分类: 心得|19811 次阅读|0 个评论
[转载]Unable to reduce the step size without violating的解决办法
bingo0 2011-4-15 20:23
Step-Size-Related ErrorsA typical step-size-related error message may state that thesystem is unable to reduce the step size without violating the minimumstep size for a certain number of consecutive times. This error messageindicates numerical difficulties in solving the Differential AlgebraicEquations (DAEs) for the model. This might be caused by dependentdynamic states (higher-index DAEs) or by the high stiffness of thesystem. You can try the following: Tighten the solver tolerance (decrease the RelativeTolerance parameter value in the Configuration Parametersdialog box) Specify a value, other than auto,for the Absolute Tolerance parameter in the ConfigurationParameters dialog box. Experiment with this parameter value. Tighten the residual tolerance (decrease the ConstraintResidual Tolerance parameter value in the Solver Configurationblock) Increase the value of the Number of consecutivemin step size violations allowed parameter in the ConfigurationParameters dialog box (set it to a value greater than the number ofconsecutive step size violations given in the error message) Review the model configuration and try to simplifythe circuit, or add small parasitic terms to your circuit to avoiddependent dynamic states. For more information, see Numerical Simulation Issues.
个人分类: Orcad|24 次阅读|0 个评论
Fedora14下安装ENVI/IDL: error while loading shared libraries
热度 1 dongyanqing 2011-3-15 23:46
Fedora14下安装ENVI/IDL: error while loading shared libraries
在Fedora14下安装ENVI或IDL后,运行ittlicense或启动idl时,会提示下面的错误信息: /usr/local/itt/idl/idl80/bin/bin.linux.x86/idl: error while loading shared libraries: libidl.so.8.0: cannot enable executable stack as shared object requires: Permission denied 解决方法如下: 终端中执行下面语句: execstack --clear-execstack /usr/local/itt/idl/idl80/bin/bin.linux.x86/libidl.so.8.0
个人分类: IDL技术|5141 次阅读|1 个评论
Failure, Error和Fault之间的关系?
热度 5 muchunyang 2011-2-16 11:54
工程上的Failure, Error和Fault三者之间区别与联系? (IEC 61508和ISO 26262) Fault的定义 : 可能导致 系统或功能 失效 的异常条件( Abnormal condition that can cause an element or an item to fail . ), 可译为 “故障” 。 Error的定义 : 计算、观察或测量 值或条件 ,与真实、规定或理论上正确的 值或条件 之间的差异( Discrepancy between a computed, observed or measured value or condition and the true, specified, or theoretically correct value or condition. ),可译为 “错误” 。Error是能够导致系统出现Failure的 系统内部状态 。 Failure的定义 :当一个系统不能 执行所要求的功能时,即为Failure, 可译为 “失效” 。( Termination of the ability of an element or an item to perform a function as required. ) 三者关系分析 : 由于人类试图通过上述3个基本术语来覆盖所有现实中的失效场景,所以就有 “ Fault - Error - Failure” 。即, 故障发生了,会导致错误,错误有可能造成系统功能的减弱或丧失 。 当Fault是另外一个组件/系统的失效时,则有Failure (Fault) - Error - Failure ;当将Fault说成是某组件状态Error时,则有Error (Fault) - Error - Failure 。 事实上,这是一种递归循环的关系,递归关系要成立必须有一个明确的结束条件,这个条件就是要找出Root Cause,否则将无法完成一个失效分析。
个人分类: 术语解释|37837 次阅读|8 个评论
ERROR 999999: Error executing function.
热度 1 izkee 2010-11-1 20:26
在将矢量或者栅格文件在Geodatabase中建立数据库的时候有时候会报错,如下图所示: 这种错误是因为在同一个库中有重名的文件了,只要把重名的文件重新起个名字再建库就没有问题了,也就是说,即使你在两个不同的dataset,只要这两个dataset在同一个Geodatabase中就不可以有重名的文件。
个人分类: ArcGIS软件使用|10628 次阅读|0 个评论
error LNK2005: xxx already defined in libcmt.lib(xxx.obj) MSVCRT.lib
热度 1 wqfeng 2010-9-15 15:39
参考: 这个错误是微软设计错误,因此如果遇到这个错误,我们只能躲过这个链接错误。具体的办法就是将那个提示出错的库放到另外一个库的前面。另外选择不同的C函数库,可能会引起这个错误。MS,C有两种C函数库,一种是普通的函数库:LIBC.LIB,不支持多线程。另外一种是支持多线程的:msvcrt.lib。如果一个工程里,这两种函数库混合使用,可能会引起这个错误。因此建议使用支持多线程的msvcrt.lib。 需要注意的是,当使用其他的库的时候最容易产生这种错误,例如boost和wxWindow使用/MD来编译的,也就是使用支持多线程的C函数库。这时候如果自己的程序没有指明/MD的话,就会提示两种C函数冲突,并且还有LNK2005错误。因此如果使用boost,wxWindow的话,需要指明/MD。 msvcrt.lib是VC中的MultithreadedDLL版本的C运行时库,而libcmt.lib是Multithreaded的运行时库。在同一个项目中,所有的源文件必须链接相同的C运行时库。如果某一文件用了MultithreadedDLL版本,而其他文件用了Single-Threaded或者Multithreaded版本的库,也就是说用了不同的库,就会导致这个警告的出现。 VC中的C运行时库一共有6种 Single-threaded(libc.lib) libcmt.lib,msvcrt.lib,libcd.lib,libcmtd.lib,msvcrtd.lib Multithreaded(libcmt.lib) libc.lib,msvcrt.lib,libcd.lib,libcmtd.lib,msvcrtd.lib MultithreadedusingDLL(msvcrt.lib) libc.lib,libcmt.lib,libcd.lib,libcmtd.lib,msvcrtd.lib DebugSingle-threaded(libcd.lib) libc.lib,libcmt.lib,msvcrt.lib,libcmtd.lib,msvcrtd.lib DebugMultithreaded(libcmtd.lib) libc.lib,libcmt.lib,msvcrt.lib,libcd.lib,msvcrtd.lib DebugMultithreadedusingDLL(msvcrtd.lib) libc.lib,libcmt.lib,msvcrt.lib,libcd.lib,libcmtd.lib runtimelibrary中设置,实际上和静态dll和动态dll有关 解决办法: ProjectSettings: IgnoreSpecificLibrary:libcmtd libcmtd这个库有时候不能忽略,忽略后会有不能解析的外部符号错误 其实有个方便的方法链接时加入参数/FORCE:MULTIPLE
个人分类: 编程|15890 次阅读|0 个评论
Error Tolerance/Resilience(2010-08-31)
热度 1 freton 2010-8-31 22:25
There are some teminologies which are worthy of being discussed and distinguished. They are error tolerance, error resilience, error recovery, error concealment, error control, etc. First, have a look at some explanations about them from Vanguard Software Solutions: ------------------------------------------------------------------------------------------------------------------------------ http://www.vsofts.com/technology/error-resilience.html Streaming compressed video over communication channels that introduce errors, losses and excessive delay requires countermeasures to preserve the quality of the viewing experience. We refer to the ability of the system to minimize and to quickly recover from the damage as its robustness. VSofts achieves robustness through two separate and complementary techniques: error resilience and error concealment. Error resilience refers to mechanisms in the encoder that enhance the ability of the compressed bitstream to resist channel errors. Error resilience functionality in the encoder produces a bitstream that supports error recovery at the decoder. The following methods are used in VSofts encoders: Selective intra coding (including intra macroblocks update based on motion tracking, row based distribution, random distribution) Frame segmentation into slices Constrained texture prediction Flexible Macroblock Order (FMO) Error concealment refers to the actions taken by the decoder to analyze losses and conceal them in the displayed video by minimizing the visual artifacts. The concealment schemes can be spatial, temporal or combined. In spatial interpolation, the values of missing pixels are estimated from the surrounding pixels of the same frame, without using the temporal information. Temporal interpolation is based on the corresponding regions of the reference frames. If a motion vector is missing, it can be estimated based on the motion vectors of the surrounding regions. Combination schemes use an adaptive mechanism to choose the best concealment method for each lost macroblock. VSofts decoders use the following methods: Spatial texture interpolation Motion compensation Severe loss compensation ------------------------------------------------------------------------------------------------------------------------------ As far as I am concerned, these words have internal relations with each other. Error tolerance means the ability to tolerate errors, e.g., a circuit or HW/SW system inherently has the power of tolerating some errors that don't bring in too much degradation. Error resilience may have the meaning of error tolerance but it emphasizes somewhat ability to recover the error, i.e., the error recovery capacity. Error concealment means the actions to conceal errors. Error control refers to the countermeasures to help control or relieve the propagation/accumulation of errors. In sum, error control, error recovery and error concealment are some measures to make error tolerance and error resilience possible. I give the relations among them as follows(maybe not complete and not accurate): Error Rsilience = Error Tolerance + Error Recovery, Error Recovery = Error Control + Error Concealment. Error Rate, Error Significance and Error Accumulation are some general metrics that depict the severity of errors. SNR, PSNR and SSIM , etc., are some metrics used in signal/image/video quality evaluation.
个人分类: MyDailyScience|3586 次阅读|0 个评论
上网遇到错误
cai7net 2010-3-10 10:34
Server Error in '/' Application. Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. Source Error: Line 192: break; Line 193: case 1: Line 194: rptBlogArticle.DataSource = DataAccess.Blog.Article.SearchArticleInContentByPage(sKey, PageSize, ref PageNo, out iTotalCount); Line 195: break; Line 196: case 2: Source File: d:\51xuewen.com\wwwroot\s.aspx.cs Line: 194 Stack Trace: System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +1950890 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +4846875 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +194 System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2392 System.Data.SqlClient.SqlDataReader.ConsumeMetaData() +33 System.Data.SqlClient.SqlDataReader.get_MetaData() +83 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +297 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +954 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +162 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +32 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +141 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) +12 System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +10 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable commandParameters) in F:\xuewen\Common\Data\SQLHelper.cs:604 Common.Data.SqlHelper.ExecuteDataset(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) in F:\xuewen\Common\Data\SQLHelper.cs:516 DataAccess.Blog.Article.SearchArticleInContentByPage(String sKey, Int32 PageSize, Int32 PageNo, Int32 TotalCount) +512 s.SearchBlogArticle(Int32 SubType, String sKey, Int32 PageNo) in d:\51xuewen.com\wwwroot\s.aspx.cs:194 s.Search(Int32 iSearchType, Int32 SubType, String sKey, Int32 PageNo) in d:\51xuewen.com\wwwroot\s.aspx.cs:77 s.Page_Load(Object sender, EventArgs e) in d:\51xuewen.com\wwwroot\s.aspx.cs:56 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35 System.EventHandler.Invoke(Object sender, EventArgs e) +0 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +50 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627 Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082
个人分类: 学习心得|212 次阅读|0 个评论
生成动态链接库,预定义选项_USRDLL和_AFXDLL的冲突解决方法
quicker2008 2009-12-9 16:31
VC6.0 生成动态链接库时,预定义选项_USRDLL和_AFXDLL的冲突解决方法 错误提示: nafxcwd.lib(dllmodul.obj) : error LNK2005: _DLLMain@12 . Error nafxcwd.lib(dllmodul.obj) : warning LNK 解决方法 1. 到工程的Setting设置页中,Debug菜单,发现Preprocessor Definitions编辑框中同时存在_USRDLL和_AFXDLL, 删除_USRDLL即可.(如果没有用到_AFXDLL ,可以尝试把两者都删除了) 2. 原因主要是 _USRDLL和_AFXDLL 有冲突。
个人分类: 编程天地|6529 次阅读|0 个评论
"error code 2869"解决中
热度 2 lixungui 2008-12-21 23:01
今天装ArcSWAT时,出现如下的错误: 网上找了一下,发现有所谓的解决方法: ========================================== 我把同一个*.msi文件copy到我的xp机器上就可以正常安装,看来这个错误和安装无关而是vista的问题乐。想到传说中的UAC,于是决定换个角色执行这个msi文件。可是在*.msi上点击右键菜单里居然没有Run as administrator一项,晕倒。 解决办法,新建一个批处理文件,setup.bat,编辑这个bat文件,写上如下命令: msiexec /i C:\VSA2Setup\Setup.msi 保存文件,然后再setup.bat上点击右键,就有Run as administrator项目了。 结果果然是UAC权限问题! ============================================== 按这个办法实验,但发现并没有解决问题,读软件的Readme,有如下信息: ====================== README for ArcSWAT 2.1.4 In order to install ArcSWAT for ArcGIS 9.2, you MUST have: 1.) Microsoft Windows XP or Windows 2000 2.) ArcGIS 9.2 with SP5 (build 1450) 3.) ArcGIS Spatial Analyst 9.2 4.) ArcGIS Dot Net support (usually found in: C:\ProgramFiles\ArcGIS\DotNet) 5.) Microsoft .Net Framework 2.0 6.) Adobe Acrobat Reader Version 8 or higher. Acrobat Reader may be downloaded for free from: http://www.adobe.com/products/acrobat/readstep2.html To install ArcSWAT: 1.) Uninstall any previous versions of ArcSWAT using Add or Remove Programs and choosing to Remove ArcSWAT. 2.) Add double-click on the setup.exe program. This will launch the ArcSWAT install program The ArcSWAT documentation and help files will be installed in the ArcSWAT\ArcSWATHelp\ folder in the install directory (e.g., C:\Program Files\ArcSWAT\). Refer to the ArcSWAT_Documentation.pdf document for important information on how to get started with ArcSWAT. Failure to have the above system configuration may result in failure to install ArcSWAT or errors in the ArcSWAT interface. =================================================== 关键是,我的系统是VISTA,上面的软件支持并不支持VISTA,晕,不知道这个版板的ArcSWAT如何破解?有待解决。
个人分类: 软硬件入门技巧|9752 次阅读|1 个评论

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-23 16:39

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部