0

CRM 内の ISV フォルダに小さなアプリケーションを作成しようとしています。Visual Studio 2008 を使用して新しいアプリケーションを作成しました。それが行う唯一のことはResponse.Write("Hello world!")、onLoad 関数内にあります。これをコンパイルして、CRM の ISV ディレクトリにある仮想フォルダー (アプリ) にアップロードしました。crm.mycrm.nl:5555/ISV/app にアクセスすると、次のようになります。

「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、バージョン = 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
4

1 に答える 1

1

わかりました、私はそれを修正しました。問題は、アセンブリを CRMWeb フォルダーに配置し、aspx ファイルを ISV フォルダーに配置する必要があるということです。

于 2009-12-09T10:36:02.967 に答える