<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3476618227350249444</id><updated>2024-10-03T04:39:08.196+08:00</updated><category term="Web Forms"/><category term=".NET Framework"/><category term="ASP.NET"/><category term="vs2010"/><category term="Visual Studio 2010"/><category term="16:9"/><category term="2010"/><category term="3417 (0xD59)"/><category term="ASP.NET debugging enabled"/><category term="ASP.NET version disclousure"/><category term="BCB"/><category term="C# Folder browse Dialog not showing Network shared folders win8/Win10"/><category term="CRITICAL ISSUES"/><category term="CS0656"/><category term="Clickjacking"/><category term="Cookie with missing"/><category term="Cookie without SameSite attribute"/><category term="Data Providers"/><category term="Dell"/><category term="Excel"/><category term="Front LED Panel"/><category term="HSTS"/><category term="IE10"/><category term="IE11"/><category term="Internet Explorer 10"/><category term="LinkButton"/><category term="Linux 5.x.x"/><category term="MS SQL SERVER 2008"/><category term="MS sql 2008"/><category term="MSSQLSERVER"/><category term="Microsoft.CSharp.RuntimeBinder.Binder.Convert"/><category term="Missing compiler required member"/><category term="Moxa"/><category term="NTP"/><category term="Nport"/><category term="Office 2007"/><category term="Outlook"/><category term="PowerPoint"/><category term="RFC 6797"/><category term="Remove"/><category term="SCRIPT1733"/><category term="SDXC"/><category term="SNTP"/><category term="System.Resources.Extensions"/><category term="TTY drivers"/><category term="Tag is invalid"/><category term="Time Server"/><category term="Unable to Locate the.NET SDK"/><category term="Unencrypted __VIEWSTATE parameter"/><category term="VS 2010 Full Uninstall"/><category term="VS install"/><category term="Visual Studio"/><category term="Visual Studio 2019"/><category term="Visual Studio 2022"/><category term="Windows XP"/><category term="X-Frame-Options header missing"/><category term="XP"/><category term="XSD"/><category term="blog"/><category term="cc3260mt.dll"/><category term="exFAT"/><category term="fail"/><category term="getfactory exception argument exception"/><category term="global.json"/><category term="iDrac"/><category term="load"/><category term="ppt"/><category term="ppt 16:9"/><category term="ratio"/><category term="sql 3417"/><category term="ubuntu 20.04"/><category term="一百景點"/><category term="伺服器管理員"/><category term="值不能為null。參數名稱:instance"/><category term="兩邊有黑邊"/><category term="安裝時發生錯誤"/><category term="找不到.NET SDK"/><category term="投影片 16:9"/><category term="服務因服務定的錯誤而終止，無法啟動"/><category term="比例"/><category term="祭祀"/><category term="程式碼範例"/><category term="資料表修改"/><category term="超過允許的範圍"/><category term="防止儲存變更"/><category term="防止儲存需要資料表重建的變更"/><category term="附件"/><title type='text'>magicwj</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.magicwj.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://www.magicwj.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>44</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3476618227350249444.post-5056906516291207580</id><published>2023-12-07T10:45:00.004+08:00</published><updated>2023-12-07T10:45:37.462+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".NET Framework"/><category scheme="http://www.blogger.com/atom/ns#" term="System.Resources.Extensions"/><title type='text'>.Net Framewok 4.8 遇到System.IO.FileLoadException 無法載入檔案或組件 System.Resources.Extensions 0x80131040</title><content type='html'>&lt;p&gt;為了sonarque可以跑在.net framework 4.8 WinForm的程式用了nuget 加了&amp;nbsp;&lt;span face=&quot;Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;&quot; style=&quot;color: #0f0f0f; font-size: 16px; white-space-collapse: preserve;&quot;&gt;System.Resources.Extensions 這個元件 然後終於可以跑了但是&lt;/span&gt;&lt;br /&gt;建置時都正常&lt;/p&gt;&lt;p&gt;但是在runtime的時候出現以下錯誤的exception&amp;nbsp;&lt;br /&gt;&lt;span face=&quot;Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;&quot; style=&quot;color: #0f0f0f; font-size: 16px; white-space-collapse: preserve;&quot;&gt;System.IO.FileLoadException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089無法載入檔案或組件 &#39;System.Resources.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51&#39; 或其相依性的其中之一。 找到的組件資訊清單定義與組件參考不符。 (發生例外狀況於 HRESULT: 0x80131040)
&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhW1BwP04ASVew5VaEmhkYxPG7S-WMZWSOH1HwrTlgKu-A607EZAZcLymZPIuh9asDutFneNAQc7pGPrvuIFuke_W6QN7XZK2QKScHMozvsbdMjixogwOrzOGxUWHfPDoBE352mHsyVTbxrwpWFnLk5ysSU5XR_gWZqfp8GVst96NNm-EfcykPRl-MrMPg/s527/%E6%88%AA%E5%9C%96%202023-12-07%20%E4%B8%8A%E5%8D%8810.34.34.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;204&quot; data-original-width=&quot;527&quot; height=&quot;124&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhW1BwP04ASVew5VaEmhkYxPG7S-WMZWSOH1HwrTlgKu-A607EZAZcLymZPIuh9asDutFneNAQc7pGPrvuIFuke_W6QN7XZK2QKScHMozvsbdMjixogwOrzOGxUWHfPDoBE352mHsyVTbxrwpWFnLk5ysSU5XR_gWZqfp8GVst96NNm-EfcykPRl-MrMPg/s320/%E6%88%AA%E5%9C%96%202023-12-07%20%E4%B8%8A%E5%8D%8810.34.34.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;上網google 都找不到什麼東西 &lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Söhne, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, Helvetica Neue, Arial, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji&quot; style=&quot;color: #0f0f0f;&quot;&gt;&lt;span style=&quot;white-space-collapse: preserve;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Söhne, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, Helvetica Neue, Arial, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji&quot; style=&quot;color: #0f0f0f;&quot;&gt;&lt;span style=&quot;white-space-collapse: preserve;&quot;&gt;後來發現解法就是需要再project 的加上&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #e3e6e8; color: #0c0d0e; font-family: ui-monospace, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Segoe UI Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, Menlo, Monaco, Consolas, monospace; font-size: 13px; white-space-collapse: preserve;&quot;&gt;&amp;lt;GenerateResourceUsePreserializedResources&amp;gt;True&amp;lt;/GenerateResourceUsePreserializedResources
&lt;/span&gt;&lt;span style=&quot;color: #0f0f0f; white-space-collapse: preserve;&quot;&gt;然後在app.config 加上 以下程式碼 看你裝的是8.0.0.0就newVersion就是8.0.0.0&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Söhne, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, Helvetica Neue, Arial, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji&quot; style=&quot;color: #0f0f0f;&quot;&gt;&lt;span style=&quot;background-color: white; white-space-collapse: preserve;&quot;&gt;然後就可以跑了 記錄一下&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;color: #a31515; font-family: Helvetica; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 9.5px; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;runtime&lt;span class=&quot;s1&quot; style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p2&quot; style=&quot;color: blue; font-family: Helvetica; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 9.5px; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;lt;&lt;span class=&quot;s2&quot; style=&quot;color: #a31515;&quot;&gt;assemblyBinding&lt;/span&gt; &lt;span class=&quot;s3&quot; style=&quot;color: red;&quot;&gt;xmlns&lt;/span&gt;=&lt;span class=&quot;s4&quot; style=&quot;color: black;&quot;&gt;&quot;&lt;/span&gt;urn:schemas-microsoft-com:asm.v1&lt;span class=&quot;s4&quot; style=&quot;color: black;&quot;&gt;&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;color: #a31515; font-family: Helvetica; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 9.5px; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;lt;&lt;/span&gt;dependentAssembly&lt;span class=&quot;s1&quot; style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p2&quot; style=&quot;color: blue; font-family: Helvetica; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 9.5px; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;lt;&lt;span class=&quot;s2&quot; style=&quot;color: #a31515;&quot;&gt;assemblyIdentity&lt;/span&gt; &lt;span class=&quot;s3&quot; style=&quot;color: red;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;s4&quot; style=&quot;color: black;&quot;&gt;&quot;&lt;/span&gt;System.Resources.Extensions&lt;span class=&quot;s4&quot; style=&quot;color: black;&quot;&gt;&quot;&lt;/span&gt; &lt;span class=&quot;s3&quot; style=&quot;color: red;&quot;&gt;culture&lt;/span&gt;=&lt;span class=&quot;s4&quot; style=&quot;color: black;&quot;&gt;&quot;&lt;/span&gt;neutral&lt;span class=&quot;s4&quot; style=&quot;color: black;&quot;&gt;&quot;&lt;/span&gt; &lt;span class=&quot;s3&quot; style=&quot;color: red;&quot;&gt;publicKeyToken&lt;/span&gt;=&lt;span class=&quot;s4&quot; style=&quot;color: black;&quot;&gt;&quot;&lt;/span&gt;cc7b13ffcd2ddd51&lt;span class=&quot;s4&quot; style=&quot;color: black;&quot;&gt;&quot;&lt;/span&gt; /&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p2&quot; style=&quot;color: blue; font-family: Helvetica; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 9.5px; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;lt;&lt;span class=&quot;s2&quot; style=&quot;color: #a31515;&quot;&gt;bindingRedirect&lt;/span&gt; &lt;span class=&quot;s3&quot; style=&quot;color: red;&quot;&gt;oldVersion&lt;/span&gt;=&lt;span class=&quot;s4&quot; style=&quot;color: black;&quot;&gt;&quot;&lt;/span&gt;0.0.0.0-4.0.0.0&lt;span class=&quot;s4&quot; style=&quot;color: black;&quot;&gt;&quot;&lt;/span&gt; &lt;span class=&quot;s3&quot; style=&quot;color: red;&quot;&gt;newVersion&lt;/span&gt;=&lt;span class=&quot;s4&quot; style=&quot;color: black;&quot;&gt;&quot;&lt;/span&gt;8.0.0.0&lt;span class=&quot;s4&quot; style=&quot;color: black;&quot;&gt;&quot;&lt;/span&gt; /&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;color: #a31515; font-family: Helvetica; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 9.5px; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;lt;/&lt;/span&gt;dependentAssembly&lt;span class=&quot;s1&quot; style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;color: #a31515; font-family: Helvetica; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 9.5px; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;lt;/&lt;/span&gt;assemblyBinding&lt;span class=&quot;s1&quot; style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;color: #a31515; font-family: Helvetica; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 9.5px; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;runtime&lt;span class=&quot;s1&quot; style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;color: #a31515; font-family: Helvetica; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 9.5px; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;color: #a31515; font-family: Helvetica; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 9.5px; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;color: #a31515; font-family: Helvetica; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 9.5px; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Söhne, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, Helvetica Neue, Arial, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji&quot; style=&quot;color: #0f0f0f;&quot;&gt;&lt;span style=&quot;white-space-collapse: preserve;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.magicwj.com/feeds/5056906516291207580/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3476618227350249444/5056906516291207580' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/5056906516291207580'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/5056906516291207580'/><link rel='alternate' type='text/html' href='http://www.magicwj.com/2023/12/net-framewok-48-systemiofileloadexcepti.html' title='.Net Framewok 4.8 遇到System.IO.FileLoadException 無法載入檔案或組件 System.Resources.Extensions 0x80131040'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhW1BwP04ASVew5VaEmhkYxPG7S-WMZWSOH1HwrTlgKu-A607EZAZcLymZPIuh9asDutFneNAQc7pGPrvuIFuke_W6QN7XZK2QKScHMozvsbdMjixogwOrzOGxUWHfPDoBE352mHsyVTbxrwpWFnLk5ysSU5XR_gWZqfp8GVst96NNm-EfcykPRl-MrMPg/s72-c/%E6%88%AA%E5%9C%96%202023-12-07%20%E4%B8%8A%E5%8D%8810.34.34.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3476618227350249444.post-673027778489714518</id><published>2022-09-23T12:21:00.002+08:00</published><updated>2022-09-24T10:50:24.283+08:00</updated><title type='text'>ASP.NET Core jQuery AJAX 回應出現400</title><content type='html'>&lt;p&gt;在寫jQuery 的AJAX 的時候 response 給我400 參數也都對就是進不到controller的程式碼&lt;br /&gt;&lt;/p&gt;&lt;p&gt;上網照了一下 原來是header 少了RequestVerificationToken&lt;/p&gt;&lt;p&gt;如下取得RequestVerificationToken 的值 然後在AJAX的header加上RequestVerificationToken就可以了&lt;/p&gt;&lt;p&gt;var t = $(&quot;input[name=&#39;__RequestVerificationToken&#39;]&quot;).val();&lt;/p&gt;&lt;p&gt;function () {&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;$.ajax&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ({&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; url: &quot;XXX&quot;,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; headers:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;RequestVerificationToken&quot;: t&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; },&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; method: &quot;POST&quot;,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; data: { xxx: xxx,}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; );&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; });&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;然後這樣正常之後 然後 同一頁面 顯示另一個資料時竟然又出現400&lt;/p&gt;&lt;p&gt;用開發者工具的Network 看了一下 竟然header的token沒出現 不是一樣的程式嗎？&lt;/p&gt;&lt;p&gt;原來這個token是因為在Program.cs有寫了&lt;/p&gt;&lt;p&gt;builder.Services.AddControllersWithViews(options =&amp;gt; {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;options.Filters.Add(new AutoValidateAntiforgeryTokenAttribute());&lt;/p&gt;&lt;p&gt;});&lt;/p&gt;&lt;p&gt;但是要有form 才會出現這個token 剛好我換一筆資料並沒有產生任何form 所以就沒有token了 找個地方加上&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: #e8bf6a; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 15px; white-space: pre-wrap;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot; style=&quot;box-sizing: border-box;&quot;&gt;form&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot; style=&quot;box-sizing: border-box; color: #6d9cbe;&quot;&gt;method&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot; style=&quot;box-sizing: border-box; color: #a5c261;&quot;&gt;&quot;post&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;background-color: #232323; color: #e6e1dc; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 15px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: #e8bf6a; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 15px; white-space: pre-wrap;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-name&quot; style=&quot;box-sizing: border-box;&quot;&gt;form&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;就正常了&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.magicwj.com/feeds/673027778489714518/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3476618227350249444/673027778489714518' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/673027778489714518'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/673027778489714518'/><link rel='alternate' type='text/html' href='http://www.magicwj.com/2022/09/aspnet-core-jquery-ajax-400.html' title='ASP.NET Core jQuery AJAX 回應出現400'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3476618227350249444.post-5680727600615520235</id><published>2021-12-24T11:05:00.003+08:00</published><updated>2021-12-24T11:07:30.267+08:00</updated><title type='text'>如何從把原本在MAC的Parallels desktop 的windows 10的虛擬機升級到windows 11, Parallels Desktop windows 10 VM upgrade to windows 11 on a MAC</title><content type='html'>&lt;p&gt;Windows 11已經出一段時間了&amp;nbsp;&lt;/p&gt;&lt;p&gt;但是parallels desktop的win10 vm一直沒有出現更新windows 11&lt;/p&gt;&lt;p&gt;結果是我的VM不符合windows 11升級之資格&lt;/p&gt;&lt;p&gt;要把Parallels Desktop 的Windows 10 VM升級到Windows 11有些步驟&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #ff00fe;&quot;&gt;Some steps to upgrade Parallels Desktop&#39;s Windows 10 VM to Windows 11&lt;/span&gt;&lt;/p&gt;&lt;p&gt;1.要把Parallels Desktop 升級到17.1以後版本&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #ff00fe;&quot;&gt;1. To upgrade Parallels Desktop to version 17.1 or later&lt;/span&gt;&lt;/p&gt;&lt;p&gt;2.需把win10 VM升級到2004之後的版本&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #ff00fe;&quot;&gt;2. Need to upgrade win10 VM to the version after 2004&lt;/span&gt;&lt;/p&gt;&lt;p&gt;3.VM記憶體需要有4GB以上,儲存空間需有64GB以上,Win10 需有正版授權&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #ff00fe;&quot;&gt;3.VM memory needs to be 4GB or more, storage space needs to be 64GB or more, and Win10 needs a genuine license&lt;/span&gt;&lt;/p&gt;&lt;p&gt;4.把VＭ關機&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #ff00fe;&quot;&gt;4.Turn off the VM&lt;/span&gt;&lt;/p&gt;&lt;p&gt;5.在Win10 VM的控制中心組態的硬體 左下角的+號按下去增加 TPM晶片的硬體&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #ff00fe;&quot;&gt;5.&lt;span style=&quot;background-color: white; font-family: &amp;quot;Helvetica Neue LT W1G&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, Tahoma, sans-serif; font-size: 16px;&quot;&gt;Open VM&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://kb.parallels.com/en/117287&quot; style=&quot;box-sizing: border-box; font-family: &amp;quot;Helvetica Neue LT W1G&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, Tahoma, sans-serif; font-size: 16px; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;configuration settings&lt;/a&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;Helvetica Neue LT W1G&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, Tahoma, sans-serif; font-size: 16px;&quot;&gt;&amp;nbsp;&amp;gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;Helvetica Neue LT W1G&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, Tahoma, sans-serif; font-size: 16px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; box-sizing: border-box; font-family: &amp;quot;Helvetica Neue LT W1G&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, Tahoma, sans-serif; font-size: 16px; font-weight: 700;&quot;&gt;Hardware&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;Helvetica Neue LT W1G&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, Tahoma, sans-serif; font-size: 16px;&quot;&gt;&lt;span style=&quot;color: #ff00fe;&quot;&gt;Scroll down the hardware list&amp;nbsp;and check if the TPM chip is added:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;如下parallels的介紹&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://kb.parallels.com/en/128559&quot;&gt;https://kb.parallels.com/en/128559&lt;/a&gt;&lt;/p&gt;&lt;p&gt;6.Win10 VM開機 按開始-&amp;gt;設定-&amp;gt;Windows Update 就會出現Ｗindows 11的升級可以更新&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #ff00fe;&quot;&gt;6.Boot Win10 VM and press Start-&amp;gt;Settings-&amp;gt;Windows Update, and Windows 11 upgrade can be updated.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;或是 執行&lt;a aria-label=&quot;下載電腦健康情況檢查應用程式，以評估相容性&quot; class=&quot;c-hyperlink&quot; data-bi-bhvr=&quot;OTHER&quot; data-bi-id=&quot;n4c1m1r4a3&quot; data-bi-name=&quot;電腦健康情況檢查應用程式&quot; data-bi-type=&quot;text&quot; href=&quot;https://www.microsoft.com/zh-tw/windows/windows-11#pchealthcheck&quot; style=&quot;background-color: white; border: 2px solid transparent; box-sizing: inherit; color: #005da6; font-family: &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Microsoft JhengHei&amp;quot;, 微軟正黑體, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px; font-weight: 600; outline-offset: -3px; outline: transparent solid 1px; position: relative;&quot;&gt;電腦健康情況檢查應用程式&lt;/a&gt;後 下載&amp;nbsp;&lt;a href=&quot;https://www.microsoft.com/zh-tw/software-download/windows11&quot;&gt;Ｗindows 11安裝小幫手&lt;/a&gt;&amp;nbsp;就可以升級Windows 11&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #ff00fe;&quot;&gt;Or after running the &lt;a href=&quot;https://www.microsoft.com/en-us/windows/windows-11#pchealthcheck&quot;&gt;Widnows PC Health Check APP&lt;/a&gt;, download&amp;nbsp;&lt;span style=&quot;font-family: wf_segoe-ui_light, &amp;quot;Segoe UI Light&amp;quot;, &amp;quot;Segoe WP Light&amp;quot;, wf_segoe-ui_normal, &amp;quot;Segoe UI&amp;quot;, Segoe, &amp;quot;Segoe WP&amp;quot;, Tahoma, Verdana, Arial, sans-serif;&quot;&gt;&lt;a href=&quot;https://www.microsoft.com/en-us/software-download/windows11&quot;&gt;Windows 11 Installation Assistant&lt;/a&gt;&lt;/span&gt;&amp;nbsp;to upgrade Windows 11&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.magicwj.com/feeds/5680727600615520235/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3476618227350249444/5680727600615520235' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/5680727600615520235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/5680727600615520235'/><link rel='alternate' type='text/html' href='http://www.magicwj.com/2021/12/parallels-desktop-windows-10windows-11.html' title='如何從把原本在MAC的Parallels desktop 的windows 10的虛擬機升級到windows 11, Parallels Desktop windows 10 VM upgrade to windows 11 on a MAC'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3476618227350249444.post-5514484440049055546</id><published>2021-12-23T17:15:00.002+08:00</published><updated>2021-12-23T17:19:26.830+08:00</updated><title type='text'>某個罕見的中文字在asp.net 網站使用report viewer 產生的 pdf無法顯示會變成方匡</title><content type='html'>&lt;p&gt;今天遇到一個中文字的狀況&lt;br /&gt;就是在asp.net 網站產生的PDF 無法顯示那個中文字在mac電腦也無法顯示那個中文字&lt;/p&gt;&lt;p&gt;但是在windows下用winform 程式用word元件產生的pdf卻可以顯示那個字&amp;nbsp;&lt;/p&gt;&lt;p&gt;這個字如下網頁在Windows 下可以顯示字 但是mac無法顯示那個字&lt;a href=&quot;https://ctext.org/dictionary.pl?if=gb&amp;amp;char=%F0%A5%A1%A5&quot;&gt;https://ctext.org/dictionary.pl?if=gb&amp;amp;char=%F0%A5%A1%A5&lt;/a&gt;&lt;/p&gt;&lt;p&gt;後來找到原因是因為原本網頁的report viewer 是2010&lt;/p&gt;&lt;p&gt;只要更新成report viewer 2015 後就可以正常顯示 下面可以抓&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://www.microsoft.com/zh-TW/download/details.aspx?id=45496&quot;&gt;Report Viewer 2015 Runtime&lt;/a&gt;&lt;/p&gt;&lt;p&gt;再裝Report Viewer 2015 RunTime前可能要先裝&lt;span face=&quot;&amp;quot;?????Microsoft JhengHei&amp;quot;, &amp;quot;????? Microsoft JhengHei&amp;quot;, &amp;quot;Microsoft JhengHei&amp;quot;, &amp;quot;?????&amp;quot;, Tahoma, Verdana, Arial, sans-serif&quot; style=&quot;background-color: #eeeeee; color: #333333; font-size: 12.96px;&quot;&gt;SQLSysClrTypes For SQL Server 2014&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://www.microsoft.com/zh-TW/download/details.aspx?id=42295&quot;&gt;SQL Sys Clr Types For Sql Server 2014&lt;/a&gt;&lt;/p&gt;&lt;p&gt;更新需把web.config 更新一下&lt;/p&gt;&lt;p&gt;在&amp;lt;system.web&amp;gt;&amp;lt;assembly&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;add assembly=&quot;Microsoft.ReportViewer.WebForms, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91&quot;/&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;add assembly=&quot;Microsoft.ReportViewer.Common, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91&quot;/&amp;gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;在&amp;lt;system.webServer&amp;gt;&amp;lt;handlers&amp;gt;下&lt;/p&gt;&lt;p&gt;&amp;lt;add name=&quot;ReportViewerWebControlHandler&quot; preCondition=&quot;integratedMode&quot; verb=&quot;*&quot; path=&quot;Reserved.ReportViewerWebControl.axd&quot; type=&quot;Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91&quot; /&amp;gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: blue; font-size: 13px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;更新之後再從web重新產生pdf那個奇怪的 種 字 就可以正常顯示在mac的pdf也可以看到他&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.magicwj.com/feeds/5514484440049055546/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3476618227350249444/5514484440049055546' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/5514484440049055546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/5514484440049055546'/><link rel='alternate' type='text/html' href='http://www.magicwj.com/2021/12/aspnet-report-viewer-pdf.html' title='某個罕見的中文字在asp.net 網站使用report viewer 產生的 pdf無法顯示會變成方匡'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3476618227350249444.post-5238547285335561852</id><published>2021-11-09T16:52:00.001+08:00</published><updated>2021-11-09T16:52:11.248+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="global.json"/><category scheme="http://www.blogger.com/atom/ns#" term="Unable to Locate the.NET SDK"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio 2019"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio 2022"/><category scheme="http://www.blogger.com/atom/ns#" term="VS install"/><category scheme="http://www.blogger.com/atom/ns#" term="找不到.NET SDK"/><title type='text'>安裝Visual Studio 2022 後Visual Studio 2019 專案無法載入 出現error: 無法開啟專案檔。找不到.NET SDK。請檢查是否安裝該項目，且在global.json中指定版本(如果有的話)是否安裝版本相符</title><content type='html'>昨天正式發表Visual Studio 2022
所以就來安裝&amp;nbsp;&lt;div&gt;結果我安裝Visual Studio 2022後
Visual Studio 2019 全部的專案都無法載入 
出現&lt;div&gt;&quot;error: 無法開啟專案檔。找不到.NET SDK。請檢查是否安裝該項目，且在global.json中指定版本(如果有的話)是否安裝版本相符。&quot;&lt;div&gt;&amp;nbsp;如下圖
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilUOKLMjMCBMmStyRzNQ9l2AlYMJLqHTb9zCyXE66E3brO7BdAJbNDe-l1CLjrVngmEzo24AyynwxiuTfApNKLJ12vP_FhULbaUjaHPQt1FT42Z_EcbZCbiGXMLt8oqSWDevY2WLEfYPw/s1520/%25E6%2588%25AA%25E5%259C%2596+2021-11-09+%25E4%25B8%258B%25E5%258D%25884.33.49.png&quot; style=&quot;display: block; padding: 1em 0px; text-align: center;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; data-original-height=&quot;64&quot; data-original-width=&quot;1520&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilUOKLMjMCBMmStyRzNQ9l2AlYMJLqHTb9zCyXE66E3brO7BdAJbNDe-l1CLjrVngmEzo24AyynwxiuTfApNKLJ12vP_FhULbaUjaHPQt1FT42Z_EcbZCbiGXMLt8oqSWDevY2WLEfYPw/s320/%25E6%2588%25AA%25E5%259C%2596+2021-11-09+%25E4%25B8%258B%25E5%258D%25884.33.49.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: system-ui, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;.SFNSText-Regular&amp;quot;, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;英文為&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;background-color: #242526; color: #e4e6eb; font-family: system-ui, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;.SFNSText-Regular&amp;quot;, sans-serif; font-size: 15px; white-space: pre-wrap;&quot;&gt;“The project file cannot be opened. Unable to locate the .NET SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.”&lt;/span&gt;&lt;/div&gt;上網都查不到原因 google了很久&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;查到這個網站有解法&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;https://hamidmosalla.com/2021/03/13/unable-to-locate-the-net-sdk-the-reasons/&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;在環境變數裡面的Path 把C:\Program(x86)\donet\ 刪掉就可以正常開啟專案了&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;原因是安裝VS2022時多選擇安裝了.net 5 runtime&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;電腦按右鍵內容-&amp;gt;進階-&amp;gt;環境變數&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1K3kawrnq1p5E4oa75yObUCRrbOy23BBqJnQij-UB2d6G56CyfoizszHYHgDNnLFhxDbJt9AoB2kQiA4HVCftUx6W-MQ0YhpZqcItbv5o4TNI3QKPXFskKE4PzdDgy28SKOhKp9RBC7M/s1044/%25E6%2588%25AA%25E5%259C%2596+2021-11-09+%25E4%25B8%258B%25E5%258D%25884.34.10.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1044&quot; data-original-width=&quot;930&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1K3kawrnq1p5E4oa75yObUCRrbOy23BBqJnQij-UB2d6G56CyfoizszHYHgDNnLFhxDbJt9AoB2kQiA4HVCftUx6W-MQ0YhpZqcItbv5o4TNI3QKPXFskKE4PzdDgy28SKOhKp9RBC7M/s320/%25E6%2588%25AA%25E5%259C%2596+2021-11-09+%25E4%25B8%258B%25E5%258D%25884.34.10.png&quot; width=&quot;285&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;環境變數-&amp;gt;系統變數-&amp;gt;Path-&amp;gt;編輯&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUZf51P8rZRgeQULiM3QuW2zDBIgcxil360URexFP8GxSr2omap2j5mqEiRc3QAIP7vLBXkLpE7v2_jRo0x3TuBHxs_54azulY6hmJcMQ7UzUtDbt-AyNgaZbmUVrF-kFOb0IezYGHxsw/s1214/%25E6%2588%25AA%25E5%259C%2596+2021-11-09+%25E4%25B8%258B%25E5%258D%25884.34.30.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1110&quot; data-original-width=&quot;1214&quot; height=&quot;293&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUZf51P8rZRgeQULiM3QuW2zDBIgcxil360URexFP8GxSr2omap2j5mqEiRc3QAIP7vLBXkLpE7v2_jRo0x3TuBHxs_54azulY6hmJcMQ7UzUtDbt-AyNgaZbmUVrF-kFOb0IezYGHxsw/s320/%25E6%2588%25AA%25E5%259C%2596+2021-11-09+%25E4%25B8%258B%25E5%258D%25884.34.30.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;找到C:\Program Files(x86)\dotnet\ 按刪除&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0efQJ9qqopZmMSdtVyxRF6zsbcs4HzSaqS4Uj7iuH8rsyOBuy1v6TG7k-UehZAwfwUfEdbdzN4fQqNDsGtZnu6qh6laSMypZE_cxiNDxpcJxUEedOtZoKupiqvl7M-9D50hIKB9B2msc/s1078/%25E6%2588%25AA%25E5%259C%2596+2021-11-09+%25E4%25B8%258B%25E5%258D%25884.34.44.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;992&quot; data-original-width=&quot;1078&quot; height=&quot;294&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0efQJ9qqopZmMSdtVyxRF6zsbcs4HzSaqS4Uj7iuH8rsyOBuy1v6TG7k-UehZAwfwUfEdbdzN4fQqNDsGtZnu6qh6laSMypZE_cxiNDxpcJxUEedOtZoKupiqvl7M-9D50hIKB9B2msc/s320/%25E6%2588%25AA%25E5%259C%2596+2021-11-09+%25E4%25B8%258B%25E5%258D%25884.34.44.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.magicwj.com/feeds/5238547285335561852/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3476618227350249444/5238547285335561852' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/5238547285335561852'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/5238547285335561852'/><link rel='alternate' type='text/html' href='http://www.magicwj.com/2021/11/visual-studio-2022-visual-studio-2019.html' title='安裝Visual Studio 2022 後Visual Studio 2019 專案無法載入 出現error: 無法開啟專案檔。找不到.NET SDK。請檢查是否安裝該項目，且在global.json中指定版本(如果有的話)是否安裝版本相符'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilUOKLMjMCBMmStyRzNQ9l2AlYMJLqHTb9zCyXE66E3brO7BdAJbNDe-l1CLjrVngmEzo24AyynwxiuTfApNKLJ12vP_FhULbaUjaHPQt1FT42Z_EcbZCbiGXMLt8oqSWDevY2WLEfYPw/s72-c/%25E6%2588%25AA%25E5%259C%2596+2021-11-09+%25E4%25B8%258B%25E5%258D%25884.33.49.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3476618227350249444.post-8253138371164645863</id><published>2021-09-08T22:57:00.003+08:00</published><updated>2021-09-13T16:51:08.269+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".NET Framework"/><category scheme="http://www.blogger.com/atom/ns#" term="CS0656"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft.CSharp.RuntimeBinder.Binder.Convert"/><category scheme="http://www.blogger.com/atom/ns#" term="Missing compiler required member"/><title type='text'>CS0656 遺漏編譯器必要成員&#39;Microsoft.CSharp.RuntimeBinder.Binder.Convert&#39;</title><content type='html'>&lt;p&gt;&amp;nbsp;把.net framework 3.5的專案升級到.net framework 4.8時出現了一個錯誤如圖&lt;/p&gt;&lt;p&gt;CS0656 遺漏編譯器必要成員&#39;Microsoft.CSharp.RuntimeBinder.Binder.Convert&#39;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #525960; font-family: -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Liberation Sans&amp;quot;, sans-serif; font-size: 15px;&quot;&gt;英文是 &quot;Missing compiler required member &#39;Ｍicrosoft.CSharp.RuntimeBinder.Binder.Convert&#39;&quot;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKp8Yftl0VJLDH14tFgCsSbOi3sJusQbGqTn9lCJt_M_Vu3NmFyye0C9-pVDX6IvVsghcLMoHbt7jge0zVRv1uvrUAnzdjWxea0VEp9cU9fyenWSSLbZ-vfIsBIH-BixCAZF1chtJWlOE/s2582/%25E6%2588%25AA%25E5%259C%2596+2021-07-20+%25E4%25B8%258B%25E5%258D%25882.09.48.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;88&quot; data-original-width=&quot;2582&quot; height=&quot;11&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKp8Yftl0VJLDH14tFgCsSbOi3sJusQbGqTn9lCJt_M_Vu3NmFyye0C9-pVDX6IvVsghcLMoHbt7jge0zVRv1uvrUAnzdjWxea0VEp9cU9fyenWSSLbZ-vfIsBIH-BixCAZF1chtJWlOE/s320/%25E6%2588%25AA%25E5%259C%2596+2021-07-20+%25E4%25B8%258B%25E5%258D%25882.09.48.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;上網找到解決方法就是加入一個參考 在C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\Microsoft.CSharp.dll&lt;/p&gt;&lt;p&gt;如下圖&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5U9GtNE2dolTK1r3vj7gqfVKwAvpHgNVsEZGXmDD-7cJqurGHLduof0-ogteY3VVH-NJzVKLQvWf5Ih4QojOIhtK85deRtodgLoey6FMPH6xsmItqnE9yrqO29HNhYJ_xdOlsQlIl6yk/s1504/%25E6%2588%25AA%25E5%259C%2596+2021-07-20+%25E4%25B8%258B%25E5%258D%25882.09.30.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1038&quot; data-original-width=&quot;1504&quot; height=&quot;221&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5U9GtNE2dolTK1r3vj7gqfVKwAvpHgNVsEZGXmDD-7cJqurGHLduof0-ogteY3VVH-NJzVKLQvWf5Ih4QojOIhtK85deRtodgLoey6FMPH6xsmItqnE9yrqO29HNhYJ_xdOlsQlIl6yk/s320/%25E6%2588%25AA%25E5%259C%2596+2021-07-20+%25E4%25B8%258B%25E5%258D%25882.09.30.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;然後就可以正常編譯過了&lt;/div&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.magicwj.com/feeds/8253138371164645863/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3476618227350249444/8253138371164645863' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/8253138371164645863'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/8253138371164645863'/><link rel='alternate' type='text/html' href='http://www.magicwj.com/2021/09/cs0656-microsoftcsharpruntimebinderbind.html' title='CS0656 遺漏編譯器必要成員&#39;Microsoft.CSharp.RuntimeBinder.Binder.Convert&#39;'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKp8Yftl0VJLDH14tFgCsSbOi3sJusQbGqTn9lCJt_M_Vu3NmFyye0C9-pVDX6IvVsghcLMoHbt7jge0zVRv1uvrUAnzdjWxea0VEp9cU9fyenWSSLbZ-vfIsBIH-BixCAZF1chtJWlOE/s72-c/%25E6%2588%25AA%25E5%259C%2596+2021-07-20+%25E4%25B8%258B%25E5%258D%25882.09.48.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3476618227350249444.post-633173705246895520</id><published>2021-06-06T14:50:00.004+08:00</published><updated>2021-06-06T14:56:46.907+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CRITICAL ISSUES"/><category scheme="http://www.blogger.com/atom/ns#" term="Dell"/><category scheme="http://www.blogger.com/atom/ns#" term="Front LED Panel"/><category scheme="http://www.blogger.com/atom/ns#" term="iDrac"/><title type='text'>Dell R740 出現Unable to access Front LED Panel because of a hardware condition </title><content type='html'>&lt;p&gt;&amp;nbsp;今天Dell R740 的Server 竟然出現&lt;/p&gt;&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #111111; font-family: Roboto-Light; font-weight: 300; letter-spacing: 0.012em; line-height: 1.5; margin-bottom: 4px; margin-top: 0px; text-align: left; word-spacing: 0.016em;&quot;&gt;Unable to access Front LED Panel because of a hardware condition&lt;/div&gt;&lt;div style=&quot;background-color: white; box-sizing: border-box; line-height: 1.5; margin-bottom: 4px; margin-top: 0px; text-align: left;&quot;&gt;&lt;span face=&quot;Roboto-Light&quot; style=&quot;color: #111111;&quot;&gt;&lt;span style=&quot;letter-spacing: 0.192px; word-spacing: 0.256px;&quot;&gt;還有紅底白字的 System HAS CRITICAL ISSUES&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #111111; font-family: Roboto-Light; font-weight: 300; letter-spacing: 0.012em; line-height: 1.5; margin-bottom: 4px; margin-top: 0px; text-align: left; word-spacing: 0.016em;&quot;&gt;現場人去現場看LED 前面板顯示也很奇怪&lt;/div&gt;&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #111111; font-family: Roboto-Light; font-weight: 300; letter-spacing: 0.012em; line-height: 1.5; margin-bottom: 4px; margin-top: 0px; text-align: left; word-spacing: 0.016em;&quot;&gt;結果call Dell維修竟然 說更新iDrac就可以了&lt;/div&gt;&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #111111; font-family: Roboto-Light; font-weight: 300; letter-spacing: 0.012em; line-height: 1.5; margin-bottom: 4px; margin-top: 0px; text-align: left; word-spacing: 0.016em;&quot;&gt;&lt;span style=&quot;letter-spacing: 0.012em; word-spacing: 0.016em;&quot;&gt;所以就照著指示去更新到4.40.10.00完之後就正常了 錯誤訊息就不出現了&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #111111; font-family: Roboto-Light; font-weight: 300; letter-spacing: 0.012em; line-height: 1.5; margin-bottom: 4px; margin-top: 0px; text-align: left; word-spacing: 0.016em;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #111111; font-family: Roboto-Light; font-weight: 300; letter-spacing: 0.012em; line-height: 1.5; margin-bottom: 4px; margin-top: 0px; text-align: left; word-spacing: 0.016em;&quot;&gt;以下為Dell客服的回覆&lt;/div&gt;&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #111111; font-family: Roboto-Light; font-weight: 300; letter-spacing: 0.012em; line-height: 1.5; margin-bottom: 4px; margin-top: 0px; text-align: left; word-spacing: 0.016em;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #111111; font-family: Roboto-Light; font-weight: 300; letter-spacing: 0.012em; line-height: 1.5; margin-bottom: 4px; margin-top: 0px; text-align: left; word-spacing: 0.016em;&quot;&gt;&lt;span style=&quot;color: #222222; font-family: Arial; font-size: small; letter-spacing: normal; word-spacing: 0px;&quot;&gt;1、根據KB：&lt;/span&gt;&lt;a data-saferedirecturl=&quot;https://www.google.com/url?q=https://www.dell.com/support/kbdoc/000181333/psqn-idrac9-swc5008-unable-to-access-front-led-panel-because-of-a-hardware-condition?lang%3Den&amp;amp;source=gmail&amp;amp;ust=1623046784716000&amp;amp;usg=AFQjCNGtr-sApWM8A6rESf-pSHPChW_Ldg&quot; href=&quot;https://www.dell.com/support/kbdoc/000181333/psqn-idrac9-swc5008-unable-to-access-front-led-panel-because-of-a-hardware-condition?lang=en&quot; style=&quot;color: #1155cc; font-family: Arial; font-size: small; letter-spacing: normal; word-spacing: 0px;&quot; target=&quot;_blank&quot;&gt;PSQN | iDRAC9 | SWC5008: Unable to access Front LED Panel because of a hardware condition&lt;/a&gt;&lt;br style=&quot;color: #222222; font-family: Arial; font-size: small; letter-spacing: normal; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;color: #222222; font-family: Arial; font-size: small; letter-spacing: normal; word-spacing: 0px;&quot;&gt;2、最新版本的idrac FW：&lt;/span&gt;&lt;a data-saferedirecturl=&quot;https://www.google.com/url?q=https://dl.dell.com/FOLDER07125424M/1/iDRAC-with-Lifecycle-Controller_Firmware_MGD5F_WN64_4.40.10.00_A00.EXE&amp;amp;source=gmail&amp;amp;ust=1623046784716000&amp;amp;usg=AFQjCNH-nA8D2BoQcMcFv7h2wuxAXQ8BTw&quot; href=&quot;https://dl.dell.com/FOLDER07125424M/1/iDRAC-with-Lifecycle-Controller_Firmware_MGD5F_WN64_4.40.10.00_A00.EXE&quot; style=&quot;color: #1155cc; font-family: Arial; font-size: small; letter-spacing: normal; word-spacing: 0px;&quot; target=&quot;_blank&quot;&gt;https://dl.dell.com/&lt;wbr&gt;&lt;/wbr&gt;FOLDER07125424M/1/iDRAC-with-&lt;wbr&gt;&lt;/wbr&gt;Lifecycle-Controller_Firmware_&lt;wbr&gt;&lt;/wbr&gt;MGD5F_WN64_4.40.10.00_A00.EXE&lt;/a&gt;&lt;br style=&quot;color: #222222; font-family: Arial; font-size: small; letter-spacing: normal; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;color: #222222; font-family: Arial; font-size: small; letter-spacing: normal; word-spacing: 0px;&quot;&gt;3、升級FW SOP：&lt;/span&gt;&lt;a data-saferedirecturl=&quot;https://www.google.com/url?q=https://www.dell.com/support/kbdoc/000134013/dell-poweredge-update-the-firmware-of-single-system-components-remotely-using-the-idrac?lang%3Den&amp;amp;source=gmail&amp;amp;ust=1623046784716000&amp;amp;usg=AFQjCNFS2c1JT5sjCHvmLm-C9Ql76uO5Eg&quot; href=&quot;https://www.dell.com/support/kbdoc/000134013/dell-poweredge-update-the-firmware-of-single-system-components-remotely-using-the-idrac?lang=en&quot; style=&quot;color: #1155cc; font-family: Arial; font-size: small; letter-spacing: normal; word-spacing: 0px;&quot; target=&quot;_blank&quot;&gt;How to update firmware remotely using the Integrated Dell Remote Access Controller (iDRAC) web interface&lt;/a&gt;&lt;br style=&quot;color: #222222; font-family: Arial; font-size: small; letter-spacing: normal; word-spacing: 0px;&quot; /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #111111; font-family: Roboto-Light; font-weight: 300; letter-spacing: 0.012em; line-height: 1.5; margin-bottom: 4px; margin-top: 0px; text-align: left; word-spacing: 0.016em;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiReHkAQVxHfz6pfSTWlnMCiR15f4cJiJF9ross4uXhw_OpE6NwXD2V_S_1OqXvpIwXtEYW04VsCcP5c8Xxj9JG91y_ZPKLW7dbE3-4SrSFaTfE9-c6ZbXzSSLgtqTKbs18c6o9YC5RH08/s1917/%25E6%2588%25AA%25E5%259C%2596+2021-06-06+%25E4%25B8%258B%25E5%258D%258812.13.39.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1137&quot; data-original-width=&quot;1917&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiReHkAQVxHfz6pfSTWlnMCiR15f4cJiJF9ross4uXhw_OpE6NwXD2V_S_1OqXvpIwXtEYW04VsCcP5c8Xxj9JG91y_ZPKLW7dbE3-4SrSFaTfE9-c6ZbXzSSLgtqTKbs18c6o9YC5RH08/s320/%25E6%2588%25AA%25E5%259C%2596+2021-06-06+%25E4%25B8%258B%25E5%258D%258812.13.39.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #111111; font-family: Roboto-Light; font-weight: 300; letter-spacing: 0.012em; line-height: 1.5; margin-bottom: 4px; margin-top: 0px; text-align: left; word-spacing: 0.016em;&quot;&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.magicwj.com/feeds/633173705246895520/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3476618227350249444/633173705246895520' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/633173705246895520'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/633173705246895520'/><link rel='alternate' type='text/html' href='http://www.magicwj.com/2021/06/dell-r740-unable-to-access-front-led.html' title='Dell R740 出現Unable to access Front LED Panel because of a hardware condition '/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiReHkAQVxHfz6pfSTWlnMCiR15f4cJiJF9ross4uXhw_OpE6NwXD2V_S_1OqXvpIwXtEYW04VsCcP5c8Xxj9JG91y_ZPKLW7dbE3-4SrSFaTfE9-c6ZbXzSSLgtqTKbs18c6o9YC5RH08/s72-c/%25E6%2588%25AA%25E5%259C%2596+2021-06-06+%25E4%25B8%258B%25E5%258D%258812.13.39.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3476618227350249444.post-4549215760333393390</id><published>2021-05-13T12:06:00.006+08:00</published><updated>2021-05-13T12:12:53.430+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET debugging enabled"/><category scheme="http://www.blogger.com/atom/ns#" term="Web Forms"/><title type='text'>ASP.Net Web Forms網站 掃出 ASP.NET debugging enabled 弱點</title><content type='html'>&lt;p&gt;&amp;nbsp;ASP.Net Web Forms網站 掃出 ASP.NET debugging enabled 弱點&lt;/p&gt;&lt;p&gt;解決方法 關掉debugging&lt;/p&gt;&lt;p&gt;在web.config&lt;/p&gt;&lt;p&gt;修改設定為&amp;lt;compilation debug=&quot;false&quot;/&amp;gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.magicwj.com/feeds/4549215760333393390/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3476618227350249444/4549215760333393390' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/4549215760333393390'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/4549215760333393390'/><link rel='alternate' type='text/html' href='http://www.magicwj.com/2021/05/aspnet-web-forms-aspnet-debugging.html' title='ASP.Net Web Forms網站 掃出 ASP.NET debugging enabled 弱點'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3476618227350249444.post-107203770218998338</id><published>2021-05-13T12:03:00.002+08:00</published><updated>2021-05-13T12:04:22.891+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cookie with missing"/><category scheme="http://www.blogger.com/atom/ns#" term="Cookie without SameSite attribute"/><category scheme="http://www.blogger.com/atom/ns#" term="Web Forms"/><title type='text'>ASP.Net Web Forms網站 掃出 Cookies with missing, inconsistent or contradictory properties 弱點 Cookie without SameSite attribute</title><content type='html'>&lt;p&gt;&amp;nbsp;ASP.Net Web Forms網站 掃出 Cookies with missing, inconsistent or contradictory properties 弱點&lt;/p&gt;&lt;p&gt;Cookie without SameSite attribute&lt;/p&gt;&lt;p&gt;原因cookie少了sameSite屬性&lt;/p&gt;&lt;p&gt;解決方法：&lt;/p&gt;&lt;p&gt;修改web.config增加sameStie屬性&lt;/p&gt;&lt;p&gt;增加 &amp;lt;httpCookies sameSite=&quot;Strict&quot;&amp;gt;設定&lt;/p&gt;&lt;p&gt;然後cookie就會多了一個sameSite的屬性了&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.magicwj.com/feeds/107203770218998338/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3476618227350249444/107203770218998338' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/107203770218998338'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/107203770218998338'/><link rel='alternate' type='text/html' href='http://www.magicwj.com/2021/05/aspnet-web-forms-cookies-with-missing.html' title='ASP.Net Web Forms網站 掃出 Cookies with missing, inconsistent or contradictory properties 弱點 Cookie without SameSite attribute'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3476618227350249444.post-4586271989260260570</id><published>2021-05-13T11:53:00.003+08:00</published><updated>2021-09-13T16:52:51.891+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Clickjacking"/><category scheme="http://www.blogger.com/atom/ns#" term="Web Forms"/><category scheme="http://www.blogger.com/atom/ns#" term="X-Frame-Options header missing"/><title type='text'>ASP.Net Web Forms網站 掃出 Clickjacking: X-Frame-Options header missing 弱點</title><content type='html'>&lt;p&gt;&amp;nbsp;ASP.Net Web Forms網站 掃出 Clickjacking: X-Frame-Options header missing 弱點&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;解決方法：增加X-Frame-Options的HTTP標頭欄位&lt;/p&gt;&lt;p&gt;怎麼加勒？還是修改web.config&amp;nbsp;&lt;/p&gt;&lt;p&gt;增加以下設定&lt;/p&gt;&lt;p&gt;&amp;lt;httpProtocol&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;lt;customHeaders&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;add name=&quot;X-Frame-Options&quot; value=&quot;SAMEORIGIN&quot; /&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/customHeaders&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;lt;/httpProtocol&amp;gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.magicwj.com/feeds/4586271989260260570/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3476618227350249444/4586271989260260570' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/4586271989260260570'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/4586271989260260570'/><link rel='alternate' type='text/html' href='http://www.magicwj.com/2021/05/aspnet-web-forms-clickjacking-x-frame.html' title='ASP.Net Web Forms網站 掃出 Clickjacking: X-Frame-Options header missing 弱點'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3476618227350249444.post-7501896162330035292</id><published>2021-05-13T11:48:00.004+08:00</published><updated>2021-05-13T11:54:25.999+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET version disclousure"/><category scheme="http://www.blogger.com/atom/ns#" term="Web Forms"/><title type='text'>ASP.Net Web Forms網站 掃出 ASP.NET version disclosure 弱點</title><content type='html'>&lt;p&gt;&amp;nbsp;ASP.Net Web Forms網站 掃出ASP.NET version disclosure弱點&lt;/p&gt;&lt;p&gt;風險等級：低&lt;/p&gt;&lt;p&gt;Header會出現一個X-ASPNET-Version 告訴你網站是哪個.net framewrok版本&lt;/p&gt;&lt;p&gt;是沒必要的&lt;/p&gt;&lt;p&gt;解決方法：&lt;/p&gt;&lt;p&gt;在web.config加入以下設定值&lt;/p&gt;&lt;p&gt;&amp;lt;System.Web&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;lt;httpRuntime enableVersionHeader=&#39;&#39;false&#39;&#39; /&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;/System.Web&amp;gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;加完後Header就不會有X-ASPNET-Version了&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.magicwj.com/feeds/7501896162330035292/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3476618227350249444/7501896162330035292' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/7501896162330035292'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/7501896162330035292'/><link rel='alternate' type='text/html' href='http://www.magicwj.com/2021/05/aspnet-web-forms-aspnet-version.html' title='ASP.Net Web Forms網站 掃出 ASP.NET version disclosure 弱點'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3476618227350249444.post-7118763659170770696</id><published>2021-05-13T11:44:00.003+08:00</published><updated>2021-05-13T11:54:50.205+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Unencrypted __VIEWSTATE parameter"/><category scheme="http://www.blogger.com/atom/ns#" term="Web Forms"/><title type='text'>ASP.Net Web Forms網站 掃出 Unencrypted __VIEWSTATE parameter 弱點</title><content type='html'>&lt;p&gt;&amp;nbsp;有一個舊的ASP.Net Web Forms 網站 掃出了弱點名稱：Unencrypted __VIEWSTATE parameter&lt;/p&gt;&lt;p&gt;風險等級：中&lt;/p&gt;&lt;p&gt;修補方式：&lt;/p&gt;&lt;p&gt;修改Web.config並於&amp;lt;system.web&amp;gt;下添加&lt;/p&gt;&lt;p&gt;&amp;lt;machineKey validation=&quot;AES&quot;/&amp;gt;&amp;nbsp;&lt;/p&gt;&lt;div&gt;改完後VIEWSTATE會變成加密的如下圖&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiP3Sv873brXGqYt719qbQa0YHiOjRa-OWl7EmKDM2N4SuOTCA6MQ_1At5EATyIPg7mypPW65mlewRlwP358cwjNEvCuaT2hswI_d7aq5nbSUFZSDc456IU_HbzT9o4HWdVoVKfqBChsyQ/s523/%25E6%2588%25AA%25E5%259C%2596+2021-05-13+%25E4%25B8%258A%25E5%258D%258811.42.26.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;23&quot; data-original-width=&quot;523&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiP3Sv873brXGqYt719qbQa0YHiOjRa-OWl7EmKDM2N4SuOTCA6MQ_1At5EATyIPg7mypPW65mlewRlwP358cwjNEvCuaT2hswI_d7aq5nbSUFZSDc456IU_HbzT9o4HWdVoVKfqBChsyQ/s320/%25E6%2588%25AA%25E5%259C%2596+2021-05-13+%25E4%25B8%258A%25E5%258D%258811.42.26.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.magicwj.com/feeds/7118763659170770696/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3476618227350249444/7118763659170770696' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/7118763659170770696'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/7118763659170770696'/><link rel='alternate' type='text/html' href='http://www.magicwj.com/2021/05/aspnet-web-forms-unencrypted-viewstate.html' title='ASP.Net Web Forms網站 掃出 Unencrypted __VIEWSTATE parameter 弱點'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiP3Sv873brXGqYt719qbQa0YHiOjRa-OWl7EmKDM2N4SuOTCA6MQ_1At5EATyIPg7mypPW65mlewRlwP358cwjNEvCuaT2hswI_d7aq5nbSUFZSDc456IU_HbzT9o4HWdVoVKfqBChsyQ/s72-c/%25E6%2588%25AA%25E5%259C%2596+2021-05-13+%25E4%25B8%258A%25E5%258D%258811.42.26.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3476618227350249444.post-6551755807317642088</id><published>2021-05-11T09:28:00.001+08:00</published><updated>2021-05-11T12:09:22.681+08:00</updated><title type='text'>在Mantis 中顯示“真實姓名”</title><content type='html'>&lt;p&gt;&amp;nbsp;mantis都只有顯示username雖然有輸入真實姓名但是只有管理者看得到&lt;/p&gt;&lt;p&gt;很難知道回報者到底是誰且還有使用者名稱相似的一直認錯&lt;/p&gt;&lt;p&gt;上網google後 發現需要修改config_inc.php&amp;nbsp;&lt;/p&gt;&lt;p&gt;加上下面設定就好了&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #4d4d4d; font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif, SimHei, SimSun; font-size: 16px; line-height: 26px; margin: 0px 0px 16px; outline: 0px; overflow-wrap: break-word; overflow: auto hidden; padding: 0px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-size: small; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px;&quot;&gt;$g_show_realname = ON;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #4d4d4d; font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif, SimHei, SimSun; font-size: 16px; line-height: 26px; margin: 0px 0px 16px; outline: 0px; overflow-wrap: break-word; overflow: auto hidden; padding: 0px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-size: small; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #4d4d4d; font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif, SimHei, SimSun; font-size: 16px; line-height: 26px; margin: 0px 0px 16px; outline: 0px; overflow-wrap: break-word; overflow: auto hidden; padding: 0px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-size: small; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px;&quot;&gt;mantis文件參考網址入下&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; line-height: 26px; margin: 0px 0px 16px; outline: 0px; overflow-wrap: break-word; overflow: auto hidden; padding: 0px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; color: #4d4d4d; font-family: -apple-system, SF UI Text, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif, SimHei, SimSun; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px;&quot;&gt;&lt;a href=&quot;https://www.mantisbt.org/docs/master/en-US/Admin_Guide/Admin_Guide.txt&quot;&gt;https://www.mantisbt.org/docs/master/en-US/Admin_Guide/Admin_Guide.txt&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.magicwj.com/feeds/6551755807317642088/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3476618227350249444/6551755807317642088' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/6551755807317642088'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/6551755807317642088'/><link rel='alternate' type='text/html' href='http://www.magicwj.com/2021/05/mantis.html' title='在Mantis 中顯示“真實姓名”'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3476618227350249444.post-3585477304784033177</id><published>2021-04-28T21:19:00.006+08:00</published><updated>2021-04-28T21:19:56.115+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux 5.x.x"/><category scheme="http://www.blogger.com/atom/ns#" term="Moxa"/><category scheme="http://www.blogger.com/atom/ns#" term="Nport"/><category scheme="http://www.blogger.com/atom/ns#" term="TTY drivers"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu 20.04"/><title type='text'>Install Moxa NPort Real TTY drivers for Linux 5.x.x  on Ubuntu 20.04</title><content type='html'>&lt;p&gt;今天開會同事說安裝Moxa的Nport driver 在Ubuntu 20.04上無法complier&lt;/p&gt;&lt;p&gt;所以我自己下載了一個ubuntu 20.04安裝看看 結果成功了&lt;/p&gt;&lt;p&gt;首先到moxa網站如下網址下載driver&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://www.moxa.com/getmedia/c075914f-6187-4f7f-a1c8-e444389d69e8/moxa-real-tty-drivers-for-linux-5.x.x-driver-v5.0.tgz&quot;&gt;https://www.moxa.com/getmedia/c075914f-6187-4f7f-a1c8-e444389d69e8/moxa-real-tty-drivers-for-linux-5.x.x-driver-v5.0.tgz&lt;/a&gt;&lt;/p&gt;&lt;p&gt;解開這個檔案後裡面有一個&lt;span style=&quot;color: white;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;readme.txt&lt;/span&gt; &lt;/span&gt;打開會寫如何安裝driver 然後有一個system Requirement如下所示 所以就照順序每個套件安裝&amp;nbsp;&lt;/p&gt;&lt;p&gt;System Requirement&lt;/p&gt;&lt;!--?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?--&gt;

