我正在试图在CRM中的ISV文件夹中创建一个小应用程序。
我使用Visual Studio 2008创建了一个新的应用程序。唯一能做的就是
Response.Write("Hello world!")
在onload函数中。我编译了它,并将它上传到了CRM中ISV目录下的一个虚拟文件夹(app)。
如果我现在转到crm.mycrm.nl:5555/isv/app,我会得到:
'microsoft.crm.webservices.crm2007.cookie和soapheaderAuthenticationProvider,
Microsoft.CRM.WebServices,版本=4.0.0.0,区域性=中性,
publicKeyToken=31BF3856AD364E35'不存在。参数名称:
Microsoft.CRM.WebServices.CRM2007.Cookie和SoapHeaderAuthenticationProvider,
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