Normally Umbraco comes up really nicely without any issues. A few things worth checking:
I assume you have .NET 4.5 installed (as this is the minimum version) and you've configured your app pool to use this (expect this is correct unless it'll failed more fundamentally!)
Umbraco needs some folder permissions set (see Permissions) best to set read/write for the user used by the Application pool (this can be changed later once it's all working.
Not sure at the moment what else to suggest, let me know if this helps or not.
I've given full permissions to the Application Pool and definitely have 4.5 installed.
I don't think the problem is with Umbraco, it's something I'm doing that's stupid. Running via IIS Express works, so does publishing to IIS from Visual Studio.
This all implies that there's either a build step I'm not performing, or an IIS setup step I'm not performing.
I'm assuming you've used IIS Express on the VM and also used Visual Studio to publish to IIS on the VM. If so that would suggest nothing wrong with the VM (which is what I'd expect)?
Aye, I did the quick and easy way which was opening the folder is VS Code and running it. That worked well.
I've opened it in Visual Studio (from fresh unzip) and then published it to the local IIS. That also works.
What's not working is manually creating a website, pointing it at the Umbraco folder and trying to access it.
Ultimately, I need to be able to get it into a Docker container. (I haven't used Umbraco or Docker before and I'm no IIS expert either, so there's every change I'm doing, or not doing, something really obvious to anyone with experience).
Not a problem - the Umbraco community is always happy to help!
I've just downloaded the ZIP and set it up on my development machine in IIS without an issue (didn't do anything special selected the default IIS 4.5 App Pool).
Just wondering how would be the best way forward - would you be able to give me access to a backup of your VM (copy to dropbox or something) - and I'll take a quick peek, as you said likely to be something really obvious.
First run Umbraco InvalidOperationException
I have UmbracoCms.7.10.4 freshly unzipped from the downloaded zip file. I've got it running under IIS (or rather am trying to).
When I hit the page I'm getting a 500 returned with the following stack trace:
I assume I've forgotten to install something, I'm running on a fresh Windows 10 VM. The file it's looking for does exist at the searched location.
Any suggestions?
I've tried installing the versions of ASP.NET MVC from version 1 upwards via Web PI. No change though.
Hi David,
Normally Umbraco comes up really nicely without any issues. A few things worth checking:
Not sure at the moment what else to suggest, let me know if this helps or not.
Andy
Thanks Andy,
I've given full permissions to the Application Pool and definitely have 4.5 installed.
I don't think the problem is with Umbraco, it's something I'm doing that's stupid. Running via IIS Express works, so does publishing to IIS from Visual Studio.
This all implies that there's either a build step I'm not performing, or an IIS setup step I'm not performing.
I'm assuming you've used IIS Express on the VM and also used Visual Studio to publish to IIS on the VM. If so that would suggest nothing wrong with the VM (which is what I'd expect)?
Let me just try a quick test on my machine!
Andy
Aye, I did the quick and easy way which was opening the folder is VS Code and running it. That worked well.
I've opened it in Visual Studio (from fresh unzip) and then published it to the local IIS. That also works.
What's not working is manually creating a website, pointing it at the Umbraco folder and trying to access it.
Ultimately, I need to be able to get it into a Docker container. (I haven't used Umbraco or Docker before and I'm no IIS expert either, so there's every change I'm doing, or not doing, something really obvious to anyone with experience).
David,
Not a problem - the Umbraco community is always happy to help!
I've just downloaded the ZIP and set it up on my development machine in IIS without an issue (didn't do anything special selected the default IIS 4.5 App Pool).
Just wondering how would be the best way forward - would you be able to give me access to a backup of your VM (copy to dropbox or something) - and I'll take a quick peek, as you said likely to be something really obvious.
Thanks Andy
You're welcome to log into it, is there a way I can get you a private message?
Do you have twitter?
If so you can find me as @AndyFelton71 and should be able to private message me there?
OK, I've just done exactly the same steps I did the first time, manually creating an IIS website. Not it fires up without any issue.
The publishing by Visual Studio must have added/changed something. I have no idea what though. To try it again I'll have to create a new, fresh VM.
How odd, let us know if you have another issue and I'll try and take a look again.
Andy
Aye. I've sent you over the details, but I don't think you will be able to see anything.
I'll message again though if I can repo it, if that's OK. I'm really grateful for you looking into it.
Not a problem, hope the development goes well!
Andy
is working on a reply...