pristinesource / elasticdatabasetoolsnetcore Goto Github PK
View Code? Open in Web Editor NEWElasticScale DB modified for .Net Core
ElasticScale DB modified for .Net Core
When calling TryGetSqlShardMapManager I get an error saying that the resources are not correctly embedded or linked into the assembly. See below:
My code:
bool shardMapManagerExists = ShardMapManagerFactory.TryGetSqlShardMapManager( shardMapManagerConnectionString, ShardMapManagerLoadPolicy.Lazy, out shardMapManager);
The exception details:
System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "Microsoft.Azure.SqlDatabase.ElasticScaleNetCore.ShardManagement.ReadOnlyScripts.resources" was correctly embedded or linked into assembly "ElasticScaleNetCore.Client" at compile time, or that all the satellite assemblies required are loadable and fully signed.
at System.Resources.ManifestBasedResourceGroveler.HandleResourceStreamMissing(String fileName)
at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark) at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark) at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents) at System.Resources.ResourceManager.GetString(String name, CultureInfo culture) at Microsoft.Azure.SqlDatabase.ElasticScaleNetCore.ShardManagement.SqlUtils.<>c.<.cctor>b__42_0() at System.Lazy
1.CreateValue()
at System.Lazy1.LazyInitValue() at Microsoft.Azure.SqlDatabase.ElasticScaleNetCore.ShardManagement.GetShardMapManagerGlobalOperation.DoGlobalExecute(IStoreTransactionScope ts) at Microsoft.Azure.SqlDatabase.ElasticScaleNetCore.ShardManagement.StoreOperationGlobal.<Do>b__10_0() at Microsoft.Azure.SqlDatabase.ElasticScaleNetCore.TransientFaultHandling.RetryPolicy.ExecuteAction[TResult](Func
1 func)
at Microsoft.Azure.SqlDatabase.ElasticScaleNetCore.ShardManagement.StoreOperationGlobal.Do()
at Microsoft.Azure.SqlDatabase.ElasticScaleNetCore.ShardManagement.ShardMapManagerFactory.GetSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy, RetryBehavior retryBehavior, EventHandler`1 retryEventHandler, Boolean throwOnFailure)
at Microsoft.Azure.SqlDatabase.ElasticScaleNetCore.ShardManagement.ShardMapManagerFactory.TryGetSqlShardMapManager(String connectionString, ShardMapManagerLoadPolicy loadPolicy, RetryBehavior retryBehavior, ShardMapManager& shardMapManager)
at CheckFlow.Data.ShardManagementUtils.CreateOrGetShardMapManager(String shardMapManagerConnectionString)
at CheckFlow.Data.DataAccess.CreateShardMapManagerAndShard()
at CheckFlow.Startup.Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)} System.Resources.MissingManifestResourceException
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.