T
Tina
I'm using SS2005 Developer edition with an ASP.Net 2.0 application, testing
in VS 2005.....
I have created two TableAdapters that reside in my App_Code directory that
were created with the new Data Set Designer. They both access that same
database but one uses a stored procedure and the other uses a SQL Query.
In SQL Server Management Studio all tables and all SPs are prefixed with
dbo.
The TableAdapter that uses the stored procedure works find but the one that
uses the Query gets the following error: SELECT permission denied on object
'TableName', database 'DatabaseName', schema 'dbo'.
The query that fails works fine in the vs 2005 development environment. I
figure it must have something to do with the ASPNET user and I notice that
this is my only database that has a MACHINENAME/ASPNET user (but the other
DBs get accessed just fine without it)
Help!!
T
in VS 2005.....
I have created two TableAdapters that reside in my App_Code directory that
were created with the new Data Set Designer. They both access that same
database but one uses a stored procedure and the other uses a SQL Query.
In SQL Server Management Studio all tables and all SPs are prefixed with
dbo.
The TableAdapter that uses the stored procedure works find but the one that
uses the Query gets the following error: SELECT permission denied on object
'TableName', database 'DatabaseName', schema 'dbo'.
The query that fails works fine in the vs 2005 development environment. I
figure it must have something to do with the ASPNET user and I notice that
this is my only database that has a MACHINENAME/ASPNET user (but the other
DBs get accessed just fine without it)
Help!!
T