摘要:
转自http://www.lob.cn/jq/csyy/7285.shtml把在找到正确方法前遇到的挫折也拿出来与大家分享,相信不少朋友从iis6到iis7的过渡中也和我存在同样的疑问,开始的时候我需要在IIS7下创建虚拟目录,用的是DirecotryEntry这个类,怎么也不能,总会报错[System.Runtime.InteropServices.COMException]{"未知错误(0x80005000)"} 这个错误。privatestaticvoidTestDirectoryEntry(){try{stringpath="IIsWebService:/ 阅读全文