I know this question have been raised before. But I can't find a good approach..
I use Visual Studio 2013, where I start with an empty web application, in which I install Umbraco7 from NuGet. Everything works, but when I publish the website from VS and copy it to the server, I get a problem logging in?
When I try to login I get the following error i the debug console:
As I mention when I just run the project from VS, the site runs smoothly!
I would like to understand how I publish my site correctly from VS :)
When you publish from Visual Studio you have to ensure that every file you want to be deployed on the server is registered as part of the Visual Studio project (r-click, include in project). That includes the Umbraco folder, and the contents of App_Data etc. I would double check to ensure that all the files are present.
Publish umbraco from Visual Studio
I know this question have been raised before. But I can't find a good approach..
I use Visual Studio 2013, where I start with an empty web application, in which I install Umbraco7 from NuGet. Everything works, but when I publish the website from VS and copy it to the server, I get a problem logging in?
When I try to login I get the following error i the debug console:
As I mention when I just run the project from VS, the site runs smoothly! I would like to understand how I publish my site correctly from VS :)
When you publish from Visual Studio you have to ensure that every file you want to be deployed on the server is registered as part of the Visual Studio project (r-click, include in project). That includes the Umbraco folder, and the contents of App_Data etc. I would double check to ensure that all the files are present.
is working on a reply...