You need to first enable the database for cache dependency with:
aspnet_regsql -S ... -U ... -P ... -d testschema -ed
then enable the table:
aspnet_regsql -S ... -U ... -P ... -d testschema -t table1 -et
-Brock
http://staff.develop.com/ballen
> Hi
> I have created a datatbase "testschema" and schema called "MySchema".
[quoted text clipped - 24 lines]
> I have tried with out schema name and again it is failed. Pl. let me
> know what's wrong creating dependancy on table?
emer.kurbegovic@gmail.com - 27 May 2006 07:27 GMT
i have exactly the same problem. if i switch the schema name to "dbo"
it registers correctly. it does not seem to be working with any other
schema name but "dbo".
Here is the Error Message:
Cannot create trigger
'dbo.MySchema.Codes_AspNet_SqlCacheNotification_Trigger' as its schema
is different from the schema of the target table or view.
emer.kurbegovic@gmail.com - 27 May 2006 07:31 GMT
I do register the database first correctly and i can register any table
within the "dbo" schema.
what am i doing wrong?
emer.kurbegovic@gmail.com - 29 May 2006 04:12 GMT
can anyone help out here?