MSCRM OpenThreadToken failed with hr = 1008
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.
Exception Details: System.InvalidOperationException: OpenThreadToken failed
with hr = 1008
Source Error:
Line 27: //Wrap all your CRM Web Service Code in a using block
Line 28:
Line 29: using (new CrmImpersonator())
Line 30: {
Line 31:
The CrmImpersonator only works when your web page in executed in the context
posted on 2011-08-31 13:53 Lost In Republic 阅读(599) 评论(0) 编辑 收藏 举报