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

  • SEARCH
  • Home
  • 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 9182435
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T18:33:34+00:00 2026-06-17T18:33:34+00:00

This morning, on coming back into work, and trying to Build Web Site on

  • 0

This morning, on coming back into work, and trying to “Build Web Site” on a web service we have in-house, I have encountered this issue:

------ Build started: Project: C:\...\SyncWcfService\, Configuration: Debug Any CPU ------
Validating Web Site

vbc : Fatal (0,0): error BC2000: compiler initialization failed unexpectedly: Unable to find required file 'Microsoft.VisualBasic.dll'.
Validation Complete

It’s the first time I’ve loaded the project, but another colleague has the same issue, and he has successfully run it in the last month.

Lots of copies of the file exist (lots of different versions too) and it exists in the GAC:
The Global Assembly Cache contains the following assemblies:

Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL

Clean and rebuild did not work. Nor did removing all temp files, and Google has not helped significantly (it recommended reinstalling the .net framework, but the issue has appeared on at least two machines, which strikes me as being unlikely to be a framework issue). Detailed diagnostic build only produces the output above.

I’m at a loss. Anyone got any ideas?

UPDATE: Procmon reports:

09:00:41.5420355
devenv.exe
5588
CreateFile
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\vbc : Fatal
NAME NOT FOUND
Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a

Which helps a little (thanks Jeremy), but which seems to show that it is trying to create a file called “vbc : Fatal”. At no point did I find anything to do with Microsoft.VisualBasic.dll

UPDATE: It seems to have been caused by clearing out assemblies in web.config.

If I remove the line <clear /> from compilation -> assemblies, the error goes away.

  • 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-06-17T18:33:34+00:00Added an answer on June 17, 2026 at 6:33 pm

    Look in the compilation section of your web.config. Is there anything unusual?

    Try replacing the entire compilation section with:

    <compilation debug="false" strict="false" explicit="true" targetFramework="4.0" />
    

    Does the project validate?

    Is so, add the offending lines back in one-by-one until the error re-appears.

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

Sidebar

Related Questions

This morning I ran into an issue with returning back a text string as
This morning I am fighting with an issue. I need to have users fill
Good morning all, i have a new question: I'm trying to save into mysql
I was attacked this morning and had some JS injected into my site. I'm
This morning after Windows Updates ran and rebooted a pair of web servers, I
This morning I noticed some odd records in our IIS logs coming from; 193.169.40.39
this morning I came across this code, and I have absolutely no idea what
This morning I stumbled over a weird issue in Visual Studio's Windows Forms designer.
Been banging my head against this problem all morning. I have setup a connection
This morning I switched to postgresql and now my where selects dont work anymore.

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.