&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;To install this driver, you will need NPort Server and one of the
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;following system.
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;nbsp;&amp;nbsp;kernel 3.0 or above and the kernel source package
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;nbsp;&amp;nbsp;gcc-2.7.2.1 or above
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;nbsp;&amp;nbsp;ld.so-1.7.14 or above
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;nbsp;&amp;nbsp;libc.so-5 or above
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;nbsp;&amp;nbsp;binutils-2.7.0 or above
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;nbsp;&amp;nbsp;make-3.74 or above
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;nbsp;&amp;nbsp;gunzip-1.2.4 or above
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;nbsp;&amp;nbsp;gawk-3.1.1.9 or above
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;nbsp;&amp;nbsp;openssl-1.0.0 or above (For Secure Real COM Mode only)
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;nbsp;&amp;nbsp;libssl-dev-1.0.0 or above (For Secure Real COM Mode only)
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Additional requirements for Raspbian
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;nbsp;&amp;nbsp;gcc-4.8.3 or above
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;nbsp;&amp;nbsp;ncurses-devel-5.9 or above
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;nbsp;&amp;nbsp;rpi-source, read the instruction from it&#39;s website.
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(&lt;a href=&quot;https://github.com/notro/rpi-source/wiki&quot;&gt;https://github.com/notro/rpi-source/wiki&lt;/a&gt;)
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1.先安裝Ubuntu 20.04&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;2.然後安裝gcc 指令如下&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: #1f2937; color: #d1d5db; font-family: &amp;quot;Roboto Mono&amp;quot;, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; white-space: pre;&quot;&gt;sudo apt update&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: #1f2937; color: #d1d5db; font-family: &amp;quot;Roboto Mono&amp;quot;, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; white-space: pre;&quot;&gt;sudo apt install build-essential&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: #1f2937; color: #d1d5db; font-family: &amp;quot;Roboto Mono&amp;quot;, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;3.安裝&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;Roboto Mono&amp;quot;;&quot;&gt;libc.so&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: Roboto Mono;&quot;&gt;指令如下&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;--inversion-type-background-color: simple; --inversion-type-color: simple; background-color: black; border-radius: 0px; border: 0px; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; line-height: 1.30769; max-height: 600px; overflow-wrap: normal; overflow: auto;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;sudo ln -s /lib64/x86_64-linux-gnu/libc.so.6 /lib64/libc.so.6&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;4.安裝binutils指令如下&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: black; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;sudo apt-get update -y&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: black; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: black; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;sudo apt-get install -y binutils-common&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;5.安裝make指令如下&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: #0c1021; color: #f8f8f8; font-family: Monaco, &amp;quot;Lucida Console&amp;quot;, monospace; white-space: nowrap;&quot;&gt;sudo apt-add-repository ppa:ubuntu-desktop/ubuntu-make&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: #0c1021; color: #f8f8f8; font-family: Monaco, &amp;quot;Lucida Console&amp;quot;, monospace; white-space: nowrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: #0c1021; color: #f8f8f8; font-family: Monaco, &amp;quot;Lucida Console&amp;quot;, monospace; white-space: nowrap;&quot;&gt;sudo apt-get update&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: #0c1021; color: #f8f8f8; font-family: Monaco, &amp;quot;Lucida Console&amp;quot;, monospace; white-space: nowrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: #0c1021; color: #f8f8f8; font-family: Monaco, &amp;quot;Lucida Console&amp;quot;, monospace; white-space: nowrap;&quot;&gt;sudo apt-get install ubuntu-make&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: #0c1021; color: #f8f8f8; font-family: Monaco, &amp;quot;Lucida Console&amp;quot;, monospace; white-space: nowrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: #0c1021; color: #f8f8f8; font-family: Monaco, &amp;quot;Lucida Console&amp;quot;, monospace; white-space: nowrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Monaco, Lucida Console, monospace;&quot;&gt;&lt;span style=&quot;background-color: white; white-space: nowrap;&quot;&gt;6.安裝&lt;/span&gt;&lt;/span&gt;gunzip指令如下&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: #0c1021; color: #f8f8f8; font-family: Monaco, &amp;quot;Lucida Console&amp;quot;, monospace; white-space: nowrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: black; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;sudo apt-get update -y&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: black; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: black; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;sudo apt-get install -y gzip&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: black; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: black; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;7.安裝gawk 指令如下&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: black; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;sudo apt-get update -y&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: black; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: black; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;sudo apt-get install -y gawk&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: black; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; color: #e83e8c; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;8.安裝openssl指令如下&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: consolas; white-space: pre;&quot;&gt;(nport 6系列才有用)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: black; font-family: consolas; white-space: pre;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;sudo apt update&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: black; font-family: consolas; white-space: pre;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: black; font-family: consolas; white-space: pre;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;sudo apt install openssl&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: black; font-family: consolas; white-space: pre;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: consolas; white-space: pre;&quot;&gt;9.安裝libssl指令如下(nport 6系列才有用)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: #f2f4f5; color: #314659; font-family: consolas; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: black; font-family: consolas; white-space: pre;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;sudo apt install libssl-dev&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: black; font-family: consolas; white-space: pre;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: black; font-family: consolas; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: consolas;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;10.安裝&lt;/span&gt;&lt;/span&gt;ncurses-devel (樹莓派才需要)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;span style=&quot;font-family: consolas; white-space: pre;&quot;&gt;Sudo apt install&lt;/span&gt; &lt;span style=&quot;--inversion-type-color: simple; font-family: consolas;&quot;&gt;ncurses-devel&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;span style=&quot;--inversion-type-color: simple; font-family: consolas;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;--inversion-type-color: simple; background-color: black; font-family: consolas;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;ncurses-devel&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;--inversion-type-color: simple; background-color: black; font-family: consolas;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;--inversion-type-color: simple; color: #0a0f13; font-family: consolas;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #0a0f13; font-family: consolas;&quot;&gt;11.重新開機&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;--inversion-type-color: simple; color: white; font-family: consolas;&quot;&gt;&lt;span style=&quot;background-color: black; caret-color: rgb(236, 241, 245);&quot;&gt;reboot&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;--inversion-type-color: simple; color: #0a0f13; font-family: consolas;&quot;&gt;&lt;span style=&quot;caret-color: rgb(236, 241, 245);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #0a0f13; font-family: consolas;&quot;&gt;&lt;span style=&quot;caret-color: rgb(236, 241, 245);&quot;&gt;12.安裝Nport&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #202020; font-family: &amp;quot;Neue Helvetica W01&amp;quot;, Helvetica, Arial, 微軟正黑體, &amp;quot;Microsoft JhengHei&amp;quot;, sans-serif;&quot;&gt;Real TTY drivers for Linux 5.x.x&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #202020; font-family: Neue Helvetica W01, Helvetica, Arial, 微軟正黑體, Microsoft JhengHei, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;解壓縮到moxa目錄 cd到 moxa目錄執行&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;--inversion-type-color: simple; background-color: black; color: white; font-family: consolas;&quot;&gt;sudo ./mxinst&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;--inversion-type-color: simple; background-color: black; color: white; font-family: consolas;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;--inversion-type-color: simple; background-color: black; color: white; font-family: consolas;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: consolas;&quot;&gt;然後出現如下字串安裝成功&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: consolas;&quot;&gt;&lt;div&gt;===============================================================================&lt;/div&gt;&lt;div&gt;Installation process is completed.&lt;/div&gt;&lt;div&gt;The all driver files are installed on /usr/lib/npreal2/driver.&lt;/div&gt;&lt;div&gt;Now you can cd /usr/lib/npreal2/driver and run ./mxaddsvr to add tty port.&lt;/div&gt;&lt;div&gt;===============================================================================&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;安裝過程截圖如下&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRr93ovEfpmNCBlu_ICMxrH2334oUM8ctgT2NPgQp7ENCQfgqYGUxV2fDsjMUkiyLQjjQ2TZjf2NQvOKxaXrWHpTrhiNFSajDQIEJwYomi04a009UEtDCd5NkAGjWRveNLTrxEkYfpCrU/s2048/%25E6%2588%25AA%25E5%259C%2596+2021-04-28+%25E4%25B8%258B%25E5%258D%25888.23.33.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1639&quot; data-original-width=&quot;2048&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRr93ovEfpmNCBlu_ICMxrH2334oUM8ctgT2NPgQp7ENCQfgqYGUxV2fDsjMUkiyLQjjQ2TZjf2NQvOKxaXrWHpTrhiNFSajDQIEJwYomi04a009UEtDCd5NkAGjWRveNLTrxEkYfpCrU/s320/%25E6%2588%25AA%25E5%259C%2596+2021-04-28+%25E4%25B8%258B%25E5%258D%25888.23.33.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJyS3SWdfmsyUv8PXpM4x7ip8VycxeJSVPrhrQWRutDOUzCKvT-s3ntr14FlaXRg7yy1y8z9p-2B8f2xfXBy15tnVXmzJu2sumJ_gdS-98Wr-GzurOQnvpYIVD4LkhVfBTc77QcYO3p5k/s2048/%25E6%2588%25AA%25E5%259C%2596+2021-04-28+%25E4%25B8%258B%25E5%258D%25888.23.44.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1639&quot; data-original-width=&quot;2048&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJyS3SWdfmsyUv8PXpM4x7ip8VycxeJSVPrhrQWRutDOUzCKvT-s3ntr14FlaXRg7yy1y8z9p-2B8f2xfXBy15tnVXmzJu2sumJ_gdS-98Wr-GzurOQnvpYIVD4LkhVfBTc77QcYO3p5k/s320/%25E6%2588%25AA%25E5%259C%2596+2021-04-28+%25E4%25B8%258B%25E5%258D%25888.23.44.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgo2y5XPnIH0dYndqDb6229650kbL3DQdo5gT4cQWSFtHAzUwI8OtGdGL0szmqC0_eykQNR5qe0Y_zTed7oZU2f9vr-KLD3xNbOwL36Z7s2I7BsxP0i5qijtTTmW6C-qN9WR_NygxvWn3U/s2048/%25E6%2588%25AA%25E5%259C%2596+2021-04-28+%25E4%25B8%258B%25E5%258D%25888.24.23.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1639&quot; data-original-width=&quot;2048&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgo2y5XPnIH0dYndqDb6229650kbL3DQdo5gT4cQWSFtHAzUwI8OtGdGL0szmqC0_eykQNR5qe0Y_zTed7oZU2f9vr-KLD3xNbOwL36Z7s2I7BsxP0i5qijtTTmW6C-qN9WR_NygxvWn3U/s320/%25E6%2588%25AA%25E5%259C%2596+2021-04-28+%25E4%25B8%258B%25E5%258D%25888.24.23.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgz6t2-sOPTNqBYU3DseWoOg9lofGe-ghJY3Z_XHNb898O1XvVLaRO6cSHLJDN-ZFzMOJwOXndVf_BpYgIrJA9j2raIRi9Q5FKcm3KDK3wO8BjajMwqBFSI33Rgp4jGPMDtj5DbFeqHjc/s2048/%25E6%2588%25AA%25E5%259C%2596+2021-04-28+%25E4%25B8%258B%25E5%258D%25888.25.19.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1639&quot; data-original-width=&quot;2048&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgz6t2-sOPTNqBYU3DseWoOg9lofGe-ghJY3Z_XHNb898O1XvVLaRO6cSHLJDN-ZFzMOJwOXndVf_BpYgIrJA9j2raIRi9Q5FKcm3KDK3wO8BjajMwqBFSI33Rgp4jGPMDtj5DbFeqHjc/s320/%25E6%2588%25AA%25E5%259C%2596+2021-04-28+%25E4%25B8%258B%25E5%258D%25888.25.19.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirRJ0xfaReUX4vewR8RTAqLGmgpKR4WZkmDourIFTrYBK3Qks0cGoZaCM0n8goI5CII0rJUw3uHXfsiAyl5Kr4DCT1fQ7D5rhOx4517kuPqai-P_Z0bOJYkLb6WtAtqOkoq1GQ-ijJo68/s2048/%25E6%2588%25AA%25E5%259C%2596+2021-04-28+%25E4%25B8%258B%25E5%258D%25888.26.22.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1639&quot; data-original-width=&quot;2048&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirRJ0xfaReUX4vewR8RTAqLGmgpKR4WZkmDourIFTrYBK3Qks0cGoZaCM0n8goI5CII0rJUw3uHXfsiAyl5Kr4DCT1fQ7D5rhOx4517kuPqai-P_Z0bOJYkLb6WtAtqOkoq1GQ-ijJo68/s320/%25E6%2588%25AA%25E5%259C%2596+2021-04-28+%25E4%25B8%258B%25E5%258D%25888.26.22.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSfyLIWqFYpN47Fie2e6D5oab_129pVhiReK36kqAVLO54RiwZ98x927bPCBpU5JrfpUkGBvn_9cFO9NitMAM4Tvka0fQYhTwoUqd49GLjTszdxjhA8apFD4bGWefgN4dtCp1Yt-Wmjao/s2048/%25E6%2588%25AA%25E5%259C%2596+2021-04-28+%25E4%25B8%258B%25E5%258D%25888.29.28.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1639&quot; data-original-width=&quot;2048&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSfyLIWqFYpN47Fie2e6D5oab_129pVhiReK36kqAVLO54RiwZ98x927bPCBpU5JrfpUkGBvn_9cFO9NitMAM4Tvka0fQYhTwoUqd49GLjTszdxjhA8apFD4bGWefgN4dtCp1Yt-Wmjao/s320/%25E6%2588%25AA%25E5%259C%2596+2021-04-28+%25E4%25B8%258B%25E5%258D%25888.29.28.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBK1m9ZWSdcOdR7DvCc8YTSS_yXdNSlQWLREG6XqoQ3cHwAHqFDoR0H8YZHH0sewVemjS2ocBpWUw-lp0-d8bBz5OBkjF85SU0ujjga9RyYt33vORTYcqyOqt7NsyaNYsFm9T_ywddpzo/s2048/%25E6%2588%25AA%25E5%259C%2596+2021-04-28+%25E4%25B8%258B%25E5%258D%25888.30.25.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1639&quot; data-original-width=&quot;2048&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBK1m9ZWSdcOdR7DvCc8YTSS_yXdNSlQWLREG6XqoQ3cHwAHqFDoR0H8YZHH0sewVemjS2ocBpWUw-lp0-d8bBz5OBkjF85SU0ujjga9RyYt33vORTYcqyOqt7NsyaNYsFm9T_ywddpzo/s320/%25E6%2588%25AA%25E5%259C%2596+2021-04-28+%25E4%25B8%258B%25E5%258D%25888.30.25.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5SY4LCsdCBH2AlByC9fIU8L1oL_e83Ydut_M_nfUTQpGK4zK48QdoQePi6bmVyKlSiEGIRg0DjMD0At8v-8Ylsxc3cI8OK1m4mD_Q4dvAl7-7b-3MbZHa-g3u2mY5e9x-Y0GNGd-rMFM/s2048/%25E6%2588%25AA%25E5%259C%2596+2021-04-28+%25E4%25B8%258B%25E5%258D%25888.30.46.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1639&quot; data-original-width=&quot;2048&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5SY4LCsdCBH2AlByC9fIU8L1oL_e83Ydut_M_nfUTQpGK4zK48QdoQePi6bmVyKlSiEGIRg0DjMD0At8v-8Ylsxc3cI8OK1m4mD_Q4dvAl7-7b-3MbZHa-g3u2mY5e9x-Y0GNGd-rMFM/s320/%25E6%2588%25AA%25E5%259C%2596+2021-04-28+%25E4%25B8%258B%25E5%258D%25888.30.46.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhw3iI6g1goD_NgyQueUAR5qTJhw8Lk6nhSuyZwNyZ8_9sBISmyTBFi9ShObHT2CrKeKw8s3LCWbr9er5g-08L26PA17qUgPR9ODa5XQZifJ9r8yyjvHck-M9Jhbz3JMf7a0Q1r95bNyMY/s2048/%25E6%2588%25AA%25E5%259C%2596+2021-04-28+%25E4%25B8%258B%25E5%258D%25888.30.51.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1639&quot; data-original-width=&quot;2048&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhw3iI6g1goD_NgyQueUAR5qTJhw8Lk6nhSuyZwNyZ8_9sBISmyTBFi9ShObHT2CrKeKw8s3LCWbr9er5g-08L26PA17qUgPR9ODa5XQZifJ9r8yyjvHck-M9Jhbz3JMf7a0Q1r95bNyMY/s320/%25E6%2588%25AA%25E5%259C%2596+2021-04-28+%25E4%25B8%258B%25E5%258D%25888.30.51.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg14T8TGhkpp0xObP2jxM6VMGtAGkSWCUC1QVwEFZtayjztpGH2888dEIzHj9VPCxaW_uAb9jEm-Jbp4dIiOAHaa23NSNc3B_5bWYL_t5X3DqMv3bpDuO59zX1bGcZ8skavuGjS9gRpwwM/s2048/%25E6%2588%25AA%25E5%259C%2596+2021-04-28+%25E4%25B8%258B%25E5%258D%25888.31.12.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1639&quot; data-original-width=&quot;2048&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg14T8TGhkpp0xObP2jxM6VMGtAGkSWCUC1QVwEFZtayjztpGH2888dEIzHj9VPCxaW_uAb9jEm-Jbp4dIiOAHaa23NSNc3B_5bWYL_t5X3DqMv3bpDuO59zX1bGcZ8skavuGjS9gRpwwM/s320/%25E6%2588%25AA%25E5%259C%2596+2021-04-28+%25E4%25B8%258B%25E5%258D%25888.31.12.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIe9i7v8b4T0lp6CINTz-QHfE3Ce3-3b1b3LsfBI78pYdJEgFUEQRkxWhzNeBvgOZK1E-0YwQB-nYJf40ArzCBFhIaL1orPOZkvfs_BXypxrfJjUno61WiH_r8ysQewZvCXFdMdSGYjSM/s2048/%25E6%2588%25AA%25E5%259C%2596+2021-04-28+%25E4%25B8%258B%25E5%258D%25888.32.41.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1639&quot; data-original-width=&quot;2048&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIe9i7v8b4T0lp6CINTz-QHfE3Ce3-3b1b3LsfBI78pYdJEgFUEQRkxWhzNeBvgOZK1E-0YwQB-nYJf40ArzCBFhIaL1orPOZkvfs_BXypxrfJjUno61WiH_r8ysQewZvCXFdMdSGYjSM/s320/%25E6%2588%25AA%25E5%259C%2596+2021-04-28+%25E4%25B8%258B%25E5%258D%25888.32.41.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEn0HXztUWv9pLYB-UoZY5xzJzu45mz92SzObOfeO3IYjAo1Kvld28dpgRgRTmJcTkNlTQ1GXS52fb6Tgr9XWi8UUxBt_nMvfbfnDZVtS7o3Fw-gJF_2pwmGxQJCAuFSy0ICtjUvlBYIk/s2048/%25E6%2588%25AA%25E5%259C%2596+2021-04-28+%25E4%25B8%258B%25E5%258D%25888.32.59.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1639&quot; data-original-width=&quot;2048&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEn0HXztUWv9pLYB-UoZY5xzJzu45mz92SzObOfeO3IYjAo1Kvld28dpgRgRTmJcTkNlTQ1GXS52fb6Tgr9XWi8UUxBt_nMvfbfnDZVtS7o3Fw-gJF_2pwmGxQJCAuFSy0ICtjUvlBYIk/s320/%25E6%2588%25AA%25E5%259C%2596+2021-04-28+%25E4%25B8%258B%25E5%258D%25888.32.59.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjacj3pJgfRdCbMwjwSouqLs70Sq8TNvhitMZ2ay9CWQe-W0kVMUFpFbeRS7t6JhcowppahKGqfH3vAy9UwwKWdY8BnaFQNyxaqgv0GuvNNr0oS8cU0pv1O0vvOzzO0-dZUCtHd1U_OIs8/s2048/%25E6%2588%25AA%25E5%259C%2596+2021-04-28+%25E4%25B8%258B%25E5%258D%25888.34.31.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1639&quot; data-original-width=&quot;2048&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjacj3pJgfRdCbMwjwSouqLs70Sq8TNvhitMZ2ay9CWQe-W0kVMUFpFbeRS7t6JhcowppahKGqfH3vAy9UwwKWdY8BnaFQNyxaqgv0GuvNNr0oS8cU0pv1O0vvOzzO0-dZUCtHd1U_OIs8/s320/%25E6%2588%25AA%25E5%259C%2596+2021-04-28+%25E4%25B8%258B%25E5%258D%25888.34.31.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYUxXyYXbyQ1liazZgMqxHBX4y3tSgxxR5keC4OJYcYM-LlC2j0wgTtq1u4NIqyI4MjsZ6beTL3CZijeUIZ0B83FcxFUjxYcg5hWtvgzpFM_DarXu-VRs6R-8j_gcM88Au0NZBUNwr15I/s2048/%25E6%2588%25AA%25E5%259C%2596+2021-04-28+%25E4%25B8%258B%25E5%258D%25888.35.04.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1639&quot; data-original-width=&quot;2048&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYUxXyYXbyQ1liazZgMqxHBX4y3tSgxxR5keC4OJYcYM-LlC2j0wgTtq1u4NIqyI4MjsZ6beTL3CZijeUIZ0B83FcxFUjxYcg5hWtvgzpFM_DarXu-VRs6R-8j_gcM88Au0NZBUNwr15I/s320/%25E6%2588%25AA%25E5%259C%2596+2021-04-28+%25E4%25B8%258B%25E5%258D%25888.35.04.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgp42yO9Cvry5Z-bFjD6t-4YlCWYCIsg5QQcEFbDw_da0mGFInDY5dcUBeobNwWqSh283uTxp9vYGdM6Ve_llB5ubwkUzBUcNHOjc-mP8xE6zwY45xhxwz7vD7fwzFxaV4nKWPeMHcSZlg/s2048/%25E6%2588%25AA%25E5%259C%2596+2021-04-28+%25E4%25B8%258B%25E5%258D%25888.35.44.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1639&quot; data-original-width=&quot;2048&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgp42yO9Cvry5Z-bFjD6t-4YlCWYCIsg5QQcEFbDw_da0mGFInDY5dcUBeobNwWqSh283uTxp9vYGdM6Ve_llB5ubwkUzBUcNHOjc-mP8xE6zwY45xhxwz7vD7fwzFxaV4nKWPeMHcSZlg/s320/%25E6%2588%25AA%25E5%259C%2596+2021-04-28+%25E4%25B8%258B%25E5%258D%25888.35.44.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikCBzDSGcxH6VaKy5UnGiJas3kncTxJdExW6w5Ui5qkVJdrAbKyjjwOHNDBWRWCRWnKy-3QfsVzpCPZAfmZV-JBk4Rq-V4oslcy4mpElWbAgy9NkH3IzG103IS-NcmuJC-4U2D3dQ26Ng/s2048/%25E6%2588%25AA%25E5%259C%2596+2021-04-28+%25E4%25B8%258B%25E5%258D%25888.38.58.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1639&quot; data-original-width=&quot;2048&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikCBzDSGcxH6VaKy5UnGiJas3kncTxJdExW6w5Ui5qkVJdrAbKyjjwOHNDBWRWCRWnKy-3QfsVzpCPZAfmZV-JBk4Rq-V4oslcy4mpElWbAgy9NkH3IzG103IS-NcmuJC-4U2D3dQ26Ng/s320/%25E6%2588%25AA%25E5%259C%2596+2021-04-28+%25E4%25B8%258B%25E5%258D%25888.38.58.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5dbRJFlsRRg391pX0WUxXgvg52ddQ_dCL0MdHNKWj6KYgWUKAIJZFxAF6d-GEDZersM8iHIuT6F5EY-wu9e81gseRHaQAtVTAkhCWDMWN4t3wcM0qJmBNdb2zBFyYlMobC2TdKrA4uLs/s2048/%25E6%2588%25AA%25E5%259C%2596+2021-04-28+%25E4%25B8%258B%25E5%258D%25888.39.11.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1639&quot; data-original-width=&quot;2048&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5dbRJFlsRRg391pX0WUxXgvg52ddQ_dCL0MdHNKWj6KYgWUKAIJZFxAF6d-GEDZersM8iHIuT6F5EY-wu9e81gseRHaQAtVTAkhCWDMWN4t3wcM0qJmBNdb2zBFyYlMobC2TdKrA4uLs/s320/%25E6%2588%25AA%25E5%259C%2596+2021-04-28+%25E4%25B8%258B%25E5%258D%25888.39.11.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;--inversion-type-color: simple; background-color: black; color: white; font-family: consolas;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;--inversion-type-color: simple; background-color: black; color: white; font-family: consolas;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;--inversion-type-color: simple; background-color: black; color: white; font-family: consolas;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.magicwj.com/feeds/3585477304784033177/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3476618227350249444/3585477304784033177' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/3585477304784033177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/3585477304784033177'/><link rel='alternate' type='text/html' href='http://www.magicwj.com/2021/04/install-moxa-nport-real-tty-drivers-for.html' title='Install Moxa NPort Real TTY drivers for Linux 5.x.x  on Ubuntu 20.04'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRr93ovEfpmNCBlu_ICMxrH2334oUM8ctgT2NPgQp7ENCQfgqYGUxV2fDsjMUkiyLQjjQ2TZjf2NQvOKxaXrWHpTrhiNFSajDQIEJwYomi04a009UEtDCd5NkAGjWRveNLTrxEkYfpCrU/s72-c/%25E6%2588%25AA%25E5%259C%2596+2021-04-28+%25E4%25B8%258B%25E5%258D%25888.23.33.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3476618227350249444.post-301447257843121929</id><published>2021-04-08T15:25:00.004+08:00</published><updated>2021-04-22T16:18:29.414+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET"/><category scheme="http://www.blogger.com/atom/ns#" term="HSTS"/><category scheme="http://www.blogger.com/atom/ns#" term="RFC 6797"/><title type='text'>ASP .Net Core MVC 3.1 偵測到漏洞 HSTS Missing From HTTPS Server (RFC 6797)</title><content type='html'>ASP .Net Core MVC 3.1 的網站使用nessus弱點掃描&lt;br /&gt;偵測到漏洞 HSTS Missing From HTTPS Server (RFC 6797)&lt;div&gt;原本網站的 Startup.cs 的HTTPS Redirect寫成&lt;/div&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;public void Configure(IApplicationBuilder app, IWebHostEnvironment env)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;div&gt;&lt;div&gt;&amp;nbsp; app.UseForwardedHeaders();&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; app.Use(async (context, next) =&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (context.Request.IsHttps || context.Request.Headers[&quot;X-Forwarded-Proto&quot;] == Uri.UriSchemeHttps)&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; await next();&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string queryString = context.Request.QueryString.HasValue ? context.Request.QueryString.Value : string.Empty;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var https = &quot;https://&quot; + context.Request.Host + context.Request.Path + queryString;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; context.Response.Redirect(https);&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; });&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (env.IsDevelopment())&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; app.UseDeveloperExceptionPage();&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; app.UseExceptionHandler(&quot;/Home/Error&quot;);&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; app.UseHsts();&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; app.UseHttpsRedirection();&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; app.UseStaticFiles();&lt;/div&gt;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/pre&gt;
&lt;br /&gt;改成
&lt;pre class=&quot;prettyprint&quot;&gt;&lt;div&gt;&lt;div&gt;&amp;nbsp;services.Configure&amp;lt;ForwardedHeadersOptions&amp;gt;(options =&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; options.ForwardedHeaders =&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedProto;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; options.KnownNetworks.Clear();&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; options.KnownProxies.Clear();&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; });&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; services.AddHttpsRedirection(opt =&amp;gt; opt.HttpsPort = 443);&lt;/div&gt;&lt;/div&gt;&lt;div&gt;//其他省略&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;div&gt;public void Configure(IApplicationBuilder app, IWebHostEnvironment env)&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; app.UseForwardedHeaders();&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; app.Use(async (context, next) =&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; context.Response.Headers.Add(&quot;X-Frame-Options&quot;, &quot;SAMEORIGIN&quot;); // Or this&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; await next();&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; });&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (env.IsDevelopment())&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; app.UseDeveloperExceptionPage();&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; app.UseExceptionHandler(&quot;/Home/Error&quot;);&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; app.UseHsts();&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; app.UseHttpsRedirection();&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; app.UseStaticFiles();&lt;/div&gt;&lt;/div&gt;&lt;div&gt;//其他省略&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;然後就正常了&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.magicwj.com/feeds/301447257843121929/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3476618227350249444/301447257843121929' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/301447257843121929'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/301447257843121929'/><link rel='alternate' type='text/html' href='http://www.magicwj.com/2021/04/asp-net-core-mvc-31-hsts-missing-from.html' title='ASP .Net Core MVC 3.1 偵測到漏洞 HSTS Missing From HTTPS Server (RFC 6797)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3476618227350249444.post-953108765228193243</id><published>2021-04-08T14:56:00.001+08:00</published><updated>2023-10-17T10:25:44.826+08:00</updated><title type='text'>解決 ASP .Net Core MVC 3.1 的Clickjacking弱點</title><content type='html'>&lt;p&gt;&amp;nbsp;弱掃偵測偵測到一個ClickJacking的弱點&lt;/p&gt;&lt;h2 style=&quot;background-color: #eaedef; box-sizing: border-box; color: #425363; font-family: &amp;quot;fira sans&amp;quot;, system-ui, -apple-system, roboto, &amp;quot;segoe ui&amp;quot;, sans-serif; font-size: 2.1rem; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Web Application Potentially Vulnerable to Clickjacking&lt;/h2&gt;&lt;div&gt;&lt;a href=&quot;https://www.tenable.com/plugins/nessus/85582&quot;&gt;https://www.tenable.com/plugins/nessus/85582&lt;/a&gt;&lt;/div&gt;&lt;div&gt;解決方法在 Startup.cs 的&lt;span style=&quot;background-color: white; color: #660066; font-family: Menlo, Monaco, Consolas, &amp;quot;courier new&amp;quot;, monospace; font-size: 15px;&quot;&gt;Configure&lt;/span&gt;&amp;nbsp;加上 header&amp;nbsp;&lt;span style=&quot;background-color: white; color: #008800; font-family: Menlo, Monaco, Consolas, &amp;quot;courier new&amp;quot;, monospace; font-size: 15px;&quot;&gt;SAMEORIGIN &lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Menlo, Monaco, Consolas, &amp;quot;courier new&amp;quot;, monospace; font-size: 15px;&quot;&gt;如下方程式碼&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: Menlo, Monaco, Consolas, &amp;quot;courier new&amp;quot;, monospace; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: Menlo, Monaco, Consolas, &amp;quot;courier new&amp;quot;, monospace; font-size: 15px;&quot;&gt;或是加上deny 不能同時加 同時加就會500&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; color: #008800; font-family: Menlo, Monaco, Consolas, &amp;quot;courier new&amp;quot;, monospace; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;pre class=&quot;prettyprint :c# decode:true prettyprinted&quot; style=&quot;background: 0px 0px rgb(255, 255, 255); border-radius: 3px; border: 1px solid rgb(136, 136, 136); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, &amp;quot;courier new&amp;quot;, monospace; font-size: 15px; line-height: 1.625; margin-bottom: 13px; margin-top: 0px; overflow-wrap: break-word; overflow: auto; padding: 2px; word-break: break-all;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;app&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;box-sizing: border-box; color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;box-sizing: border-box; color: #660066;&quot;&gt;Use&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;box-sizing: border-box; color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;async&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;box-sizing: border-box; color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;context&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;box-sizing: border-box; color: #666600;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;next&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;box-sizing: border-box; color: #666600;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;box-sizing: border-box; color: #666600;&quot;&gt;=&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
	&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;box-sizing: border-box; color: #666600;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
	context&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;box-sizing: border-box; color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;box-sizing: border-box; color: #660066;&quot;&gt;Response&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;box-sizing: border-box; color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;box-sizing: border-box; color: #660066;&quot;&gt;Headers&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;box-sizing: border-box; color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;box-sizing: border-box; color: #660066;&quot;&gt;Add&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;box-sizing: border-box; color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;box-sizing: border-box; color: #008800;&quot;&gt;&quot;X-Frame-Options&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;box-sizing: border-box; color: #666600;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;box-sizing: border-box; color: #008800;&quot;&gt;&quot;SAMEORIGIN&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;box-sizing: border-box; color: #666600;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
	&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;await&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;next&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;box-sizing: border-box; color: #666600;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
	&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;box-sizing: border-box; color: #666600;&quot;&gt;});&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.magicwj.com/feeds/953108765228193243/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3476618227350249444/953108765228193243' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/953108765228193243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/953108765228193243'/><link rel='alternate' type='text/html' href='http://www.magicwj.com/2021/04/asp-net-core-mvc-31-clickjacking.html' title='解決 ASP .Net Core MVC 3.1 的Clickjacking弱點'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3476618227350249444.post-1182511462672838646</id><published>2019-10-23T15:00:00.000+08:00</published><updated>2019-10-23T15:00:04.547+08:00</updated><title type='text'>Xcode 無法從APP Store更新</title><content type='html'>該死的App Store一直在更新Xcode然後每次下載半天都是失敗&lt;br /&gt;
