我正在开发用于执行CRUD的Microsoft Dynamics CRM 2013的Web门户。我在创建帐户记录时遇到问题。帐户实体有选项集行业类型,我试图从网络门户设置它。我已经写了。System.Security.SecurityException在Microsoft Dynamics CRM 2013
Entity account = new Entity("account");
account["name"] = txtAccountName.Value;
account["industrycode"] = new OptionSetValue(int.Parse(selectIndustryType.Value));
proxy.Create(account);
我只能通过名字,因为它是强制性的创建帐户记录。每当我尝试使用选项设置值创建帐户记录时,CRM抛出System.Security.SecurityException异常。 可能是什么问题?
** System.Security.SecurityException:Microsoft Dynamics CRM中遇到错误。管理员或支持人员的参考号码:#810A1FC2 **是发现的异常 – Nachiket 2015-02-23 13:00:46