首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >运行在System.Runtime.InteropServices.SEHException上的MVC System.Runtime.InteropServices.SEHException

运行在System.Runtime.InteropServices.SEHException上的MVC System.Runtime.InteropServices.SEHException
EN

Stack Overflow用户
提问于 2014-07-09 12:52:25
回答 1查看 812关注 0票数 1

我有一个MVC网站,是发布在Azure上。如果我在Visual上运行调试模式,一切正常,但是当我在本地iis上发布网站以便我可以快速调试和修改时,我得到了一个"System.Runtime.InteropServices.SEHException:外部组件引发了异常“,我收到的堆栈跟踪是

SEHException (0x80004005):外部组件引发了异常。(UInt16 16*,UInt16 16**) +0 Microsoft.WindowsAzure.ServiceRuntime.Internal.InteropRoleManager.GetConfigurationSetting(String name,String& ret) +184 Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment.GetConfigurationSettingValue(String configurationSettingName) +92 Microsoft.ApplicationServer.Caching.AzureCommon.TopologyHelper.TryGetServiceConfigurationSetting(String值,String& result) +56 Microsoft.ApplicationServer.Caching.AzureCommon.DiagnosticsUtility.GetDiagnosticLevel(String propertyName) +63 Microsoft.ApplicationServer.Caching.AzureCommon.DiagnosticsUtility.GetClientLogLevel() +30

TargetInvocationException:调用的目标引发了异常。System.RuntimeMethodHandle.InvokeMethod(Object目标,Object[]参数,签名sig,布尔构造函数) +0 System.Reflection.RuntimeMethodInfo.Invoke(Object obj,BindingFlags invokeAttr,binder绑定器,Object[]参数,CultureInfo区域性) +537 System.Reflection.MethodBase.Invoke(Object obj,Object[]参数) +35 Microsoft.ApplicationServer.Caching.DataCacheFactoryConfiguration.Initialize(String clientName) +233 Microsoft.Web.DistributedCache.DataCacheFactoryWrapper.CreateDataCacheFactoryConfiguration(String dataCacheClientName) +92 Microsoft.Web.DistributedCache.DistributedCacheSessionStateStoreProvider.CreateInternalProvider(IHttpRuntime httpRuntime,SessionInitializationData initData,httpRuntime dataCacheClientName,+74 Microsoft.Web.DistributedCache.DistributedCacheSessionStateStoreProvider.GetInternalProvider() +206 Microsoft.Web.DistributedCache.DistributedCacheSessionStateStoreProvider.CreateNewStoreData(HttpContext context,Int32超时值) +19 System.Web.SessionState.SessionStateModule.InitStateStoreItem(Boolean addToContext) +158 System.Web.SessionState.SessionStateModule.CompleteAcquireState() +356 System.Web.SessionState.SessionStateModule.BeginAcquireState(Object源,EventArgs e,AsyncCallback cb,Object extraData) +1093 System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +570 System.Web.HttpApplication.ExecuteStep(IExecutionStep step,布尔& completedSynchronously) +1536

请知道如何解决这个问题吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-07-10 14:06:29

问题是Azure缓存。我很快就禁用了聊天,它已经开始工作了(必须在调试上运行项目才能启动蔚蓝仿真器服务,但它现在起作用了)

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/24654226

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档