วันจันทร์ที่ 26 พฤศจิกายน พ.ศ. 2561

SQL Server 2017 Cannot find one or more components. Please re install the application

เปิดใช้ SQL SERVER แล้วพบ Error Message box : Cannot find one or more components. Please re install the application

1.ถ้าติดตั้งโปรแกรม SQL SERVER อีกครั้งแล้วยังเปิดใช้โปรแกรมไม่ได้
If can not openning program after you re-install SQL SERVER.

2.ถ้าลบ instance name แล้วยังเปิดใช้งานโปรแกรมไม่ได้
If can not openning program after you remove instance name.

3.ถ้าลบ Following Folder ที่ Registry แล้วยังเปิดใช้งานโปรแกรมไม่ได้
If can not openning program after delete Following Folder of Registry.

ให้ดาวน์โหลด Visual Studio Shell 2015
( URL : http://www.visualstudioextensibility.com/downloads/vs-shells/ ) มา แล้วติดตั้งใหม่อีกครั้ง ซึ่งระยะเวลาในการติดตั้งขึ้นอยู่กับทรัพยากรเครื่องนั้นๆ
Download Visual Studio Shell 2015
( URL : http://www.visualstudioextensibility.com/downloads/vs-shells/ ) and Re-install again.

หากติดตั้งVisual Studio Shell 2015 ไม่ได้ให้ตรวจสอบ .Net Framework ของเครื่อง เอา .NetFramework 3.5 ออก ตามภาพด้านล่าง แล้วดับเบิ้ลคลิกเพื่อติดตั้งใหม่อีกรอบ
If can not re-install Visual Studio Shell 2015 make sure .Net Framework 3.5 was disable. Check see picture below.


SQL Server 2017 Remove Instance name

ลบ Instance Name ของ SQL Server 2017
ปล.ในเครื่องลบทั้ง sql server 2017 และ 2008 R2 ใช้วิธีการเดียวกันต่างกันที version ต่อท้าย และถ้าในเครื่องมี instance name มากกว่า 1 instance name ให้รันวิธีการนี้อีกรอบตามจำนวน instance name ที่ต้องการลบ ระยะเวลาที่ใช้ขึ้นอยู่กับทรัพยากรเครื่องนั้นๆ

1. ไปที่ control panel

2. เลือก Uninstall a program


3. choose microsoft sql server 2017 (64 bit)


4. Select Remove on message box


5. Show message and wating


6. Select instance name you want to remove and cilck Next button


7. Select Feature of Instance want to remove and cilck Next button


8. Waiting to preparing


9. Prepare success and click Remove button


10. Remove Processing 


11. Remove Successful !! 
If you have many instance name you must running process for choose your instance name again



Set Enable .Net framework 3.5 on windows 10 (ติดตั้ง .Netframework 3.5 บนวินโดวน์ 10)

1. Download windows 8.1 file [ TH : ดาวน์โหลดไฟล์ ของ windows 8.1 ] 2. Mount File windows Copy file \sources\sxs from mount drive ...