Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • M 34 posts 246 karma points
    Jun 28, 2016 @ 11:37

    Failing to compile when deployed to IIS


    I've been working on a site locally, and my SASS stylesheets compile fine (unless I mess something up!).

    I've built and deployed the site using Team Foundation Server, and it builds fine, but once deployed I'm just getting "Server Error in '/' Application." when viewing the scss file.

    If I attempt to publish the project in Visual Studio I get the following error:

    Error   27  Could not open Source file: Could not find a part of the path

    I've checked the logs, and I can't see anything obvious in there, certainly no errors and nothing relating to Optimus.

    Any ideas?

    Using Umbraco 7.3.7


  • Jinesh Kaneriya 22 posts 155 karma points
    Jun 28, 2016 @ 12:33
    Jinesh Kaneriya


    I think this is permission issue please check the permission for this files. and give trust level in web.config find out more about trust level What is trust level?

  • M 34 posts 246 karma points
    Jun 28, 2016 @ 12:58

    Hi, Thanks for replying. Do you mean change the site web.config or Optimus?


  • Paul 147 posts 513 karma points
    Jan 31, 2017 @ 09:38

    Yep I'm getting this issue too. Going to try the permission amendments.

  • Paul 147 posts 513 karma points
    Jan 31, 2017 @ 11:55

    Adding the following to the publish profile seems to resolve this:



      <MSDeployParameterValue Include="somestuffhere">

    Looks like this message presents itself when MSBuild tries to replace connection strings in all web.configs, including those in other folders like XSLT and App_Data.

Please Sign in or register to post replies

Write your reply to: