.NET中SQL SERVER访问权限问题
做了一个小WEB程序,在VS2005中调试没有问题.但在IIS中调试时报错:
SELECT 使用限在物件 'showjob',料 'cwc1082',有者 'dbo' 上被拒。
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: SELECT 使用限在物件 'showjob',料 'cwc1082',有者 'dbo' 上被拒。
请问如何解决????
[解决办法]
你所使用的SQL登录用户是不是没有该表的查询权限!