[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More


Microsoft ® Visual Basic Compiler has encountered a problem and needs to close.

Published on
10,982 Points
1 Endorsement
Last Modified:
Error occurred on Visual Studio Team System 2008 Development Edition with Visual SourceSafe 2005.  The error most likely appears while opening solution; checking files into VSS; get latest version while working folder contains a writable copy of a different version of files. The error prevented us from running the application in our development box.  After two days of talking with Microsoft technical support VB.net team and running though many tests, we still had no solution for this problem.  The only useful thing we learned was that this error only occurs for large web applications.  Visual Studio works fine for all other projects but this one.  Since the Microsoft support technician mentioned file reference a couple times, we guessed if a reference was pointing to a file which is not there any longer, some errors will be generated.  We tried to delete everything in the bin folder within the project working folder of VSS.  We got latest version of the solution and rebuilt it.  This large web application compiled and debugged well again.
After the effect, we learned that only the .suo (Solution User Options) file needs to be removed and reloaded from VSS because service references and .dll references are stored in the .suo file.  When .suo file crashed, the VBC error occurred.  It seems the .suo file working in a way like stored themes in a profile.  The .suo file is unique to your environment and your machine.  The .suo file is a structured or compound storage.  The file stored in a binary format.  User information is saved into stream.  The name of the stream is the key that will be used to identify the information in the .suo file.  This .suo problem is not the same problem that caused by a bug in the Visual Studio 2005.  That was a Visual Basic 2005 compiler bug in an ASP.net project when debugging application code by using Edit and Continue feature in the IDE.  There is a hot fix for that bug that you can find at: http://support.microsoft.com/kb/915038  Visual Basic compiler Error

Featured Post

Exploring SharePoint 2016

Explore SharePoint 2016, the web-based, collaborative platform that integrates with Microsoft Office to provide intranets, secure document management, and collaboration so you can develop your online and offline capabilities.

Join & Write a Comment

Key to your CPU's ability to stay cool is to use the right amount of thermal paste and apply it correctly. In other words you want as much thermal conductivity between CPU and the cooling block. Use a quality thermal paste and apply it in a manner…
Discover the basics of using Outlook 2016 from office 365.

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month