I'm running a local version of Umbraco 7 (via WebMatrix) and all is going well. However my staging version was removed recently and now I need to duplicate my dev version and turn it into the new staging version.
I need to duplicate so all references and ID's are the same. I have tried creating a new install from WebMatrix and copying the files into it and I've tried duplicating the folder in Explorer and then opening it via WebMatrix.
Both ways give me the same error. I can login to the new staging version via localhost and see files etc but whenever I try and view the site I get a: The view found at '~/Views/SOMEWHERE.cshtml' was not created.
Things I've tried:
Deleting most files from the TEMP folder and restarting - no change
Deleting umbraco.config, restarting - no change
Republished entire site
Edited pages and republished
I've looked in the database and through the config files but can't find any reference to the previous physical location so don't know what it's trying to find, the views are there.
It sounds like your database maybe out of sync on the staging server. Deleting the Temp folder, umbraco.config or republishing the site are all good ideas but the database has to be up to speed for them to work.
Presuming you can login to the Umbraco backend: have you tried exporting a package from the dev environment and re-importing them on the staging environment? You'll find the option under Settings>Packages>...>Create and from there you'll be able to export Content, Document Types, Templates, Data Types and Style sheets.
The database needs to know about the template (views) and how they're wired up to the document templates and datatypes. Sometimes it can be easier to do a database copy and upload all the files, that way you wouldn't need to export\import the datatypes using a package.
If you can't login to the Umbraco backend it may be best to clear it down and start again, either with a fresh Umbraco install or with a duplicate file-set and database.
Duplicate Local Umbraco Installation
Hi,
I'm running a local version of Umbraco 7 (via WebMatrix) and all is going well. However my staging version was removed recently and now I need to duplicate my dev version and turn it into the new staging version.
I need to duplicate so all references and ID's are the same. I have tried creating a new install from WebMatrix and copying the files into it and I've tried duplicating the folder in Explorer and then opening it via WebMatrix.
Both ways give me the same error. I can login to the new staging version via localhost and see files etc but whenever I try and view the site I get a: The view found at '~/Views/SOMEWHERE.cshtml' was not created.
Things I've tried:
I've looked in the database and through the config files but can't find any reference to the previous physical location so don't know what it's trying to find, the views are there.
Hi Mark.
It sounds like your database maybe out of sync on the staging server. Deleting the Temp folder, umbraco.config or republishing the site are all good ideas but the database has to be up to speed for them to work.
Presuming you can login to the Umbraco backend: have you tried exporting a package from the dev environment and re-importing them on the staging environment? You'll find the option under Settings>Packages>...>Create and from there you'll be able to export Content, Document Types, Templates, Data Types and Style sheets.
The database needs to know about the template (views) and how they're wired up to the document templates and datatypes. Sometimes it can be easier to do a database copy and upload all the files, that way you wouldn't need to export\import the datatypes using a package.
If you can't login to the Umbraco backend it may be best to clear it down and start again, either with a fresh Umbraco install or with a duplicate file-set and database.
Hope this helps.
Why does the forum say there's a reply but there doesn't appear to be anything here?
I had the same problem, and this solved it for me:
https://our.umbraco.org/forum/templates-partial-views-and-macros/85026-iis8-application-pool-32b-causing-homepage-not-found-view-invalidated
is working on a reply...