想照着petshop4 做个网站边做边学习.在建立数据库时出现一个问题 我建了一个数据库 ToyShop.这个库是和PetShop4 一样的结构和功能. 不过在实现它的缓存依赖时 一直出错教程上说petshop 的缓存依赖是用命令 
aspnet_regsql -S .\SqlExpress -E -d MSPetShop4 -t Item -et
aspnet_regsql -S .\SqlExpress -E -d MSPetShop4 -t Product -et
aspnet_regsql -S .\SqlExpress -E -d MSPetShop4 -t Category -et
建立的 (我在我的电脑上试了 没问题)我改写了命令成
aspnet_regsql -S .\SqlExpress -E -d ToyShop -t Item -et
aspnet_regsql -S .\SqlExpress -E -d ToyShop -t Product -et
aspnet_regsql -S .\SqlExpress -E -d ToyShop -t Category –et却以致出现错误
提示是
The database 'ToyShop' is not enabled for SQL cache notification.To enable a database for SQL cache notification, please use the System.Web.Caching.SqlCacheDependencyAdmin.EnableNotifications method, or the command line tool aspnet_regsql. To use the tool, please run 'aspnet_regsql.exe -?' for more information. 我在 sql management studio 里检查了 两个数据库的 属性完全一样啊 访问权限也一样
哪位朋友遇到过同样的问题帮忙解释一下为什么 和怎么解决的! 谢谢大家先!!!!!