I have a simple site that works perfectly on my local machine, but when I upload to GoDaddy I get this parser error below. I also listed the content of my current web.config that I had to adjust based on a couple of other threads in this forum. The error is in line 1 and I only get this when I create a webform based on a Master file.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Cannot execute a program. The command being executed was "G:\PleskVhosts\website.com\website.com\bin\roslyn\vbc.exe" /shared /keepalive:"10" /noconfig @"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f9edd03b\87e9a1c8\mfjk34af.cmdline".
Source Error:
Line 1: <%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="MasterPage.Master" CodeBehind="index.aspx.vb" Inherits="COT3_Empty_Web.index" %>
Line 2: <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
Line 3: </asp:Content>
Web.config file
<?xmlversion="1.0"encoding="utf-8"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<system.web>
<customErrorsmode="Off"/>
<trustlevel="Full"/>
<authenticationmode="None"/>
<compilationdebug="true"strict="false"explicit="true"targetFramework="4.5.2"/>
<httpRuntimetargetFramework="4.5.2"/>
</system.web>
<system.codedom>
<compilers>
<compilerlanguage="c#;cs;csharp"extension=".cs"
type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
warningLevel="4"compilerOptions="/langversion:6 /nowarn:1659;1699;1701"/>
<compilerlanguage="vb;vbs;visualbasic;vbscript"extension=".vb"
type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
warningLevel="4"compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\"Web\" /optionInfer+"/>
</compilers>
</system.codedom>
</configuration>