Web services WCF服务中的System.ServiceModel.ServiceActivationException

Web services WCF服务中的System.ServiceModel.ServiceActivationException,web-services,model-view-controller,visual-studio-2010,Web Services,Model View Controller,Visual Studio 2010,我们最近从VS 2008移动到VS 2010。有了这些,我的应用程序现在运行的是.NET4.0框架和MVC2.0。在我的本地机器上做了一点转换之后,MVC项目和被引用的服务项目都在我的本地机器上无缝运行 接下来,我将新的MVC应用程序复制到开发机器上的虚拟目录中,并将其重新分配到.NET4.0 之后,我将新的服务应用程序复制到它的虚拟机上,并将其重新分配到.NET4.0 每当我在开发服务器上的新MVC应用程序中调用我的服务时,我的问题就会出现。我收到以下错误/堆栈跟踪: System.Servi

我们最近从VS 2008移动到VS 2010。有了这些,我的应用程序现在运行的是.NET4.0框架和MVC2.0。在我的本地机器上做了一点转换之后,MVC项目和被引用的服务项目都在我的本地机器上无缝运行

接下来,我将新的MVC应用程序复制到开发机器上的虚拟目录中,并将其重新分配到.NET4.0

之后,我将新的服务应用程序复制到它的虚拟机上,并将其重新分配到.NET4.0

每当我在开发服务器上的新MVC应用程序中调用我的服务时,我的问题就会出现。我收到以下错误/堆栈跟踪:

System.ServiceModel.ServiceActivationException, System.ServiceModel,版本=4.0.0.0, 文化=中立, PublicKeyToken=b77a5c561934e089
消息:请求的服务, '' 无法激活。
有关详细信息,请参阅服务器的诊断跟踪日志 更多信息。
来源:mscorlib
数据:System.Collections.ListDictionaryInternal
TargetSite:Void HandleReturnMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessage)
服务器堆栈跟踪:
在System.ServiceModel.Security.IssuanceTokenProviderBase
1.Donegationation(时间跨度
超时)
在System.ServiceModel.Security.SspiNegotiationTokenProvider.OnOpen(TimeSpan 超时)
打开System.ServiceModel.Channels.CommunicationObject.Open(时间跨度 超时)
在System.ServiceModel.Security.SymmetricSecurityProtocol.OnOpen(TimeSpan 超时)
打开System.ServiceModel.Channels.CommunicationObject.Open(时间跨度 超时)
在System.ServiceModel.Channel.SecurityChannel工厂
1.ClientSecurityChannel
1.OnOpen(时间跨度
超时)
打开System.ServiceModel.Channels.CommunicationObject.Open(时间跨度 超时)
位于System.ServiceModel.Security.SecuritySessionSecurityTokenProvider.DoOperation(SecuritySessionOperation 操作,端点地址目标,Uri 通过,SecurityToken currentToken, TimeSpan超时)
位于System.ServiceModel.Security.SecuritySessionSecurityTokenProvider.GetTokenCore(TimeSpan 超时)
位于System.IdentityModel.Selectors.SecurityTokenProvider.GetToken(TimeSpan 超时)
在System.ServiceModel.Security.SecuritySessionClient设置中
1.ClientSecuritySessionChannel.OnOpen(TimeSpan 超时)
打开System.ServiceModel.Channels.CommunicationObject.Open(时间跨度 超时)
在System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan 超时)
打开System.ServiceModel.Channels.CommunicationObject.Open(时间跨度 超时)
在System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan 超时,CallonManager级联)
在System.ServiceModel.Channels.ServiceChannel.com重新打开(时间跨度 超时)
在System.ServiceModel.Channels.ServiceChannel.Call(字符串 动作,布尔单向, ProxyOperationRuntime操作, 对象[]输入,对象[]输出,时间跨度 超时)
位于System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage 方法调用,ProxyOperationRuntime 操作)
在System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage)中 (信息)

reqMsg,IMessage retMsg)
在System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData)中& msgData,Int32类型)
在RugsDirect.Mvc.CreditCardAuthorization.ICreditCardAuthorization.AuthorizationCreditCard(CreditCardAuthRequest 请求)
在RugsDirect.Mvc.CreditCardAuthorization.CreditCardAuthorizationClient.AuthorizationCreditCard(CreditCardAuthRequest 请求)
位于RugsDirect.Mvc.Controllers.CartController.SendAuthorizationRequest(PurchaseInformationModel 模型)

我可以进入IIS并浏览此服务。没问题,我的配置文件和映射端点上的所有内容看起来都井然有序

如果有人能为我指出解决这个问题的正确方向,我将不胜感激

提前感谢,,
Billy

了解到此服务正在调用的dll实际上存在问题。

您是否查看了服务器的诊断日志(如被告知的那样)?否。它们确切位于何处?我看了看没有任何真正方向的偶数日志。
Exception rethrown at [0]:   
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage