Comments (12)
No Idea
Best solution is to create a sample reproduction solution, that I can use to debug
from dotmim.sync.
plz create a github repository
from dotmim.sync.
@Mimetis any idea what the error is?
Sample app with No Authentication - It works perfectly with the same database that is provisioned with no authentication.
Sample app with Authentication - i can see that the client's provisioning tables getting synchronized, but data is not synced.
from dotmim.sync.
Hi @Mimetis
Please see the attached.
[HelloWebAuthSyncClient.zip]
[HelloWebAuthSyncServer.zip]
[Other Files.zip]
from dotmim.sync.
Hi @Mimetis
github.com/sojan1/Dotmim.Sync.Samples
from dotmim.sync.
Please create a repository with your sample only.
What should I do with a repository with ALL THE DMS SAMPLES ?
from dotmim.sync.
Hi
i have removed all other samples and uploaded again
github.com/sojan1/Dotmim.Sync.Samples1
from dotmim.sync.
link is not working
last link still the same
from dotmim.sync.
i am so sorry for that.
The repository was defaulted to private when uploaded from Visual Studio
i have tested the latest version and have also confirmed that it is a public
https://github.com/sojan1/Dotmim.Sync.Samples2
from dotmim.sync.
@Mimetis , Hi, have you had a chance to see the error?
from dotmim.sync.
In the sample you provided, you forgot to add tables to your SyncSetup instance:
// [Required]: Get a connection string to your server data source
var connectionString = Configuration.GetSection("ConnectionStrings")["SqlConnection"];
// Set the web server Options
var options = new SyncOptions
{
BatchDirectory = Path.Combine(SyncOptions.GetDefaultUserBatchDirectory(), "server")
};
// ADD TABLES !!!!!!!!!!!!!!!!!!!!
var setup = new SyncSetup();
// ADD
var provider = new SqlSyncChangeTrackingProvider(connectionString);
services.AddSyncServer(provider, setup, options, null);
Before testing, be sure you are using a fresh server / client database
My advice, for any test, be sure you have provision correctly your database.
Last thing, your sample is not running correctly and is not raising the issue you are mentionning.
Please do the effort to provider a clean sample I can use to reproduce your error, otherwise I will not be able to help you.
from dotmim.sync.
provisioning is already done for the database. So should i again have the tables added in the SyncSetup().
i am already synching the other examples with the hub using the same code above.
from dotmim.sync.
Related Issues (20)
- Invalid column name issues HOT 1
- Issue with Redundant Data Transfer in Dotmim.Sync HOT 5
- serverProvider (Remote) Read Only HOT 2
- Speed up tests HOT 1
- Use ConfigureAwait(false) everywhere
- Turn on reproducible builds
- Turn on nuget lockfiles and LockedMode HOT 1
- Add Package Validation
- Speed up pipelines
- Support SQLite server-side HOT 2
- Investigate using the CRDT data structure HOT 3
- Field not synced - help HOT 1
- Timeout Issue and Foreign Keys and Unique Constraint bypass HOT 8
- Database Sync Error with SQL Server HOT 2
- Unable to sync with a unique identifier primary key and a separate identity column HOT 3
- Timeout Issues HOT 4
- ..Cannot enable foreign key constraint 'FK_Performance_T_Performance_Size_T' as index 'PK_Performance_Size_T' on referenced key is disabled. Could not enable or disable the constraint HOT 10
- Clean metadata HOT 5
- Migrations HOT 2
- Timeouts HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dotmim.sync.