我已将 InfoPath 表单作为内容类型发布并在文档库中引用它。但是,当我尝试从文档库中打开 InfoPath 表单时,我收到以下错误消息:
不允许请求的注册表访问。在 System.ThrowHelper.ThrowSecurityException(ExceptionResource resource) 在 Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable) 在 Microsoft.Win32.RegistryKey.OpenSubKey(String name) 在 Microsoft.Win32.Registry.GetValue(String keyName, String valueName, Object defaultValue) 在 Microsoft.Office.InfoPath.Server.Runtime.FormServer.<>c__DisplayClass1.b__0() 在 Microsoft.Office.Server.Security.SecurityContext.RunAsProcess(CodeToRunElevated secureCode) 在 Microsoft.Office.InfoPath.Server。 Runtime.FormServer.DeterminePremiumSku() 在 Microsoft.Office.InfoPath.Server.Runtime.FormServer.get_IsPremium() 在 Microsoft.Office.InfoPath.Server.Controls.FormServerPage.OnInit(EventArgs e) 在 System.Web.UI.Control。