Hi all
I am tring to create a trigger on batch table. The trigger will fire at the time when batch is posted and it will wite some data to another SQL database (non-solomon) on the same server. I got the following error when I tried to do the post:
The server principal "07718158D19D4f5f9D23b55dbf5df1" is not able to access the database "abc" under the current security context.
I check this login on sql server and of course has no right to "abc" database. I grant the rights and I am still getting the same error.
I worte a similar trigger when the AP vouchere is released and I don't have any problem at all. The ap release stored procedure and the gl post stored procedure are running with excute as the above sql user. I don't know why I can get AP to work but the the GL trigger.
The environment I am working on is V7FP1 with sql login. The database is SQL 2005 with compatibility level set to 90 (SQL2005).
Thanks!
abby wang
*This post is locked for comments
I have the same question (0)