【问题标题】:Implementing a .NET application in ISV MS CRM 4.0在 ISV MS CRM 4.0 中实现 .NET 应用程序
【发布时间】:2009-12-09 09:53:50
【问题描述】:

我正在尝试在 ISV 文件夹中的 CRM 中创建一个小型应用程序。 我使用 Visual Studio 2008 创建了一个新应用程序。它唯一做的事情是 onLoad 函数中的Response.Write("Hello world!")。我编译它并将其上传到 CRM 中 ISV 目录中的虚拟文件夹(应用程序)。 如果我现在去 crm.mycrm.nl:5555/ISV/app 我得到:

'Microsoft.Crm.WebServices.Crm2007.CookieAndSoapHeaderAuthenticationProvider, Microsoft.Crm.WebServices,版本=4.0.0.0,文化=中性, PublicKeyToken=31bf3856ad364e35' 不存在。参数名称: Microsoft.Crm.WebServices.Crm2007.CookieAndSoapHeaderAuthenticationProvider, Microsoft.Crm.WebServices,版本=4.0.0.0,文化=中性, PublicKeyToken=31bf3856ad364e35

带有堆栈跟踪

[ArgumentException: 'Microsoft.Crm.WebServices.Crm2007.CookieAndSoapHeaderAuthenticationProvider, Microsoft.Crm.WebServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' doesn't exist.
Parameter name: Microsoft.Crm.WebServices.Crm2007.CookieAndSoapHeaderAuthenticationProvider, Microsoft.Crm.WebServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]
   Microsoft.Crm.Authentication.BaseAuthenticationSettings.CreateType(String typeName, Type requiredBaseType) +265
   Microsoft.Crm.Authentication.BaseAuthenticationSettings.CreateProvider(String typeName, IDictionary`2 configuration) +28
   Microsoft.Crm.Authentication.AuthenticationPipelineSettings.LoadPipeline() +262
   Microsoft.Crm.Authentication.AuthenticationPipelineSettings.get_AuthenticationProvider() +16
   Microsoft.Crm.Authentication.AuthenticationEngine.Execute(Object sender, EventArgs e) +524
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

【问题讨论】:

    标签: dynamics-crm dynamics-crm-4


    【解决方案1】:

    好的,我修好了。问题是,您必须将程序集放入 CRMWeb 文件夹,并将您的 aspx 文件放入 ISV 文件夹。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-05-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多