本帖最后由 lxj 于 2018-4-26 13:39 编辑
需要 vs 用管理员的模式才能运行调用出影像,不然的话调不出来影像,就会报错
- 用户代码未处理 System.Runtime.InteropServices.COMException
- ErrorCode=-2147024891
- HResult=-2147024891
- Message=拒绝访问。
- Source=System.DirectoryServices
- StackTrace:
- 在 System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
- 在 System.DirectoryServices.DirectoryEntry.Bind()
- 在 System.DirectoryServices.DirectoryEntry.get_IsContainer()
- 在 System.DirectoryServices.DirectoryEntries.ChildEnumerator..ctor(DirectoryEntry container)
- 在 Leadtools.Demos.IISTools.VirtualDirectory.FindAll(String machine)
- 在 Leadtools.Demos.IISTools.VirtualDirectory.Find(String machine, String name)
- 在 Leadtools.Medical.WebViewer.ExternalControl.MedicalWebViewerExternalController.IsLocalAndInvalid(String value)
- 在 Leadtools.Medical.WebViewer.ExternalControl.MedicalWebViewerExternalController.UserLogin(String username, String password)
- 在 ImageWebView.webView.GetImage(String patientId) 位置 D:\LXJ\我的文档\357003544\FileRecv\workspace\LeadTools\LeadTools\ImageView.asmx.cs:行号 44
- InnerException:
复制代码 |