Click here to Skip to main content
15,889,116 members
Please Sign up or sign in to vote.
4.00/5 (2 votes)
See more:
I am getting these error in visual studio 2008

Error 1 A problem occurred while trying to set the "Resources" parameter for the IDE's in-process compiler. External component has thrown an exception. AVAT

Error 2 The "Vbc" task failed unexpectedly.
System.Runtime.InteropServices.SEHException: External component has thrown an exception.
at Microsoft.Build.Tasks.Hosting.IVbcHostObject.EndInitialization()
at Microsoft.Build.Tasks.Vbc.InitializeHostCompiler(IVbcHostObject vbcHostObject)
at Microsoft.Build.Tasks.Vbc.InitializeHostObject()
at Microsoft.Build.Utilities.ToolTask.Execute()
at Microsoft.Build.BuildEngine.TaskEngine.ExecuteInstantiatedTask(EngineProxy engineProxy, ItemBucket bucket, TaskExecutionMode howToExecuteTask, ITask task, Boolean& taskResult) AVAT


Error 3 Visual Basic compiler is unable to recover from the following error: System Error &H80131198&
Save your work and restart Visual Studio.
Posted
Updated 20-Oct-13 0:22am
v3
Comments
Menon Santosh 17-Oct-13 6:38am    
plz google

1 solution

So follow the instructions:
"Save your work and restart Visual Studio."

If you get the same error, then restart again, create a new, empty project and recompile. If the error persists, reinstall VS.
 
Share this answer
 
Comments
[no name] 17-Oct-13 3:31am    
Thanks Dear
i getting same error.
when i comment few suspected lines after that it works fine.but after uncoment these lines i getting same error.
blank project works fine also...
i have doone
1 Formatted my os
2 i have unstalled and reinstalled vs 2008 again

but i facing same error...its serious problem of vs..
OriginalGriff 17-Oct-13 4:20am    
Please, don't use "dear" online - I know it is culturally acceptable in India, but to the western world it can be taken as sexist and patronising - remember that online you have no idea what gender you are speaking to... In this case it doesn't matter, but I suggest you don't use it again!

If you comment out lines and the problem goes away, then it is likely to be the content of those lines rather than a specific VS error (that's why I suggested a blank project).
What are the lines?
[no name] 17-Oct-13 5:07am    
sorry i dont want to hurt you...

OriginalGriff 17-Oct-13 5:20am    
As I said: "In this case it doesn't matter" - but you do need to consider this in future! :laugh:

What are the lines you comment out?
[no name] 17-Oct-13 5:37am    
i note there when i copy some lines of code anywhere and paste the lines in form/page then compiler generate error.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900