Using SQLCacheDependency in Ms-SQL 2005
Hi All,
i am trying to enable sqlcachedependecy on the database 'testdb' which i am using in the project.
When using the command on command line
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspn et_regsql.exe -S servername -U username -P password -d testdb -ed
i got the below error
"Enabling the database for SQL cache dependency.
.An error has happened. Details of the exception:
Login failed for user 'username'.
Unable to connect to the SQL database for cache dependency registration."
However the same details i am using in the connection string of web.config file of my project and it's working well. I am able to connect to the database using the connectionstring.
But when i try to enable cachedependency i got the above error.
By the way i am using SQLEXPRESS edition.
Is any permission lacking??
Regards
Prashant