Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi, I'm currently developing a new website where we use models in the views, the code looks something like:
@using ContentModels = Umbraco.Web.PublishedContentModels;
Layout = "Master.cshtml";
The problem is that now, the models builder has stopped working, as in it is just stuck on loading. Recently we switched from SQL compact to a mssql database could that have been what has affected it?
MSSQL shouldn't be a reason for this issue. Did you try to rebuild Models Builder? What Models Builder mode are you running?
I'm running PureLive, the problem is that it won't let me build, it just hangs at the loading stage in the Umbraco backend :/
is there another way of rebuilding or maybe debug it?
Thanks a lot
With "PureLive" mode you don't need to rebuild models. Models are building on the fly.
One remark - "PureLive" model doesn't work in IISExpress, in the other words - if you run the site via VisualStudio - it's not working.
Change ModelsBuilder mode to "Dll" to work in visual studio. On the live server leave "PureLive"
With one comment to Alex's post... PureLive will not work on many Shared hosting plans (ie. GoDaddy etc) because it depends on an exe being able to execute from within the bin folder, and as I am finding out, not too many hosting providers out there are willing to allow that.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted