System.Web.Security.MachineKey.Protect & Unprotect 問題

有朋友詢問它透過 System.Web.Security.MachineKey.Protect 再將 Byte Array 轉成 Base64 字串後,

在同一台電腦上,透過 Console 程式去解,卻發生 System.Security.Cryptography.CryptographicException 的錯誤。

發生 System.Security.Cryptography.CryptographicException
  HResult=0x80131430
  Message=進行密碼編譯作業期間發生錯誤。
  Source=System.Web
  StackTrace: 
   於 System.Web.Security.Cryptography.HomogenizingCryptoServiceWrapper.HomogenizeErrors ...

...繼續閱讀 »

[.NET]The project requires a platform SDK

  • 343
  • 0
  • UWP
  • 2016-08-11

最近在開啟一個專案時出現以下的錯誤,

The project requires a platform SDK (UAP, Version=10.0.10240.0) that is not installed. 
Please visit the following link for more information: http://go.microsoft.com/fwlink/?prd=12514&pver=14.0&sbp=PlatformSDKMissing&plcid=0x409&o1=UAP,%20Version=10.0.10240.0

然後就不給開了。

...繼續閱讀 »

[.NET]與伺服器的連接 已成功建立,但在登入前的信號交換時發生錯誤。(Provider: SSL 提供者, error: 0-用戶端與伺服器 無法溝通,因為他們沒有公用的演算法)

環境

AP: Windows 2008 R2 SP1 64位元

DB: Windows 2008 R2 SP1 64位元、SQL Server 2008 SP2

最近客戶環境上了以下的更新後,

AP KB3168965 KB3163245 KB3170106 KB3170455 IE11安全性更新(KB890830)
DB KB3168965 KB3163245 KB3170106 KB3170455

AP就發生了以下的錯誤,

與伺服器的連接 已成功建立,但在登入前的信號交換時發生錯誤。(Provider: SSL 提供者, error: 0-用戶端與伺服器 無法溝通,因為他們沒有公用的演算法)

 

...繼續閱讀 »