在使用CrmService往数据库批量Create记录时,为了提高性能经常会设置PreAuthenticate为true,但是如果在创建记录前,往往需要RetrieveMultiple其他实体来查找lookup的值,这样在程序运行时经常会发生HTTP status 401: Unauthorized错误,所以建议这样的情况下不要
设置PreAuthenticate为true。
posted on 2008-12-07 22:31  Batistuta Cai  阅读(1070)  评论(6编辑  收藏  举报