zoukankan      html  css  js  c++  java
  • 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

    The CrmImpersonator only works when your web page in executed in the context
    of CRM. While running in your dev environment, it fails. Developing ASP.NET
    applications for Microsoft Dynamics CRM 4.0
    (http://www.stunnware.com/crm2/topic.aspx?id=ASPNET1) should help.
    
  • 相关阅读:
    第七周上机
    第六周作业
    第六周上机作业
    第五周上机作业
    java第四周作业
    上机作业
    第三次java作业
    java作业
    第七周作业
    JAVA第七周上机作业
  • 原文地址:https://www.cnblogs.com/Republic/p/2160667.html
Copyright © 2011-2022 走看看