wxPython之ImportError: DLL load failed: %1 is not a valid Win32 application. 今天碰到的一个问题,首先本人的机器是win7 64位,装的python是2.7版本。想要使用wxPython,所以安装了 wxPython3.0-win64-3.0.2.0-py27.exe在Python IDLE里,输入import wx, 报出如下错误:>>> import wxTraceback (most recent call last): File
Timeout expired. The timeout period elapsed prior to completion of the operation or the server... 问题:最近程序总会抛出如下异常:An exception of type'System.Data.SqlClient.SqlException' occurred and was caught.----------------------------------------------------------------------------------Type :Syste
A problem displaying [localhost] caused Internet Explorer to refresh the webpage using Compatibility 问题:上周使用JQuery UI 的Dialog 实现弹出对话框后查询的功能,抛了如下错误:“A problem displaying [localhost] caused Internet Explorer to refresh the webpage using Compatibility View.”我用的IE8,FF,chrome测试的,只有IE8抛出这个问题。
C# Windows Schedule task之获取task下次运行时间 最近做了一个需要和Windows Schedule task相关的功能,即通过schedule,计算下次跑task的时间。通过是用第三方的DLL来实现,从下面的网站下载:http://taskscheduler.codeplex.com/1. 在Schedule Task里增加一个task,命名为“testJing”, trigger设置为每五天 增加一个Tri
Web Service 之 Exception: "The HTTP request is unauthorized with client authentication scheme......" 问题:原因:ji
使用Entity Data Model 之创建模型(一) 1. 添加实体数据模型的方法:右击 --> Add --> New Item --> ADO.NET Entity Data Model --> Add --> Generate from database --> Next --> New Connection... -->选择 Yes, include... --> Next--> 选table,view, stored proced
SSIS 之 Exception "Cannot insert duplicate key in object..." 问题: Error Desc: Violation of PRIMARY KEY constraint 'PK_TeaPg_Actions'. Cannot insert duplicate key in object'dbo.TeaPg_Actions'.; 原因: 违背了主键唯一性约束, 所以在插入之前先检查是否已经存在。
SSIS 之 Exception "truncated if it exceeds the maximum length of 4000 characters" 问题:Error Desc: The result string for expression "SELECT ID, ......from users WITH (NOLOCK) where id in ( " + @[User::IDSQLCondition]"may be truncated if it exceeds the maximum length of 4000
Microsoft.ApplicationServer.Caching.DataCacheException 之 ErrorCode<ERRCA0017>:SubStatus<ES0006> 问题:An exception of type'Microsoft.ApplicationServer.Caching.DataCacheException' occurred and was caught.--------------------------------------------------------------------------------------------
System.Xml.XmlException: '=' is an unexpected token. The expected token is ';' 今天碰到的一个问题,把string 解析成xml时,抛出异常,如下:An exception of type'System.Xml.XmlException' occurred and was caught.-----------------------------------------------------------------------Type : System.X
.net4 和 .net3.5 的区别 今天,尝试把现有项目的.net4改成.net3.5时,出现了一些error,这些error大多是方法不兼容。下面分享一下:只在.net4里可用而在.net3.5里不可用的方法:1.string.IsNullOrWhiteSpace(string text)==> .net3.5里可用此方法替换:string.IsNullOrEmpty(string text)2.strin
Web service: The HTTP request is unauthorized with client authentication scheme 'Anonymous'..... 问题:The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Negotiate,NTLM'.My solution as the picture:plea
Web Service程序的改变对引用这个web service的程序的影响 验证Web Service程序的改变对引用这个web service的程序的影响:1. Web service 增加字段,引用这个web service的程序不变:不会获取新增字段的值,程序不受影响,可以正常跑2. Web Service 删除字段,引用这个web service的程序不变:通过webservice拿数据,该字段值默认就是null, 对于in
ASP.NET 应用程序 的神奇错误一 一个不能用正常逻辑来处理的错误。在一个if条件里,我把条件设为false,程序执行时,不让它进入if。但是执行时,竟然进入if,执行了throw 语句。我尝试运行了好几次,都是一样的行为。最后,果断的关闭VS, 重新打开项目,重新生成,就可以了。
500 Internal server error 部署ASP.NET项目时出现的错误 500 Internal server error:检查IIS的congfig配置C:\Windows\System32\inetsrv\config 下的applicationHost.configapplicationHost.config 里的内容类似:
JQuery UI 之 Accordion Widget 最近正在看Accordion Wight这个UI 插件,总结了一些重点,供大家参考Accordion:组成: Header + content panel1. 在同一时间,只能打开一个content panel2. 导入文件的顺序要规范,否则某些功能失效。l Jquery library (jquery-x.x.x.js)l