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

June 10th, 2010

admin | 1,049 views
จาก Error ตามหัวข้อเกิดจากไม่ได้ Add Permission (เพิ่งเคยเจอเหมือนกัน อุอุ) สามารถแก้ไขได้ดังนี้
- เปิดโปรแกรม SQL Server Management Studio
- ดูที่ Object Explorer (ด้านซ้าย)
- เลือกโฟลเดอร์ >> Security >> Logins
- เลือก User ที่ใช้งานอยู่ คลิกขวาเลือกเมนูลัด “Properties”
- เมื่อขึ้นหน้าต่าง ดูที่ Select a page (ด้านซ้าย)
- เลือก 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.