So i have two projects need to sync data between bot projects so i have installed usync in both the projects
Now i am doing Clean export from 1 project and i am getting all the data in usync folder in project
Now i am copying that folder and pasting it in 2nd project (replacing the usync folder)
Then after running 2nd project i am importing all the things with Full Import
It is giving error about page not found,
But i have checked in Usync folder in template section page is there but i am not able to get the Views part so can someone please help me out here
As part of your deployment there should be a HomePage.cshtml file present in the Views directory. Usync is failing because that file is missing.
uSync doesn't create the cshtml files on disk, it expects them to be there, instead it is creating the database reference to that file, but because it's not there it cannot create it.
I would check that you are deploying the HomePage.cshtml file correctly.
uSync Views not Importing Issue
So i have two projects need to sync data between bot projects so i have installed usync in both the projects
Now i am doing Clean export from 1 project and i am getting all the data in usync folder in project
Now i am copying that folder and pasting it in 2nd project (replacing the usync folder)
Then after running 2nd project i am importing all the things with Full Import
It is giving error about page not found, But i have checked in Usync folder in template section page is there but i am not able to get the Views part so can someone please help me out here
Thanks and Regards Aadarsh Dubey
Hi Aadarsh,
As part of your deployment there should be a HomePage.cshtml file present in the Views directory. Usync is failing because that file is missing.
uSync doesn't create the cshtml files on disk, it expects them to be there, instead it is creating the database reference to that file, but because it's not there it cannot create it.
I would check that you are deploying the HomePage.cshtml file correctly.
Thanks
Nik
is working on a reply...