後來放棄從以下網址直接下載xip檔&lt;br /&gt;
&lt;a href=&quot;https://developer.apple.com/download/more/&quot;&gt;https://developer.apple.com/download/more/&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4cahtSSwlxv5ul7RiT27ponoeeexzEI-zz0Cz-aNeiSK59a31WnaIluUNbNuViU5jdbpgxWLfMYgEx5S2N9mkk3v-lHG0IGX3QRiapo29PNO3eqVIhrzsVA3_posVJQsAcyy5T8Esw30/s1600/%25E6%2588%25AA%25E5%259C%2596+2019-10-23+%25E4%25B8%258B%25E5%258D%25882.59.03.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1147&quot; data-original-width=&quot;1600&quot; height=&quot;229&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4cahtSSwlxv5ul7RiT27ponoeeexzEI-zz0Cz-aNeiSK59a31WnaIluUNbNuViU5jdbpgxWLfMYgEx5S2N9mkk3v-lHG0IGX3QRiapo29PNO3eqVIhrzsVA3_posVJQsAcyy5T8Esw30/s320/%25E6%2588%25AA%25E5%259C%2596+2019-10-23+%25E4%25B8%258B%25E5%258D%25882.59.03.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.magicwj.com/feeds/1182511462672838646/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3476618227350249444/1182511462672838646' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/1182511462672838646'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/1182511462672838646'/><link rel='alternate' type='text/html' href='http://www.magicwj.com/2019/10/xcode-app-store.html' title='Xcode 無法從APP Store更新'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4cahtSSwlxv5ul7RiT27ponoeeexzEI-zz0Cz-aNeiSK59a31WnaIluUNbNuViU5jdbpgxWLfMYgEx5S2N9mkk3v-lHG0IGX3QRiapo29PNO3eqVIhrzsVA3_posVJQsAcyy5T8Esw30/s72-c/%25E6%2588%25AA%25E5%259C%2596+2019-10-23+%25E4%25B8%258B%25E5%258D%25882.59.03.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3476618227350249444.post-5318041582318379116</id><published>2019-10-23T14:55:00.001+08:00</published><updated>2019-10-23T14:55:15.090+08:00</updated><title type='text'>Microsoft Visual Studio 2019 無法修復無法移除也無法重裝</title><content type='html'>今天突然Visual Studio 2019突然掛掉 用Visual Studio Installer修復出現錯誤 安裝也出現錯誤 移除也出現錯誤&lt;br /&gt;
後來把C:\ProgramData\Microsoft\VisualStudio\Packages&lt;br /&gt;
跟C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional&lt;br /&gt;
這兩個目錄通通砍掉 就可以重新安裝了&lt;br /&gt;
....</content><link rel='replies' type='application/atom+xml' href='http://www.magicwj.com/feeds/5318041582318379116/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3476618227350249444/5318041582318379116' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/5318041582318379116'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/5318041582318379116'/><link rel='alternate' type='text/html' href='http://www.magicwj.com/2019/10/microsoft-visual-studio-2019.html' title='Microsoft Visual Studio 2019 無法修復無法移除也無法重裝'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3476618227350249444.post-4978298944650303958</id><published>2019-10-23T14:36:00.006+08:00</published><updated>2020-03-26T14:50:02.058+08:00</updated><title type='text'> Blogger 設定ads.txt</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
在Google AdSense 下載了ads.txt&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisPeb81wV4p3G3H-zP9HVo-kwUo5tgcj7HvKocMzYLHtH1Psrlkpfv_W209DTpxEDnLh6Ncq1ajnCfiTHbHqSby1jkK1utmxXNwLG66rTTd33_vEnRuGonyAcDw_CLXqog3USrhbPEQOw/s1600/%25E6%2588%25AA%25E5%259C%2596+2019-10-23+%25E4%25B8%258B%25E5%258D%25882.33.52.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;465&quot; data-original-width=&quot;1600&quot; height=&quot;92&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisPeb81wV4p3G3H-zP9HVo-kwUo5tgcj7HvKocMzYLHtH1Psrlkpfv_W209DTpxEDnLh6Ncq1ajnCfiTHbHqSby1jkK1utmxXNwLG66rTTd33_vEnRuGonyAcDw_CLXqog3USrhbPEQOw/s320/%25E6%2588%25AA%25E5%259C%2596+2019-10-23+%25E4%25B8%258B%25E5%258D%25882.33.52.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
登入Blogger後左邊的設定-&amp;gt;搜尋偏好設定-&amp;gt;營利-&amp;gt;自訂ads.txt&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
然後把檔案內容貼上去-&amp;gt;儲存&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnRa7rjer0qqeKAcZsX5OIpoJg-a_QF3LbS1xHPmlfdfNm0tj01XB_iY1xs6yPmzLEHg2cB8nSpPS6JJOqWDH_lOwELnvHcs442yhYi_pu4JaQPJrdoD_a0n4DNQTlT0-PpMGIwWwesqU/s1600/%25E6%2588%25AA%25E5%259C%2596+2019-10-23+%25E4%25B8%258B%25E5%258D%25882.30.51.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;528&quot; data-original-width=&quot;1476&quot; height=&quot;114&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnRa7rjer0qqeKAcZsX5OIpoJg-a_QF3LbS1xHPmlfdfNm0tj01XB_iY1xs6yPmzLEHg2cB8nSpPS6JJOqWDH_lOwELnvHcs442yhYi_pu4JaQPJrdoD_a0n4DNQTlT0-PpMGIwWwesqU/s320/%25E6%2588%25AA%25E5%259C%2596+2019-10-23+%25E4%25B8%258B%25E5%258D%25882.30.51.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqF3mJIgeYhYvZClJcJZblLN0n7-pN3ahYO93fLt5gmuzPCm5sBB_4w6A9_OG7gID1Oqo9eRfe9hGAEAYxhaBAJ_fhHumQIf5_KA9pdWAH75L-XFCmg6kLBR3yAwyuXBmc9eS5r9sZGgo/s1600/%25E6%2588%25AA%25E5%259C%2596+2019-10-23+%25E4%25B8%258B%25E5%258D%25882.30.38.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;938&quot; data-original-width=&quot;1600&quot; height=&quot;187&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqF3mJIgeYhYvZClJcJZblLN0n7-pN3ahYO93fLt5gmuzPCm5sBB_4w6A9_OG7gID1Oqo9eRfe9hGAEAYxhaBAJ_fhHumQIf5_KA9pdWAH75L-XFCmg6kLBR3yAwyuXBmc9eS5r9sZGgo/s320/%25E6%2588%25AA%25E5%259C%2596+2019-10-23+%25E4%25B8%258B%25E5%258D%25882.30.38.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.magicwj.com/feeds/4978298944650303958/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3476618227350249444/4978298944650303958' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/4978298944650303958'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/4978298944650303958'/><link rel='alternate' type='text/html' href='http://www.magicwj.com/2019/10/blogger-adstxt.html' title=' Blogger 設定ads.txt'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisPeb81wV4p3G3H-zP9HVo-kwUo5tgcj7HvKocMzYLHtH1Psrlkpfv_W209DTpxEDnLh6Ncq1ajnCfiTHbHqSby1jkK1utmxXNwLG66rTTd33_vEnRuGonyAcDw_CLXqog3USrhbPEQOw/s72-c/%25E6%2588%25AA%25E5%259C%2596+2019-10-23+%25E4%25B8%258B%25E5%258D%25882.33.52.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3476618227350249444.post-5194854718100301351</id><published>2019-08-17T18:29:00.000+08:00</published><updated>2019-08-17T18:29:05.859+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="XSD"/><category scheme="http://www.blogger.com/atom/ns#" term="值不能為null。參數名稱:instance"/><title type='text'>Visual Studio 2019無法開啟dataSet 的XSD檔案</title><content type='html'>在使用Visual Studio 2019開啟一個舊的web專案的時候，打開dataSet的XSD檔案後卻出現&lt;br /&gt;
”值不能為null。參數名稱:instance“如下圖的錯誤&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFeAyoHsK_n0T44q0QjVEiepQd5KGk7hBFKBN0BfXBwzf17XerHl9PvNh7mjkp3j5TNzMCO4JHsyhAwlRzmBktIIe0ZbxPFlFIuqlzKIdYP6CHMeC-SwoqrbOvFWvdAbMb3UdhhRX3W0k/s1600/%25E8%259E%25A2%25E5%25B9%2595%25E5%25BF%25AB%25E7%2585%25A7+2019-08-16+%25E4%25B8%258B%25E5%258D%25882.16.13.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;453&quot; data-original-width=&quot;936&quot; height=&quot;154&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFeAyoHsK_n0T44q0QjVEiepQd5KGk7hBFKBN0BfXBwzf17XerHl9PvNh7mjkp3j5TNzMCO4JHsyhAwlRzmBktIIe0ZbxPFlFIuqlzKIdYP6CHMeC-SwoqrbOvFWvdAbMb3UdhhRX3W0k/s320/%25E8%259E%25A2%25E5%25B9%2595%25E5%25BF%25AB%25E7%2585%25A7+2019-08-16+%25E4%25B8%258B%25E5%258D%25882.16.13.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
讓我整個傻眼 後來上網查一下只要是4.72之前的版本&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
好像要把建置的目標framework 原本是4.5&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
改成 .net framework4.72 就可以顯示DataSet&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
如下圖在網站的屬性頁-&amp;gt;建置把4.5改成4.72&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6JLzCoB7fkBqML_0bxgffqAh6qOIhcjmS5kdmtiOm6dUAbn2tm1enhwMCPBnf4RlME_u08Cyny2x2Gf_-8bfIFo5GMaulCjbiNcGq-mVAyTYlnaFELgCPcz6Iy8SsG6CMPiIvulfBD4w/s1600/%25E8%259E%25A2%25E5%25B9%2595%25E5%25BF%25AB%25E7%2585%25A7+2019-08-16+%25E4%25B8%258B%25E5%258D%25883.35.52.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;488&quot; data-original-width=&quot;784&quot; height=&quot;199&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6JLzCoB7fkBqML_0bxgffqAh6qOIhcjmS5kdmtiOm6dUAbn2tm1enhwMCPBnf4RlME_u08Cyny2x2Gf_-8bfIFo5GMaulCjbiNcGq-mVAyTYlnaFELgCPcz6Iy8SsG6CMPiIvulfBD4w/s320/%25E8%259E%25A2%25E5%25B9%2595%25E5%25BF%25AB%25E7%2585%25A7+2019-08-16+%25E4%25B8%258B%25E5%258D%25883.35.52.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFsz0x4AlAUa83aGZKv44llwkbqoSXPvkXeEPtuhBOIJT7pl_vUwPuRtvV9qnOMhUdFkzv1dYfC4Rs214KRxCTzT5Zh36MNoiJzsF7Ysq4ENARlMbUFQYiNU07YL7km2DpdhmvJ6mDdJA/s1600/%25E8%259E%25A2%25E5%25B9%2595%25E5%25BF%25AB%25E7%2585%25A7+2019-08-16+%25E4%25B8%258B%25E5%258D%25883.35.38.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;487&quot; data-original-width=&quot;786&quot; height=&quot;198&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFsz0x4AlAUa83aGZKv44llwkbqoSXPvkXeEPtuhBOIJT7pl_vUwPuRtvV9qnOMhUdFkzv1dYfC4Rs214KRxCTzT5Zh36MNoiJzsF7Ysq4ENARlMbUFQYiNU07YL7km2DpdhmvJ6mDdJA/s320/%25E8%259E%25A2%25E5%25B9%2595%25E5%25BF%25AB%25E7%2585%25A7+2019-08-16+%25E4%25B8%258B%25E5%258D%25883.35.38.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.magicwj.com/feeds/5194854718100301351/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3476618227350249444/5194854718100301351' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/5194854718100301351'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/5194854718100301351'/><link rel='alternate' type='text/html' href='http://www.magicwj.com/2019/08/visual-studio-2019dataset-xsd.html' title='Visual Studio 2019無法開啟dataSet 的XSD檔案'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFeAyoHsK_n0T44q0QjVEiepQd5KGk7hBFKBN0BfXBwzf17XerHl9PvNh7mjkp3j5TNzMCO4JHsyhAwlRzmBktIIe0ZbxPFlFIuqlzKIdYP6CHMeC-SwoqrbOvFWvdAbMb3UdhhRX3W0k/s72-c/%25E8%259E%25A2%25E5%25B9%2595%25E5%25BF%25AB%25E7%2585%25A7+2019-08-16+%25E4%25B8%258B%25E5%258D%25882.16.13.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3476618227350249444.post-374714179916193101</id><published>2018-08-06T11:17:00.002+08:00</published><updated>2018-08-06T11:17:21.656+08:00</updated><title type='text'>Visual Studio 2017 無法設計檢視模式開啟 rdlc檔案</title><content type='html'>今天修改舊程式的rdlc 檔,用Visual Studio 2017 開啟後全部變成xml的檔案開啟方式&lt;br /&gt;
無法使用設計檢視模式開啟rdlc&lt;br /&gt;
上網google 一下 發現是要裝Report Designer&lt;br /&gt;
所以到下面網址抓&lt;br /&gt;
&lt;span style=&quot;background-color: #eff1f3; font-family: wf_segoe-ui, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, Verdana; font-size: 26px; font-weight: 600;&quot;&gt;&lt;a href=&quot;https://marketplace.visualstudio.com/items?itemName=ProBITools.MicrosoftRdlcReportDesignerforVisualStudio-18001&quot;&gt;Microsoft Rdlc Report Designer for Visual Studio&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
下載vsix檔案安裝後就可以正常用Report Designer開啟rdlc檔案</content><link rel='replies' type='application/atom+xml' href='http://www.magicwj.com/feeds/374714179916193101/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3476618227350249444/374714179916193101' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/374714179916193101'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/374714179916193101'/><link rel='alternate' type='text/html' href='http://www.magicwj.com/2018/08/visual-studio-2017-rdlc.html' title='Visual Studio 2017 無法設計檢視模式開啟 rdlc檔案'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3476618227350249444.post-1864431350361478210</id><published>2018-03-08T15:54:00.002+08:00</published><updated>2019-10-15T10:46:56.660+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C# Folder browse Dialog not showing Network shared folders win8/Win10"/><title type='text'>程式在Win10找不到網路分享網路磁碟</title><content type='html'>在Win10上新增了一個網路磁碟&lt;br /&gt;
&lt;div&gt;
結果程式的folder browser竟然抓不到&lt;/div&gt;
&lt;div&gt;
上網google 發現竟然是win10某個版本的 bug更新後就會正常&lt;/div&gt;
&lt;div&gt;
但是無法上網更新&lt;/div&gt;
&lt;div&gt;
所以解法是在regedit上加上機碼&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;-webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); border: none; color: #454545; font-family: &amp;quot;Segoe UI&amp;quot;, &amp;quot;Lucida Grande&amp;quot;, Verdana, Arial, Helvetica, sans-serif; font-size: 14px; list-style-type: none; margin: 0px 0px 1em; outline: 0px; padding: 0px; text-size-adjust: auto;&quot;&gt;
&lt;div style=&quot;font-family: Helvetica Neue;&quot;&gt;
1.跑&amp;nbsp;&lt;span style=&quot;border: 0px; font-weight: bold; outline: 0px;&quot;&gt;regedit&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica Neue;&quot;&gt;
2. 找到&amp;nbsp;&lt;span style=&quot;border: 0px; font-weight: bold; outline: 0px;&quot;&gt;HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Policies/System&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica Neue;&quot;&gt;
3 - 新增一個&amp;nbsp;&lt;span style=&quot;border: 0px; font-weight: bold; outline: 0px;&quot;&gt;DWORD entry&lt;/span&gt;&lt;span style=&quot;border: 0px; font-weight: bold; outline: 0px;&quot;&gt;&amp;nbsp;命名為&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;border: 0px; font-weight: bold; outline: 0px;&quot;&gt;EnableLinkedConnections&lt;/span&gt;&amp;nbsp;值設為&lt;span style=&quot;border: 0px; font-weight: bold; outline: 0px;&quot;&gt;&amp;nbsp;1&lt;/span&gt;.&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica Neue;&quot;&gt;
4 - 電腦重新開機&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica Neue; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
5 - 然後程式就可以抓到了&lt;br /&gt;
&lt;br /&gt;
reg位置如下圖&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5zN2mJjjkD6HlySp8sq_f5h0nGhhGpvtW4A8I4HsvXiKxwFpmj46n52UZbha6qMsCYg171A9lEHxV_U6qq_pX_ldX_Cfjq64luZC2IgEciwLb_VCtGLLTzzdxS78JE22ciqSpV-7sbGw/s1600/%25E6%2588%25AA%25E5%259C%2596+2019-10-14+%25E4%25B8%258A%25E5%258D%258810.25.02.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;942&quot; data-original-width=&quot;1600&quot; height=&quot;188&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5zN2mJjjkD6HlySp8sq_f5h0nGhhGpvtW4A8I4HsvXiKxwFpmj46n52UZbha6qMsCYg171A9lEHxV_U6qq_pX_ldX_Cfjq64luZC2IgEciwLb_VCtGLLTzzdxS78JE22ciqSpV-7sbGw/s320/%25E6%2588%25AA%25E5%259C%2596+2019-10-14+%25E4%25B8%258A%25E5%258D%258810.25.02.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;, Arial, sans; font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica neue&amp;quot;;&quot;&gt;
 
  &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;-webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); border: none; color: #454545; font-family: &amp;quot;Segoe UI&amp;quot;, &amp;quot;Lucida Grande&amp;quot;, Verdana, Arial, Helvetica, sans-serif; font-size: 14px; list-style-type: none; margin: 0px 0px 1em; outline: 0px; padding: 0px; text-size-adjust: auto;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.magicwj.com/feeds/1864431350361478210/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3476618227350249444/1864431350361478210' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/1864431350361478210'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/1864431350361478210'/><link rel='alternate' type='text/html' href='http://www.magicwj.com/2018/03/win10.html' title='程式在Win10找不到網路分享網路磁碟'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5zN2mJjjkD6HlySp8sq_f5h0nGhhGpvtW4A8I4HsvXiKxwFpmj46n52UZbha6qMsCYg171A9lEHxV_U6qq_pX_ldX_Cfjq64luZC2IgEciwLb_VCtGLLTzzdxS78JE22ciqSpV-7sbGw/s72-c/%25E6%2588%25AA%25E5%259C%2596+2019-10-14+%25E4%25B8%258A%25E5%258D%258810.25.02.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3476618227350249444.post-7158874515384882516</id><published>2018-03-08T15:44:00.000+08:00</published><updated>2018-03-08T15:44:08.975+08:00</updated><title type='text'>事件10016 錯誤DistributedCOM</title><content type='html'>&lt;h3 class=&quot;r&quot; style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 18px; font-weight: normal; margin: 0px; overflow: hidden; padding: 0px; text-overflow: ellipsis; white-space: nowrap;&quot;&gt;
