05 2013 档案

摘要:前两天写了个从编译器导入word的功能,放到iis和服务器上都会出现com类工厂错误。在本地测试时不出问题。查了好多资料,无意看到下面的设置方式,试了一下果然可以。如果你是上传的word的话,就在组件中找到word97-2003什么的在这个上面同时也设置一下。服务器是windows server2008 64位系统, 我的系统需要用到Microsoft.Office.Interop.Excel组件 在上传Excel单据遇到错误:检索 COM 类工厂中 CLSID 为 {00024500-0000-0000-C000-000000000046} 的组件时失败。 网上传阅无数解决方式: 普通版本步 阅读全文
posted @ 2013-05-27 13:05 我在这 阅读(1656) 评论(0) 推荐(1)
摘要:转载....AndyJanCREATEfunctionGet_StrArrayLength(@strvarchar(1024),--要分割的字符串@splitvarchar(10)--分隔符号)returnsintasbegindeclare@locationintdeclare@startintdeclare@lengthintset@str=ltrim(rtrim(@str))set@location=charindex(@split,@str)set@length=1while@location<>0beginset@start=@location+1set@location 阅读全文
posted @ 2013-05-21 11:46 我在这 阅读(333) 评论(0) 推荐(0)