Environment view image incorrect path when the Octopus site is not under the root of a IIS website

Hi Paul,

Some of the image paths on the the Environment view (index.cshtml) uses absolute url, e.g /Content/Images/Machines/Server-Online.png

it should be src="@Url.Content("~/Content/Images/Machines/Server-Online.png")" otherwise the images won’t render if the Octopus website is moved to virtual directory.

Hi Alvin,

Thanks for letting me know, I’ve fixed it and will include it in the next build. I haven’t tested the site running from a virtual directory previously, so it’s possible you may encounter other errors. If so please let me know, or if possible you may find things more stable running from a web site.



Hi Paul,
Close but no cigar… In the latest version ( I see that the image specs have been updated but there is still the omission of the tilda character which is still preventing icons from being rendered e.g.

<img src="@Url.Content("/Content/

instead of

<img src="@Url.Content("~/Content/...

Thanks Brad, wow, I don’t know what happened there, I must have been snoozing. I’ve fixed it now for the next release.


Hi Brad,

Thanks again for letting me know, this is now fixed in today’s release.


Time to unwrap the cigar…
Thanks for your help,