【发布时间】:2013-08-31 02:03:36
【问题描述】:
我正在尝试在我的ASP.NET 应用程序中将SQLDependency Caching 与查询通知一起使用。
我关注了these steps to set up SQLDependency Caching。我能够成功设置db。
但是,当我运行我的应用程序时,出现以下错误。
Cannot find the specified user 'owner'.
Cannot find the queue
SqlQueryNotificationService-6c3ae823-a678-4ed2-8b97-561b5f2561ee',
because it does not exist or you do not have permission.
Invalid object name
SqlQueryNotificationService-6c3ae823-a678-4ed2-8b97-561b5f2561ee'.
代码Global.asax
void Application_Start(object sender, EventArgs e)
{
// Code that runs on application startup
System.Data.SqlClient.SqlDependency.Start(ConfigurationManager.ConnectionStrings["McdConn"].ToString());
}
我尝试用谷歌搜索解决方案,但无法获得任何帮助。
谁能帮我解决这个问题?
我错过了什么吗?
【问题讨论】:
标签: asp.net caching sqldependency