Alachisoft / NCache

NCache: Highly Scalable Distributed Cache for .NET
http://www.alachisoft.com
Apache License 2.0
647 stars 123 forks source link

Backing source not available. Verify backing source settings. #47

Closed OldmanAllen closed 4 years ago

OldmanAllen commented 5 years ago

Hi, I have configured the back source node in config.ncconfig as below: <configuration> <cache-config cache-name="TestCacheName"> ... <backing-source> <read-thru enable-read-thru="True"> <provider provider-name="sqlreadthruprovider" assembly-name="BackingSource.Providers.Sql, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" class-name="Alachisoft.NCache.Samples.Providers.SqlReadThruProvider" full-name="BackingSource.Providers.Sql.dll" default-provider="False"> <parameters name="connstring" value="Data Source=localhost;Database=northwind;User Id=admin;password=xxxxxxxx;"/> </provider> </read-thru>
</backing-source> </cache-config> </configuration>

And deploy the read through provider under NCache/deploy/TestCacheName folder. But the read through is not working: error is Backing source not available. Verify backing source settings.

Does anyone know how to make Read through work with open source edition?

Kal-Alachisoft commented 5 years ago

Hi @PagePinner , can you share some more details.

Please share snippets of the Cache logs where this error is logged if they're being created. Where are you getting the error "Backing source not available. Verify backing source settings.". You can even attach the complete log file as well.

OldmanAllen commented 4 years ago

It is working now. I put backing-source node under the wrong node. Should be under cache-settings . Thanks.