Looking for the v10 manual? Visit our new user's guide!
 
Search Descriptions Version
 
 
This article applies to: ML8

Compiler Error Message: BC30035: Syntax error


Symptoms
Customers using the 8.0 VB version may encounter the following error when starting the site:

     Compiler Error Message: BC30035: Syntax error.

     Source Error:

     Line 17:     <script language="C#" runat="server">
     Line 18: 
     Line 19:     // set this to true if you want to see a POST test form instead of a GET test form
     Line 20:     bool showPost = true;
     Line 21: 


Cause
This results from a translation error during the creation of the VB build.

Solution
Find this line in your web.config file:

<compiler language="c#;cs;csharp" extension = ".vb" type="Microsoft.VisualBasic.VBCodeProvider,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">

And replace it with:

<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">