Windows Azureロール環境を呼び出すと、このエラーが発生します。DotNetOpenAuth.OAuth.Common.dllをCopyLocal=Trueとして確認しました。
何か案が?
System.TypeInitializationExceptionがキャッチされましたHResult=-2146233036
Message=''の型初期化子が例外をスローしました。
Source = Microsoft.WindowsAzure.ServiceRuntime TypeName =
StackTrace:Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment.GetLocalResource(String localResourceName)at Platform.Services.Api.Common.FileStorage.GetFilePath(String azureLocalResourceNameFromServiceDefinition、String blobContainer、String fileName)in d:\ TFS Project \ DEV \ Platform \ Platform .Development \ Platform.Services.Api \ Common \ FileStorage.cs:line 16 at Platform.Services.Api.Controllers.ReportingController.PrintProcessInteraction(Int64 id)in d:\ TFS Project \ DEV \ Platform \ Platform.Development\Platform。 Services.Api \ Controllers \ ReportingController.cs:line 217 InnerException:.ModuleLoadException HResult = -2146233088メッセージ=デフォルトのアプリドメインを初期化しようとしたときに、C++モジュールを読み込めませんでした。Source=msshrtmi StackTrace: at <CrtImplementationDetails>.ThrowModuleLoadException(String
errorMessage、Exception innerException)at .LanguageSupport.Initialize(LanguageSupport *)at .cctor()InnerException:System.Runtime.Serialization.SerializationException HResult = -2146233076 Message = Unable to find assembly'DotNetOpenAuth.OAuth.Common、Version = 4.2.0.0 、Culture = neutral、PublicKeyToken =2780ccd10d57b246'。Source = mscorlib StackTrace:サーバースタックトレース:System.Runtime.Serialization.Formatters.Binary.BinaryAssemblyInfo.GetAssembly()at System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetType(BinaryAssemblyInfo assemblyInfo、String name)at System.Runtime .Serialization.Formatters.Binary.ObjectMap..ctor(String objectName、String [] memberNames、System.Runtime.Serialization.Formatters.BinaryのBinaryParser.ReadObjectWithMapTyped(BinaryObjectWithMapTypedレコード)。_BinaryParser.Run()at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler、__BinaryParser serParser、Boolean fCheck、Boolean isCrossAppDomain、IMethodCallMessage methodCallMessage)at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize( System.Runtime.Remoting.Channels.CrossAppDomainSerializer.DeserializeObject(MemoryStream stm)at System.Runtime.Remoting.Messaging.SmuggledMethodCallMessage.FixupForNewAppDomain()at System.Runtime.Remoting.Channels.CrossAppDomainSerializer.DeserializeObject(MemoryStream stm)at System.Runtime.Remoting.Channels.CrossAppDomainSerializer.DeserializeObject(MemoryStream stm)at System. Remoting.Channels.CrossAppDomainSink.DoDispatch(Byte [] reqStmBuff、SmuggledMethodCallMessage smuggledMcm、SmuggledMethodReturnMessage&smuggledMrm)at System.Runtime.Remoting.Channels.CrossAppDomainSink.DoTransitionDispatchCallback(Object [] args)例外が[0]で再スローされました:at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg、IMessage retMsg Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&msgData、Int32 type)at System.AppDomain.get_Id()at .DoCallBackInDefaultDomain(IntPtr function、Void * cookie)at .DefaultDomain.Initialize()at .LanguageSupport.InitializeDefaultAppDomain(Language )at .LanguageSupport._Initialize(LanguageSupport *)at.LanguageSupport。Initialize(LanguageSupport *)InnerException: