View Full Version : 请问用C#如何管理远程计算机和iis呢?


cowandbean
07-13-2007, 10:51 AM
我用C#利用ADSI进行对计算机和IIS进行管理,本机的可以了,但是对于远程的计算机不知道怎么做,我是这样做的DirectoryEntry UserEntry = new DirectoryEntry("WinNT://"+this.Domain, usernamem,password,AuthenticationTypes.Secure);
但是在CommitChanges()的时候会出现“一般性访问拒绝错误”,请问我应该如何做呢?我的系统是windows 2003的!:o