วันจันทร์ที่ 26 กุมภาพันธ์ พ.ศ. 2561

Forget user & password Apache Tomcat


   
 1. Go to folder apache tomcat  for example : C:\apache-tomcat-7.0.84\conf 

  
 2. Open file tomcat-users.xml by Notepad


3. Focus tag
<role rolename="tomcat"/>
<role rolename="role1"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="both" password="both" roles="tomcat,role1"/>
<user username="role1" password="role1" roles="role1"/>
Uncomment all tag or add another user and user role 


4. Open command 
go to apache-tomcat-7.0.84\bin 
> shutdown 
 > Enter

5. Open command 
go to apache-tomcat-7.0.84\bin 
 > startup
 > Enter

6. Success.





วันพฤหัสบดีที่ 8 กุมภาพันธ์ พ.ศ. 2561

แก้ Error 500.19 บน IIS


วิธีแก้
1. ไปที่ Control Panel
2. ที่มุมขวาบน เลือก View  by : category
3. ที่หัวข้อ Programs เลือก Uninstall a program
4. ที่แถบซ้ายมือเลือก Turn windows feature on or off
5. ในลิสต์ของ Internet Information Services
     > World Wide Web Services
     > Application Deployment Features
     > เลือก .Net ที่เป็น version ล่าสุด ตามภาพด่านล้าง
     > OK
จากนั้นรอซักครู่ให้ feature โหลดเรียบร้อยแล้วรีเฟรสหน้าเว็บ



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 ...