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
'C:\..\App_Plugins\Optimus\Views\Web.config;\App_Plugins\Optimus\Views\Web.config'.
I've checked the logs, and I can't see anything obvious in there, certainly no errors and nothing relating to Optimus.
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?
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.
Failing to compile when deployed to IIS
Hi!
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:
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
Thanks
Hi,
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?
Hi, Thanks for replying. Do you mean change the site web.config or Optimus?
Thanks
Yep I'm getting this issue too. Going to try the permission amendments.
Adding the following to the publish profile seems to resolve this:
And
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.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.