วิธีแก้ไข ASP.NET Error : The SELECT permission was denied on the object ‘table_name’, database ‘table_name’, schema ‘dbo’.

จาก Error ตามหัวข้อเกิดจากไม่ได้ Add Permission (เพิ่งเคยเจอเหมือนกัน อุอุ) สามารถแก้ไขได้ดังนี้

  1. เปิดโปรแกรม SQL Server Management Studio
  2. ดูที่ Object Explorer (ด้านซ้าย)
  3. เลือกโฟลเดอร์ >> Security >> Logins
  4. เลือก User ที่ใช้งานอยู่ คลิกขวาเลือกเมนูลัด “Properties”
  5. เมื่อขึ้นหน้าต่าง ดูที่ Select a page (ด้านซ้าย)
  6. เลือก Server Role ให้ Check “sysadmin” กดปุ่ม Ok

เป็นอีกหนึ่งวิธีที่แก้ไข้ได้ครับ เรียบร้อยโรงเรียนไทย

You can leave a response, or trackback from your own site. Responses are currently closed, but you can trackback from your own site. You can skip to the end and leave a response. Pinging is currently not allowed. Both comments and pings are currently closed.
Powered by WordPress | Shop Free T-Mobile Phones Online | Thanks to Verizon Phones without Contract, MMORPG Games and Sell Car