Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 318171
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T08:32:41+00:00 2026-05-12T08:32:41+00:00

Visual studio just started throwing error BC30037: Character is not valid. at me (while

  • 0

Visual studio just started throwing “error BC30037: Character is not valid.” at me (while validating a web site) wherever I have use the nullable operator anywhere within one of my VB.NET 3.5 projects. This happened to a colleague some months ago but he doesn’t remember how he fixed it.

For example, if I change every instance of Double? to Nullable(Of Double), it compiles just fine, and other usage of nullables in other projects in the same solution are continuing to work just fine.

I’ve tried cleaning the solution, closing Visual Studio, deleting the Temporary ASP.NET files, and restarting Visual Studio to no avail.

Anything else I could try?

ADDITION:

I thought I would mention that delegate syntax is also failing. I have this piece of code:

Dim hasSkips As Boolean = payments.Where(Function(p) p.Code = "SKIP").Count > 0
Dim isRegular As Boolean = Not hasSkips

payments is an IList(Of Payment). The Payment object has a string property called Code. There are no validation errors or anything visible in Visual Studio that makes it think it doesn’t know what that line of code does. Intellisense works just fine, but the compiler has a fit with the syntax. The following two errors accompany the above two lines of code, respectively:

error BC30201: Expression expected.
error BC30451: Name 'hasSkips' is not declared.

It would almost seem as if Visual Studio has no knowledge of the VB.NET 3.5 features it’s supposed to know about.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T08:32:42+00:00Added an answer on May 12, 2026 at 8:32 am

    I figured it out. The web site project needs to be instructed which version of the compiler to use, even after you choose the version in the property pages. Added this to my web.config fixed the issue:

    <system.codedom>
        <compilers>
            <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
                <providerOption name="CompilerVersion" value="v3.5"/>
                <providerOption name="OptionInfer" value="true"/>
                <providerOption name="WarnAsError" value="false"/>
            </compiler>
        </compilers>
    </system.codedom>
    

    Well, good to know I guess.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 155k
  • Answers 155k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Add a reference to System.Configuration, then have a using class… May 12, 2026 at 10:38 am
  • Editorial Team
    Editorial Team added an answer You can use a CASE statement in the ORDER BY… May 12, 2026 at 10:38 am
  • Editorial Team
    Editorial Team added an answer To perform a shell script with sudo or administrator privileges… May 12, 2026 at 10:38 am

Related Questions

A method I work with that is called tens of thousands of times started
Have just started using Visual Studio Professional's built-in unit testing features, which as I
I've just started up visual studio express 2008 for the first time in 6
I just started writing a small application in C++ using Visual Studio C++ 2008
I just started working with Javascript and I ran into an error with Visual

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.