0

通过 CRM 性能工具包导入数据时出现以下错误。请帮忙解决:

System.Security.SecurityException:不允许请求的注册表访问。在 Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable) at System.Diagnostics.PerformanceCounterLib.CreateRegistryEntry(String categoryName, PerformanceCounterCategoryType categoryType, CounterCreationDataCollection creationData, Boolean & iniRegistered) at System.Diagnostics.PerformanceCounterLib.RegisterCategory(String categoryName, PerformanceCounterCategoryType categoryType , String categoryHelp, CounterCreationDataCollection creationData) at System.Diagnostics.PerformanceCounterCategory.Create(String categoryName, String categoryHelp, PerformanceCounterCategoryType categoryType, CounterCreationDataCollection counterData) at dbPopulator.DbPopulator.Main(String[] args) 失败的程序集区域是:MyComputer

4

1 回答 1

2

可能是因为您运行工具包的帐户没有足够的权限。看起来该工具包正在尝试向事件写入一些内容。尝试以服务器管理员身份运行以排除任何权限问题。

相关信息:当您尝试创建自定义事件日志时,您会收到“不允许访问请求的注册表”错误消息

于 2013-09-17T10:07:52.130 回答