2009-12-09 63 views
0

我試圖在ISV文件夾中的CRM中創建一個小應用程序。 我使用Visual Studio 2008創建了一個新的應用程序。它所做的唯一的事情是onLoad函數中的Response.Write("Hello world!")。我將其編譯並上傳到CRM中的ISV目錄中的虛擬文件夾(應用程序)。 如果我現在去crm.mycrm.nl:5555/ISV/app我得到:在ISV MS CRM 4.0中實現.NET應用程序

「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,文化=中立, 公鑰= 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 

回答

1

好的,我修好了。問題是,您必須將您的程序集放入CRMWeb文件夾,並將aspx文件放入ISV文件夾中。

相關問題