ModelBuilder PureLive fails stating "Could not load CharArrays" from assembly Umbraco.Core
Hello Umbraco,
I have been working on a demo site using Umbraco v8.11.1. I am not using ModelBuilder extensively but just auto generated classes.
So far so good, I created a published version of this side and deployed it elsewhere and it fails with null exception and when seen in log details I have this ModelBuilder fails to generate classes. Please see the screen shot below:
Secondly,
In App_Data\Models folder, I get this:
I am not sure, what I missing here. Also to mentioned very first deplyment went well and then on second deployment these errors are seen.
Read/Write Permission to App_Data/Models Or Folder where you are
generating Models
Add Umbraco,Core dll in website/dll folder version 8.0.0.0 and restart the application also check the package reference in
web.Config File for Umbraco.core.
Login into the CMS and regenerate the models.
Also the Compare the Folder Structure of local and Deployment server.
Something is definitely missing while publishing from Local to
Server.
Seems you are using default model builder "PureLive" Which generate the model on fly..
I kept trying to fix this error but at last I decided to have a fresh clone from GIT repo. When I published site using newly cloned version, every thing worked well as if nothing happen..
ModelBuilder PureLive fails stating "Could not load CharArrays" from assembly Umbraco.Core
Hello Umbraco,
I have been working on a demo site using Umbraco v8.11.1. I am not using ModelBuilder extensively but just auto generated classes. So far so good, I created a published version of this side and deployed it elsewhere and it fails with null exception and when seen in log details I have this ModelBuilder fails to generate classes. Please see the screen shot below:
Secondly, In App_Data\Models folder, I get this:
I am not sure, what I missing here. Also to mentioned very first deplyment went well and then on second deployment these errors are seen.
Please advise.
Thank you in advance!
Regards, Ranjit
Hello Ranjit,
Possibly missing a reference, check this you can get what you are missing :-
https://our.umbraco.com/forum/developers/api-questions/37952-could-not-load-file-or-assembly-'umbracocore'
Hi Ranjit , Please Try below Steps.
Seems you are using default model builder "PureLive" Which generate the model on fly..
Thanks, Shekhar
Hi AddWeb,
I have checked "Umbraco.Core.dll" in bin folder and exactly matched from dev environment.
Any more suggestions/advice are welcomed. :)
Thank you for reply!
Regards,
Ranjit
Hello Umbraco Team,
Update!
I kept trying to fix this error but at last I decided to have a fresh clone from GIT repo. When I published site using newly cloned version, every thing worked well as if nothing happen..
Still unknown about the cause of this error.
Thank you!
Regards,
Ranjit
is working on a reply...