Compiler Error Message: BC30041: Maximum number of errors has been exceeded.

Discussion in 'Windows 2008/IIS 7 Beta [Closed]' started by omicrondemo, Nov 1, 2007.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hi,

    I am using VWD 2008 Express Edition, linking to a SQL Server 2005 backend hosted on another site.

    On my home PC this works fine.

    But when I upload it to this beta server I get 'Compiler Error Message: BC30041: Maximum number of errors has been exceeded.'

    with the first few lines of the compiler output looking like this:

    c:\windows\system32\inetsrv> 'C:\Windows\Microsoft.NET\Framework64\v3.5\vbc.exe' /t:library /utf8output /R:'C:\Windows\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll' /R:'C:\Windows\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll' /R:'C:\Windows\assembly\GAC_64\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll' /R:'C:\Windows\assembly\GAC_64\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll' /R:'C:\Windows\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll' /R:'C:\Windows\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll' /R:'C:\Windows\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll' /R:'C:\Windows\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll' /R:'C:\Windows\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll' /R:'C:\Windows\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll' /R:'C:\Windows\assembly\GAC_MSIL\System.Web.Extensions\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.dll' /R:'C:\Windows\assembly\GAC_MSIL\System.WorkflowServices\3.5.0.0__31bf3856ad364e35\System.WorkflowServices.dll' /R:'C:\Windows\assembly\GAC_MSIL\System.Data.DataSetExtensions\2.0.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll' /R:'C:\Windows\assembly\GAC_MSIL\System.Xml.Linq\3.5.0.0__b77a5c561934e089\System.Xml.Linq.dll' /R:'C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll' /R:'C:\Windows\assembly\GAC_MSIL\System.Deployment\2.0.0.0__b03f5f7f11d50a3a\System.Deployment.dll' /R:'C:\Windows\assembly\GAC_MSIL\System.Core\3.5.0.0__b77a5c561934e089\System.Core.dll' /R:'C:\Windows\assembly\GAC_64\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll' /R:'C:\Windows\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll' /out:'C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\4bf1cb4d\d90a5d8d\App_Code.q2biwskk.dll' /D:DEBUG=1 /debug+ /define:_MYTYPE=\'Web\' /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Specialized,System.Configuration,System.Text,System.Text.RegularExpressions,System.Web,System.Web.Caching,System.Web.SessionState,System.Web.Security,System.Web.Profile,System.Web.UI,System.Web.UI.WebControls,System.Web.UI.WebControls.WebParts,System.Web.UI.HtmlControls /optioninfer+ 'C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\4bf1cb4d\d90a5d8d\App_Code.q2biwskk.0.vb' 'C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\4bf1cb4d\d90a5d8d\App_Code.q2biwskk.1.vb' 'C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\4bf1cb4d\d90a5d8d\App_Code.q2biwskk.2.vb' 'C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\4bf1cb4d\d90a5d8d\App_Code.q2biwskk.3.vb'


    Microsoft (R) Visual Basic Compiler version 9.0.20706.1
    Copyright (c) Microsoft Corporation. All rights reserved.

    C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\4bf1cb4d\d90a5d8d\App_Code.q2biwskk.2.vb(289) : error BC30175: delegate Class 'smTbl_DetailsIDRowChangeEventHandler' and delegate Class 'smTbl_DetailsIDRowChangeEventHandler', declared in 'C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\4bf1cb4d\d90a5d8d\App_Code.q2biwskk.1.vb', conflict in class 'smDetails'.

    Public Delegate Sub smTbl_DetailsIDRowChangeEventHandler(ByVal sender As Object, ByVal e As smTbl_DetailsIDRowChangeEvent)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\4bf1cb4d\d90a5d8d\App_Code.q2biwskk.2.vb(291) : error BC30175: delegate Class 'smChurchStatusRowChangeEventHandler' and delegate Class 'smChurchStatusRowChangeEventHandler', declared in 'C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\4bf1cb4d\d90a5d8d\App_Code.q2biwskk.1.vb', conflict in class 'smDetails'.

    Public Delegate Sub smChurchStatusRowChangeEventHandler(ByVal sender As Object, ByVal e As smChurchStatusRowChangeEvent)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\4bf1cb4d\d90a5d8d\App_Code.q2biwskk.2.vb(302) : error BC30260: 'columnPERSONAL_ID' is already declared as 'Private columnPERSONAL_ID As System.Data.DataColumn' in this class.

    Private columnPERSONAL_ID As Global.System.Data.DataColumn
    ~~~~~~~~~~~~~~~~~
    C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\4bf1cb4d\d90a5d8d\App_Code.q2biwskk.2.vb(304) : error BC30260: 'columnTITLE' is already declared as 'Private columnTITLE As System.Data.DataColumn' in this class.

    Private columnTITLE As Global.System.Data.DataColumn
    ~~~~~~~~~~~
    C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\4bf1cb4d\d90a5d8d\App_Code.q2biwskk.2.vb(306) : error BC30260: 'columnSURNAME' is already declared as 'Private columnSURNAME As System.Data.DataColumn' in this class.

    Private columnSURNAME As Global.System.Data.DataColumn

    where the ~~~~~~~~~~~ are underneath the column names and Sub names.

    The only thing I can think of is the database is hosted on another site, but the connection string is in the web.config file.

    I'm not sure what else I can do to troubleshoot the problem. Any suggestions?

    Thanks

    Tushar
     
  2. Aristotle I think you are right.

    I deleted all the files remotely, and re-uploaded it from my PC...and it's working fine!

    Thanks for pointing me in the right direction

    Tushar /emoticons/burger.gif
     
  3. It looks like most of the errors deal with objects already being declared on conflicting classes. Did you upload both the compiled and non-compiled version of your application at the same time?

    Aristotle

    DiscountASP.NET
    www.DiscountASP.NET
     
  4. I do have a folder in my class view called 'References' and then a few other folders with the class names, but I can't see those
    folders in Dreamweaver which I use to FTP. However I did 'copy entire site' but, again, cannot see any offending folders
    in the Remote site either. Is this what you mean?

    Regards

    Tushar
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page