Link to home
Start Free TrialLog in
Avatar of zachvaldez
zachvaldezFlag for United States of America

asked on

Error compiling a vb.net project

I can't compile my project because of this error.
"Maximum number of errors has been exceeded."

It says it is located in the vbc file but I do not know where to debug that  and fix it.

 Can someone help in resolving this? I use VS 2010.

Thanks
Avatar of Obadiah Christopher
Obadiah Christopher
Flag of India image

Please post snapshot of the error list.

Maybe we could help after seeing that.

The compiler has a restriction of showing more than 100 errors for performance sake.
Avatar of zachvaldez

ASKER

Here's the snapshot.

Error      1      Maximum number of errors has been exceeded.      vbc :

I can't go forward . thanks
you probably have more then 102 errors. try to fix some.
Is there only this error shown?

There have to be some other errors shown in the error list. As emoreau has mentioned. Try to solve some errors.

To try and find out the error, try to exclude all pages from the project and leave only one page and build the project.
OK If I exclude the pages and leave one page and debug it, what is the command to bring in back the pages I excluded. Sorry I have not done this type of debgging yet so might as well better to ask before I do thanks
it always how you excluded it. You can use "add existing item" or use the "show all files" and right-click the excluded item to include it back.
Im wondering why the errors do not get displayed but it tells in th errorline
"maximum number of errors exceeded". What setting in VS2010 to turn on so all errors are displayed?
ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
BTW, there is no settings. Apparently it was for performance reason that they put that limit.
I wish there is a way to debug and fix the errors.
I saw this popped up for some reason.. It might help regarding maximum error count.
Anyone saw this and fix it? thanks

System.Threading.SemaphoreFullException was unhandled
  HResult=-2146233087
  Message=Adding the specified count to the semaphore would cause it to exceed its maximum count.
  Source=System
  StackTrace:
       at System.Threading.Semaphore.Release(Int32 releaseCount)
       at System.Data.ProviderBase.DbConnectionPool.CleanupCallback(Object state)
       at System.Threading.TimerQueueTimer.CallCallbackInContext(Object state)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.TimerQueueTimer.CallCallback()
       at System.Threading.TimerQueueTimer.Fire()
       at System.Threading.TimerQueue.FireNextTimers()
       at System.Threading.TimerQueue.AppDomainTimerCallback()
  InnerException:
compiled it again against framwork 4 to fix it.