I'm new to ASP.net, and I'm having a problem running my project on the web server.
Visual Studio Community 2015, .Net Framework 4.5.2
The project runs fine on my local machine. I published it to the web server (using FTP), and when I run from the server I get an error. It chokes on the Web.config file at the line -
type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
The error that comes back is -
Parser Error Message: The CodeDom provider type "Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" could not be located.
It seems like it is not finding the CodeDom compiler - or something like that, although I can see CodeDom stuff in the bin folder which uploaded ok.
My web hosting account is set to support ASP.net 4.0 and 4.5
Is there something more I need to include in the project? Any help is greatly appreciated.
Victor