在ISV MS CRM 4.0中实现.NET应用程序 [英] Implementing a .NET application in ISV MS CRM 4.0

查看:116
本文介绍了在ISV MS CRM 4.0中实现.NET应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I'm trying to create a small application within CRM in the ISV folder. I created a new application using Visual studio 2008. The only thing it does is Response.Write("Hello world!") in the onLoad-function. I compiled it and uploaded it to a virtual folder (app) in the ISV directory in CRM. If I now go to crm.mycrm.nl:5555/ISV/app I get:


'Microsoft.Crm。 WebServices.Crm2007.CookieAndSoapHeaderAuthenticationProvider,
Microsoft.Crm.WebServices,版本= 4.0.0.0,区域性=中性,
PublicKeyToken = 31bf3856ad364e35'不存在。参数名称:
Microsoft.Crm.WebServices.Crm2007.CookieAndSoapHeaderAuthenticationProvider,
Microsoft.Crm.WebServices,Version = 4.0.0.0,Culture = neutral,
PublicKeyToken = 31bf3856ad364e35

'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

具有堆栈跟踪

[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


推荐答案

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

Okay, I fixed it. The thing is, you have to put your assemblies into the CRMWeb folder, and your aspx file into the ISV folder.

这篇关于在ISV MS CRM 4.0中实现.NET应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