Home > .NET, Vs2015 > Roslyn access denied error

Roslyn access denied error

2016/11/02

Publishing a .NET 4.5 site on a normal provider, not Azure, i got the yellow screen of death “Access is denied” with “Cannot execute a program. The command being executed was \roslyn\csc.exe”.
Since the .NET 4.5 , Roslyn is the default compiler; Roslyn is interesting (even if i wrote code that was evaluating C# code years ago using Reflection) but i was in a hurry, i was needing to make the site working ASAP.
The quick & dirty solution is to delete from web.config the system.codedom section.

Advertisements
Categories: .NET, Vs2015
%d bloggers like this: