[VSTO] Specified argument was out of the range of valid values

ปัญหา

ติดตั้งไฟล์ VSTO ชอง Office แล้วเจอ Error Message ว่า "Specified argument was out of the range of valid values. Parameter name: entryValue" ดังรูป

ทางแก้ไข

  • ให้ไปที่ Path %USERPROFILE%\AppData\Local\Apps\2.0 จากนั้นลบข้อมูลออกให้หมด (อาจจะต้องใช้ Tools พวก Unlocker เพราะบางไฟล์ ยังถูกบาง Process ใช้งานอยู่ครับ)
  • ทดสอบลง VSTO AddIns อีกครั้ง

Discover more from naiwaen@DebuggingSoft

Subscribe to get the latest posts sent to your email.