PDA

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


omicrondemo
11-01-2007, 10:48 AM
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.Ser ialization\3.0.0.0__b77a5c561934e089\System.Runtim e.Serialization.dll' /R:'C:\Windows\assembly\GAC_64\System.EnterpriseSer vices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseS ervices.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.Configurati on\2.0.0.0__b03f5f7f11d50a3a\System.Configuration. dll' /R:'C:\Windows\assembly\GAC_MSIL\System.ServiceMode l.Web\3.5.0.0__31bf3856ad364e35\System.ServiceMode l.Web.dll' /R:'C:\Windows\assembly\GAC_MSIL\System.Web.Service s\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dl l' /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.ServiceMode l\3.0.0.0__b77a5c561934e089\System.ServiceModel.dl l' /R:'C:\Windows\assembly\GAC_MSIL\System.Web.Extensi ons\3.5.0.0__31bf3856ad364e35\System.Web.Extension s.dll' /R:'C:\Windows\assembly\GAC_MSIL\System.WorkflowSer vices\3.5.0.0__31bf3856ad364e35\System.WorkflowSer vices.dll' /R:'C:\Windows\assembly\GAC_MSIL\System.Data.DataSe tExtensions\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__b7 7a5c561934e089\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.IdentityMod el\3.0.0.0__b77a5c561934e089\System.IdentityModel. dll' /out:'C:\Windows\Microsoft.NET\Framework64\v2.0.507 27\Temporary ASP.NET Files\root\4bf1cb4d\d90a5d8d\App_Code.q2biwskk.dll ' /D:DEBUG=1 /debug+ /define:_MYTYPE=\'Web\' /imports:Microsoft.VisualBasic,System,System.Collec tions,System.Collections.Specialized,System.Config uration,System.Text,System.Text.RegularExpressions ,System.Web,System.Web.Caching,System.Web.SessionS tate,System.Web.Security,System.Web.Profile,System .Web.UI,System.Web.UI.WebControls,System.Web.UI.We bControls.WebParts,System.Web.UI.HtmlControls /optioninfer+ 'C:\Windows\Microsoft.NET\Framework64\v2.0.50727\T emporary ASP.NET Files\root\4bf1cb4d\d90a5d8d\App_Code.q2biwskk.0.v b' 'C:\Windows\Microsoft.NET\Framework64\v2.0.50727\T emporary ASP.NET Files\root\4bf1cb4d\d90a5d8d\App_Code.q2biwskk.1.v b' 'C:\Windows\Microsoft.NET\Framework64\v2.0.50727\T emporary ASP.NET Files\root\4bf1cb4d\d90a5d8d\App_Code.q2biwskk.2.v b' 'C:\Windows\Microsoft.NET\Framework64\v2.0.50727\T emporary ASP.NET Files\root\4bf1cb4d\d90a5d8d\App_Code.q2biwskk.3.v b'


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\Te mporary ASP.NET Files\root\4bf1cb4d\d90a5d8d\App_Code.q2biwskk.2.v b(289) : error BC30175: delegate Class 'smTbl_DetailsIDRowChangeEventHandler' and delegate Class 'smTbl_DetailsIDRowChangeEventHandler', declared in 'C:\Windows\Microsoft.NET\Framework64\v2.0.50727\T emporary ASP.NET Files\root\4bf1cb4d\d90a5d8d\App_Code.q2biwskk.1.v b', 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\Te mporary ASP.NET Files\root\4bf1cb4d\d90a5d8d\App_Code.q2biwskk.2.v b(291) : error BC30175: delegate Class 'smChurchStatusRowChangeEventHandler' and delegate Class 'smChurchStatusRowChangeEventHandler', declared in 'C:\Windows\Microsoft.NET\Framework64\v2.0.50727\T emporary ASP.NET Files\root\4bf1cb4d\d90a5d8d\App_Code.q2biwskk.1.v b', conflict in class 'smDetails'.

Public Delegate Sub smChurchStatusRowChangeEventHandler(ByVal sender As Object, ByVal e As smChurchStatusRowChangeEvent)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Te mporary ASP.NET Files\root\4bf1cb4d\d90a5d8d\App_Code.q2biwskk.2.v b(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\Te mporary ASP.NET Files\root\4bf1cb4d\d90a5d8d\App_Code.q2biwskk.2.v b(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\Te mporary ASP.NET Files\root\4bf1cb4d\d90a5d8d\App_Code.q2biwskk.2.v b(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

omicrondemo
11-02-2007, 12:24 AM
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

Aristotle
11-02-2007, 01:08 AM
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 (http://www.DiscountASP.NET)

omicrondemo
11-02-2007, 02:21 AM
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