系統發生事件10016 錯誤DistributedCOM&lt;/h3&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 12pt;&quot;&gt;&lt;em&gt;應用程式特定 權限設定無法將含有 CLSID &lt;/em&gt;&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;, Arial, sans; font-size: 16px;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;, Arial, sans; font-size: 12pt;&quot;&gt;&lt;em&gt;{D63B10C5-BB46-4990-A94F-E40B9D520160}&lt;/em&gt;&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;, Arial, sans; font-size: 16px;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;, Arial, sans; font-size: 12pt;&quot;&gt;&lt;em&gt;&amp;nbsp;與 APPID &lt;/em&gt;&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;, Arial, sans; font-size: 16px;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;, Arial, sans; font-size: 12pt;&quot;&gt;&lt;em&gt;{9CA88EE3-ACE-47C8-AFC4-AB702511C276}&lt;/em&gt;&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;, Arial, sans; font-size: 16px;&quot; /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 12pt;&quot;&gt;&lt;em&gt;&amp;nbsp;之 COM 伺服器應用程式的 本機 啟動 權限授與來自位址 LocalHost (使用 LRPC) 的使用者 NT AUTHORITY\SYSTEM SID (S-1-5-18)。您可以使用元件服務系統管理工具修改此安全性權限。&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 12pt;&quot;&gt;&lt;em&gt;&lt;br /&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;上網google解決方法就是&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 16px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: 12pt;&quot;&gt;1..以管理者(Administrator)身份登入系桶&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;, Arial, sans; font-size: 16px;&quot;&gt;
&lt;/span&gt;&lt;div style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;, Arial, sans; font-size: 16px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: 12pt;&quot;&gt;2.執行&lt;strong&gt;Regedit&lt;/strong&gt;，至 &lt;strong&gt;HKEY_CLASSES_ROOT\AppID\&lt;/strong&gt;，找到上面appid的機碼&amp;nbsp;&lt;strong&gt;{&lt;/strong&gt;&lt;/span&gt;&lt;em style=&quot;text-align: start;&quot;&gt;9CA88EE3-ACE-47C8-AFC4-AB702511C276&lt;/em&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;strong&gt;}&lt;/strong&gt; ，確認內容包含&lt;em&gt;數值名稱LocalService&lt;/em&gt;與&lt;em&gt;數值資料XXXX&lt;/em&gt;。&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;, Arial, sans; font-size: 16px;&quot;&gt;
&lt;/span&gt;&lt;div style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;, Arial, sans; font-size: 16px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: 12pt;&quot;&gt;3.選取機碼&amp;nbsp;&lt;strong&gt;{&lt;/strong&gt;&lt;/span&gt;&lt;em style=&quot;text-align: start;&quot;&gt;9CA88EE3-ACE-47C8-AFC4-AB702511C276&lt;/em&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;strong&gt;}&lt;/strong&gt; 後，叫出右鍵選單，選擇「&lt;strong&gt;使用權限(P)...&lt;/strong&gt;」。&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;, Arial, sans; font-size: 16px;&quot;&gt;
&lt;/span&gt;&lt;div style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;, Arial, sans; font-size: 16px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: 12pt;&quot;&gt;4.接著要取得該機碼的擁有權限。該機碼預設的擁有者為&lt;em&gt;TrustedInst&lt;/em&gt;&lt;em&gt;aller&lt;/em&gt;，需改變為&lt;strong&gt;Administrators&lt;/strong&gt;。因此按下「&lt;strong&gt;進階&lt;/strong&gt;」按鈕，至「&lt;strong&gt;擁有者&lt;/strong&gt;」分頁，選擇&lt;strong&gt;Administrators&lt;/strong&gt;，勾選下方「&lt;strong&gt;取代子容器與物件擁有者(R)&lt;/strong&gt;」，接著點選「&lt;strong&gt;確定&lt;/strong&gt;」、回到使用權限設定對話。&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;, Arial, sans; font-size: 16px;&quot;&gt;
&lt;/span&gt;&lt;div style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;, Arial, sans; font-size: 16px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: 12pt;&quot;&gt;5.隨著該機碼擁有者的變更，可進行之後的權限設定。在使用權限設定對話中，授與&lt;strong&gt;Administrators&lt;/strong&gt;與&lt;strong&gt;SYSTEM完全控制&lt;/strong&gt;權限。點選&lt;strong&gt;確定&lt;/strong&gt;套用變更。&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;, Arial, sans; font-size: 16px;&quot;&gt;
&lt;/span&gt;&lt;div style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;, Arial, sans; font-size: 16px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: 12pt;&quot;&gt;6.結束&lt;strong&gt;Regedit&lt;/strong&gt;，執行&lt;strong&gt;Dcomcnfg&lt;/strong&gt;。進入&lt;strong&gt;元件服務&lt;/strong&gt;-&amp;gt;&lt;strong&gt;電腦&lt;/strong&gt;-&amp;gt;&lt;strong&gt;我的電腦&lt;/strong&gt;-&amp;gt;&lt;strong&gt;DCOM設定&lt;/strong&gt;，至項目「&lt;b&gt;XXXX&lt;/b&gt;」，叫出右鍵選單點選&lt;strong&gt;內容&lt;/strong&gt;。&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;, Arial, sans; font-size: 16px;&quot;&gt;
&lt;/span&gt;&lt;div style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;, Arial, sans; font-size: 16px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: 12pt;&quot;&gt;7.至「&lt;strong&gt;安全性&lt;/strong&gt;」分頁、「&lt;strong&gt;啟動和啟用權限&lt;/strong&gt;」，點選「&lt;strong&gt;編輯&lt;/strong&gt;」。群組及使用者名稱選取「&lt;strong&gt;SYSTEM&lt;/strong&gt;」，SYSTEM的權限設置勾選&lt;strong&gt;允許&lt;/strong&gt;「&lt;strong&gt;本地啟動&lt;/strong&gt;」。點選確定套用變更。&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;, Arial, sans; font-size: 16px;&quot;&gt;
&lt;/span&gt;&lt;div style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 16px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: 12pt;&quot;&gt;上述DCOM權限錯誤應當能就此解決。&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.magicwj.com/feeds/7158874515384882516/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3476618227350249444/7158874515384882516' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/7158874515384882516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/7158874515384882516'/><link rel='alternate' type='text/html' href='http://www.magicwj.com/2018/03/10016-distributedcom.html' title='事件10016 錯誤DistributedCOM'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3476618227350249444.post-7848472296488906879</id><published>2018-03-08T15:36:00.004+08:00</published><updated>2018-03-08T15:36:57.784+08:00</updated><title type='text'>Windows Server 2016 出現 Data Sharing Service service terminated with the following error:  Event ID 7023</title><content type='html'>&lt;div&gt;
Windows Server 2016&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
出現 Data Sharing Service service terminated with the following error:&amp;nbsp; Event ID 7023&lt;/div&gt;
&lt;div&gt;
造成系統無法登入 一直斷線&lt;/div&gt;
&lt;div&gt;
經上網google找到Technet 日本有說明如下&lt;/div&gt;
&lt;a href=&quot;https://blogs.technet.microsoft.com/askcorejp/2016/12/22/collision-between-user-access-logging-service-and-data-sharing-service/&quot;&gt;User Access Logging Service (UALSVC) と Data Sharing Service (DSSVC) を同時に開始できない問題につ&lt;/a&gt;&lt;div&gt;
總而言之就是UALSVC 跟DSSVC會衝突&lt;/div&gt;
&lt;div&gt;
修改方法如下在cmd下面下下面兩個指令就可以解決此問題&lt;/div&gt;
&lt;br /&gt;Sc config ualsvc type=own &lt;br /&gt; Sc config dssvc type=own&lt;div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.magicwj.com/feeds/7848472296488906879/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3476618227350249444/7848472296488906879' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/7848472296488906879'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/7848472296488906879'/><link rel='alternate' type='text/html' href='http://www.magicwj.com/2018/03/windows-server-2016-data-sharing.html' title='Windows Server 2016 出現 Data Sharing Service service terminated with the following error:  Event ID 7023'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3476618227350249444.post-1365942503137079112</id><published>2014-11-25T12:39:00.002+08:00</published><updated>2014-11-25T12:39:32.087+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SCRIPT1733"/><category scheme="http://www.blogger.com/atom/ns#" term="Tag is invalid"/><title type='text'>只有某台電腦 javascript無法正常執行 網頁出現空白 F12開發者模式 偵錯出現SCRIPT1733</title><content type='html'>&lt;span style=&quot;color: #262626; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;今天遇到一個詭異的問題&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #262626; font-family: arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;某個網頁程式其他電腦都正常&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #262626; font-family: arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;但是某台電腦報表無法列印&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #262626; font-family: arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;列印報表按下去出現整個空白的網頁&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #262626; font-family: arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;IE 8升級到IE9都不行&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #262626; font-family: arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;偵測錯發現出現&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #262626; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;SCRIPT1733: 標記不正確&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #262626; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;問題出在javascript的&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 15px; line-height: 21px;&quot;&gt;Window.open() 跟 document.write()&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 15px; line-height: 21px;&quot;&gt;&amp;nbsp;地方&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 15px; line-height: 21px;&quot;&gt;同事上網google發現&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #262626; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;原來是舊版的office安裝後升級新版的office造成的&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #262626; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #262626; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;解決網址如下&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #262626; font-family: arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;http://www.dbuggr.com/milly/fix-ms-internet-explorer-8-javascript-tag-invalid-issue-windows/&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #262626; font-family: arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;步驟&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #262626; font-family: arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;1.關閉所有的IE&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #262626; font-family: arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;2.用系統管理員權限執行命令列(開始-&amp;gt;搜尋打cmd-&amp;gt;cmd.exe按右鍵以系統管理員身分執行&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #262626; font-family: arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;3.到C:\Windows\System32，解註冊docobj.dll&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #262626; font-family: arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;(cd C:\windows\system32&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
regsvr32 -u docobj.dll)&lt;br /&gt;
4.到C:\&lt;span style=&quot;background-color: #f0f7f9; color: #333333; font-family: Arial, sans-serif; font-size: 13px; line-height: 18.2000007629395px;&quot;&gt;Program Files\Internet Explorer 註冊ieproxy.dll&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #f0f7f9; color: #333333; font-family: Arial, sans-serif; font-size: 13px; line-height: 18.2000007629395px;&quot;&gt;(cd C:\&lt;/span&gt;&lt;span style=&quot;background-color: #f0f7f9; color: #333333; font-family: Arial, sans-serif; font-size: 13px; line-height: 18.2000007629395px;&quot;&gt;Program Files\Internet Explorer&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #f0f7f9; color: #333333; font-family: Arial, sans-serif; font-size: 13px; line-height: 18.2000007629395px;&quot;&gt;regsvr32 ieproxy.dll)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: Arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: #f0f7f9; line-height: 18.2000007629395px;&quot;&gt;5.開啟ie&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #262626; font-family: arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #262626; font-family: arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #262626; font-family: arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.magicwj.com/feeds/1365942503137079112/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3476618227350249444/1365942503137079112' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/1365942503137079112'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3476618227350249444/posts/default/1365942503137079112'/><link rel='alternate' type='text/html' href='http://www.magicwj.com/2014/11/javascript-f12-script1733.html' title='只有某台電腦 javascript無法正常執行 網頁出現空白 F12開發者模式 偵錯出現SCRIPT1733'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>