04 2009 档案
web服务枚举组件不可用
摘要:我的vs2008今天忽然不能添加web引用了,报“web服务枚举组件不可用”,试着更新原来的web引用,报“此计算机上没有安装枚举web引用所需的组件,请重新安装visual studio”。解决办法:在命令行下执行“devenv /resetskippkgs ”。运行后就可以了。下执行̶... 阅读全文
posted @ 2009-04-29 10:09 collinye 阅读(670) 评论(0) 推荐(0)
使用组件进行URL Rewrite(笔记)
摘要:ASP.NET级别的URL Rewrite组件的原理很简单,其实只是监听BeginRequest事件,并且根据配置来决定目标URL。在我之前接触过的项目中,发现使用URLRewriter作为URL Rewrite组件的频率非常高,我想可能是因为那是微软提供的东西吧。  如果要使用URLRewriter,首先自然就是在web.config中配置一个HttpModule:<httpModules... 阅读全文
posted @ 2009-04-20 19:10 collinye 阅读(442) 评论(0) 推荐(0)
url自动转成链接
摘要://url转链接 //2008-7-7Regex UrlRegex = new Regex(@"((http|ftp|https):\/\/(([\w.]+\/?)[\S]*))|((www.)([\w.]+\/?)\S*)");Text =UrlRegex.Replace(Text, "<a href=\"http://$3$5\"target=\"_blank\" style=... 阅读全文
posted @ 2009-04-20 18:35 collinye 阅读(339) 评论(0) 推荐(0)
安装VS2008 SP1后web服务器无法调试的解决方法
摘要:1. 起因:由于IIS站点设置了域名主机头,且装了.net framework3.5 sp1。2.现象:出现的错误"unable to start debugging on the webserver. An authentication erroroccurred while communicating with the web server.3.解决方案:已找到解决方法,方法1修改以... 阅读全文
posted @ 2009-04-20 18:30 collinye 阅读(677) 评论(0) 推荐(1)