This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.

摘要: Attempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle clie 阅读全文
posted @ 2017-10-19 17:07 #知了 阅读(397) 评论(0) 推荐(0)

解决Uploadify上传控件加载导致的GET 404 Not Found问题

摘要: 今天在项目发用到Uploadify上传,发现在打开页面时会有一多余的请求,由于路由没有设置这个,导致404错误,能搜索查到以下解决的方法《Uploadify v3 bug. Unecessary request when there is no button_image_url set.》找到了解决... 阅读全文
posted @ 2014-12-30 16:33 #知了 阅读(538) 评论(0) 推荐(0)

OracleServiceORCL服务不见了怎么办

摘要: 用管理员身份运行命令提示符(CMD)然后输入“oradim-new-sidorcl”即可 阅读全文
posted @ 2014-05-13 15:41 #知了 阅读(1758) 评论(0) 推荐(0)

Access to the temp directory is denied. Identity 'NT AUTHORITY\NETWORK SERVICE' under which XmlSerializer is running does not have sufficient permiss

摘要: Identity 'NT AUTHORITY\NETWORK SERVICE' under which XmlSerializer 阅读全文
posted @ 2013-11-22 09:55 #知了 阅读(5365) 评论(0) 推荐(0)

MSSQL Server 2008 数据库安装失败

摘要: 1、Reporting Services目录临时数据库文件存在出现这种问题的原因,是由于以前安装的SQL Server2008文件并没有卸载或删除干净造成 解决的办法如下: 找到MSSQL2008的实例安装目录,例如:D:\Program Files\Microsoft SQL Server 将D:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA 里面的有关Reporting Services的数据库文件删除,文件如下: ReportServer.mdf、ReportServer_log.LDF、ReportS 阅读全文
posted @ 2013-09-12 18:46 #知了 阅读(593) 评论(0) 推荐(0)

数据库数据导出成XML文件

摘要: 在数据库中,怎样把库中的数据导出XML文件,sql语句如下:SELECT * FROM 表名 FOR XML AUTO, ELEMENTS 阅读全文
posted @ 2013-07-12 17:00 #知了 阅读(504) 评论(0) 推荐(0)

公共上传文件类

摘要: 今天心里挺烦的,正好抽这间把把自己写的上传文件的公用类贡献出来,让大家做个参考。也给希望高手能提出好的建议。using System;using System.Collections.Generic;using System.IO;using System.Web;namespace Common.FilesManagement{ public class UploadFiles { #region field private int _allowFileSize = 1024 * 1024 * 100; ... 阅读全文
posted @ 2013-07-11 10:34 #知了 阅读(466) 评论(0) 推荐(0)

.net framework 4.0,结果还是失败,出现HRESULT 0xc8000222错误代码

摘要: 今天安装.net framework 4.0,结果还是失败,出现HRESULT 0xc8000222错误代码,在官网上查找,发现作如下操作步骤即可This behavior may occur if the temporary folder of Windows Update has been corrupted. We can refer to the following steps to rename this folder. Please be assured the folder will be created again when we visit the Windows Updat 阅读全文
posted @ 2013-06-08 14:04 #知了 阅读(205) 评论(0) 推荐(0)

.JS replace方法替换所有字符

摘要: 今天在js中做替换功能时,发现replace字符替换字符时只替换第一个匹配的字符为了实现所有字符的替换,我查了下资料可以用正则实现要求我先看下这个函数的用法定义和用法replace() 方法用于在字符串中用一些字符替换另一些字符,或替换一个与正则表达式匹配的子串。语法stringObject.replace(regexp,replacement)参数描述regexp必需。规定了要替换的模式的 RegExp 对象。请注意,如果该值是一个字符串,则将它作为要检索的直接量文本模式,而不是首先被转换为 RegExp 对象。replacement必需。一个字符串值。规定了替换文本或生成替换文本的函数。在 阅读全文
posted @ 2013-01-17 11:43 #知了 阅读(1529) 评论(0) 推荐(0)

Type of conditional expression cannot be determined because there is no implicit conversion between 'Common.EnumType.EnumGender' and '<null>'

摘要: public EnumType.EnumGender? EmployeeGender { get { return (EnumType.EnumGender)_Model.EmployeeGender; } set { _Model.EmployeeGender = value != null ? (int)value : (int)EnumType.EnumGender.无限制;} }今天用三元运算符给EmployeeGender赋值时,出现Type of conditional expression cannot be determined because there is no impl 阅读全文
posted @ 2013-01-16 15:00 #知了 阅读(455) 评论(0) 推荐(0)