JP *_*ons 10 asp.net iis yellow-screen-of-death visual-studio
我已经达到了死亡的黄页.所以我用Google搜索了这条消息:
[SEHException(0x80004005):Een extern onderdeel heeft een uitzondering veroorzaakt.] Microsoft.VisualStudio.Web.PageInspector.Runtime.NativeMethods.CloseHandle(IntPtr hHandle)+0 Microsoft.VisualStudio.Web.BrowserLink.Runtime.ArteryConnectionUtil.MappedFileExists(String fileName )+39 Microsoft.VisualStudio.Web.BrowserLink.Runtime.ArteryConnectionUtil.ReadAllLinesFrom(String fileName)+66 Microsoft.VisualStudio.Web.BrowserLink.Runtime.ArteryConnectionUtil.GetAllInstanceFileNames()+67 Microsoft.VisualStudio.Web.BrowserLink.Runtime.ArteryConnectionUtil .FindArteryConnection(String applicationPhysicalPath,ArteryConnectionData&connection)+48 Microsoft.VisualStudio.Web.PageInspector.Runtime.Tracing.PageInspectorHttpModule.OnPreRequestHandlerExecute(Object sender,EventArgs e)+351 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute ()+142 System.Web.HttpApplication.ExecuteStep(IExecutionStep step,Boolean&completedSynchronously)+96
我有Win 8.1 x64并以管理员身份运行VS并使用IIS来托管我的mvc 5项目.我已经将这个添加到我的web.config来压制异常,正如我在谷歌找到的其他一些stackoverflow问题中提到的那样:
<assemblyBinding>
<dependentAssembly>
<assemblyIdentity name="Microsoft.VisualStudio.Web.PageInspector.Runtime" publicKeyToken="b03f5f7f11d50a3a" />
<bindingRedirect oldVersion="0.0.0.0-14.0.0.0" newVersion="12.3.0.0" />
</dependentAssembly>
</assemblyBinding>
Run Code Online (Sandbox Code Playgroud)
问题是我禁用了browserlink.我在firefox和chrome中有这个,所以它似乎是一个crossbrowser/non-browser bug.我有这个在visual studio 2013.4和2015 ctp6(不确定哪个ctp是当前的atm)IIS Express似乎工作,但这只是一个解决方法.如果我坚持要从IIS网络服务器托管,该怎么办?
归档时间: |
|
查看次数: |
1014 次 |
最近记录: |