升级Win10后Markdown Pad2启动报错‘Awesomium.Windows.Controls.WebControl’解决方法
問題描述
電腦系統升級Win10后啟動不了Markdown Pad2,報錯’Awesomium.Windows.Controls.WebControl’,如下圖:
之前也一直在Win10平臺上使用Markdown Pad2,但是只是出現HTML渲染不了的問題,下載一個awesomium 軟件即可使用,但是前幾天重裝了Win10系統后,再次使用就出現了這個問題。很討厭的一個問題!不過最后還是解決了~~~
解決方案
先獻上解決方案:
修改注冊表:
按Win+R運行regedit,修改下面的值為0就可以了
再次啟動Markdown Pad2,這次只是報了HTML渲染的錯誤,安裝好那個awesomium 軟件就可以了。
解決思路
在解決這個問題之前,將錯誤在放在網上搜了很久,有很多朋友遇到了和我同樣的問題,但是還沒解決。沒辦法,只能自己看看report bug,看看能不能解決。
------------------------------------------------ Exception Information: System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'Awesomium.Windows.Controls.WebControl' that matches the specified binding constraints threw an exception. ---> System.TypeInitializationException: The type initializer for 'Awesomium.Windows.Controls.WebControl' threw an exception. ---> System.InvalidOperationException: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.at System.Security.Cryptography.RijndaelManaged..ctor()at Qmf6XFM6XpO7bnkn78.paNwq4afhC7oFjklRx.P0HCvAPk4W(Int32 )at Awesomium.Windows.Controls.WebControl..cctor()--- End of inner exception stack trace ---at Awesomium.Windows.Controls.WebControl..ctor()--- End of inner exception stack trace ---at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)at System.Windows.Application.LoadComponent(Uri resourceLocator, Boolean bSkipJournaledProperties)at System.Windows.Application.DoStartup()at System.Windows.Application.<.ctor>b__1_0(Object unused)at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) ------------------------------------------------很幸運,看到了這句:
---> System.InvalidOperationException: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.英文不好,大致意思就是說:Windows平臺FIPS驗證的加密算法不支持這個實現。
問題的癥結似乎就在這,將這句話放到網上,看到了一個玩游戲的哥們發的帖子,也遇到了同樣的問題,有個大神給解決了。也不確定能不能解決我的問題,就試著修改了一下注冊表,OMG,居然可以了,好神奇。
FIPS
FIPS(Federal Information Processing Standards)即(美國)聯邦信息處理標準。它是批準技術與標準國家協會 ( National Institute of Standards and Technology ) 為聯邦計算機系統制定的標準和指南。
聯邦信息處理標準(Federal Information Processing Standards,FIPS)是一套描述文件處理、加密算法和其他信息技術標準(在非軍用政府機構和與這些機構合作的政府承包商和供應商中應用的標準)的標準。
具體為什么會和這個沖突,就不知道為啥了,希望能有Windows大神解釋一下。
總結
以上是生活随笔為你收集整理的升级Win10后Markdown Pad2启动报错‘Awesomium.Windows.Controls.WebControl’解决方法的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 自我祝贺
- 下一篇: 大数据项目实训教学解决方案