...

View Full Version : SqlCacheDependency



sujith
03-13-2007, 08:09 AM
Dim SCD As New SqlCacheDependency("StorePaq", "Product")

I am trying to declaire an SqlCacheDependency as above

BUT I am getting an error as follows

“Cannot find the 'StorePaq' database in the configuration.”


My entry of connectionStrings in web.config file is as follows


<connectionStrings>
<add name="StorePaqConnectionString" connectionString="Data Source=KV2;Initial Catalog=StorePaq;Integrated Security=True"
providerName="System.Data.SqlClient" />
</connectionStrings>


So what change shuld I made to make things OK
Hope u can help me

sujith

nikkiH
03-13-2007, 05:31 PM
Your web.config.

http://quickstarts.asp.net/QuickStartv20/aspnet/doc/caching/SQLInvalidation.aspx



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum