ASP.NET缓存之 没有为 SQL 缓存通知启用数据库“ReplaceShop”。

e = {"没有为 SQL 缓存通知启用数据库“ReplaceShop”。\r\n\r\n要为 SQL 缓存通知启用数据库,请使用 System.Web.Caching.SqlCacheDependencyAdmin.EnableNotifications 方法,或命令行工具 aspnet_regsql。要使用此工具,请运行“aspnet_regsql.exe -?”以了解详细信息。"}

aspnet_regsql -S wsh-s0712002\sql2008 -E -d ReplaceShop -t Student -et和SqlCacheDependencyAdmin.EnableTableForNotifications(connectionString, tableName);都不行

http://blog.csdn.net/shankaipingo/articles/1439398.aspx

http://msdn.microsoft.com/zh-cn/library/ms178604(VS.80).aspx