none
Compilation Error - are you missing a using directive or an assembly reference?

    Question

  • After i debug the program, the page show me the following error. I have no idea to solve this error, is that missing the assemblies?

    Here is the error their show:

    Compilation Error

    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

    Compiler Error Message: CS1061: 'ASP.dcbrequestlogcriteria_aspx' does not contain a definition for 'ddlTelco_SelectedIndexChanged' and no extension method 'ddlTelco_SelectedIndexChanged' accepting a first argument of type 'ASP.dcbrequestlogcriteria_aspx' could be found (are you missing a using directive or an assembly reference?)

    Source Error:

    <span class="fieldlable">Telco:</span>
    <span>
    <asp:DropDownList ID="ddlTelco" runat="server" DataTextField="Text" DataValueField="Value"  AutoPostBack="true" OnSelectedIndexChanged="ddlTelco_SelectedIndexChanged" SelectMethod="LoadTelco"  Enabled="false"></asp:DropDownList>
    </span>
    <asp:RequiredFieldValidator ID="RequiredFieldValidatorTelco" runat="server" ErrorMessage="Telco" ControlToValidate="ddlTelco"></asp:RequiredFieldValidator>
    Source File: c:\Users\et.cheah\Documents\Macrokiosk Products\ClientReporting\1.Development\3.0\ClientReporting UI\BulkServicesReports\Presentation\BulkServicesReports.UI.Web\DCBRequestLogCriteria.aspx Line: 94

    Show Detailed Compiler Output:
    C:\Program Files (x86)\IIS Express> "C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe" /t:library /utf8output /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.ApplicationServices\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.ApplicationServices.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\93867ffa\d432d83\assembly\dl3\d424981d\49383819_7168d001\ICSharpCode.SharpZipLib.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Entity\v4.0_4.0.0.0__b77a5c561934e089\System.Web.Entity.dll" /R:"C:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.WebForms\12.0.0.0__89845dcd8080cc91\Microsoft.ReportViewer.WebForms.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\93867ffa\d432d83\assembly\dl3\51166820\35c5b190_8c70d201\BulkServicesReports.Data.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\93867ffa\d432d83\assembly\dl3\d2298d1d\0067708c_cb51cd01\Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\93867ffa\d432d83\assembly\dl3\08e2c41d\0067708c_cb51cd01\Microsoft.Practices.EnterpriseLibrary.Caching.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\93867ffa\d432d83\assembly\dl3\04396a5f\ecba070e_1855d201\MK.Framework.RCE.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Extensions\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Extensions.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.IdentityModel\v4.0_4.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\93867ffa\d432d83\assembly\dl3\6ed23cec\b2031f64_0b2bd101\BulkServicesReports.UI.Web.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Extensions.Design\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Extensions.Design.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activation\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activation.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\93867ffa\d432d83\assembly\dl3\1e447c3d\b7417e91_8c70d201\BulkServicesReports.Services.dll" /R:"C:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.ProcessingObjectModel\11.0.0.0__89845dcd8080cc91\Microsoft.ReportViewer.ProcessingObjectModel.dll" /R:"C:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.WebForms\10.0.0.0__b03f5f7f11d50a3a\Microsoft.ReportViewer.WebForms.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\93867ffa\d432d83\assembly\dl3\635447a1\8758d70d_1855d201\Microsoft.Practices.EnterpriseLibrary.Common.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\93867ffa\d432d83\assembly\dl3\abd2c67c\fe6decae_3b6ad201\BulkServicesReports.Hosts.Web.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\93867ffa\d432d83\assembly\dl3\f954d213\d3db2990_8c70d201\BulkServicesReports.Services.Contracts.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\93867ffa\d432d83\assembly\dl3\0dcd7599\855c5a0d_1855d201\MK.Framework.ACE.Entities.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\93867ffa\d432d83\assembly\dl3\c6c2d477\86ce5391_8c70d201\BulkServicesReports.UI.Process.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\93867ffa\d432d83\assembly\dl3\828c6c06\0067708c_cb51cd01\Microsoft.Practices.ObjectBuilder.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Build.Framework\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.Build.Framework.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.Activities.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\93867ffa\d432d83\assembly\dl3\878711a0\0067708c_cb51cd01\Microsoft.Practices.EnterpriseLibrary.Logging.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\93867ffa\d432d83\assembly\dl3\ee8ea050\95f90590_8c70d201\BulkServicesReports.Entities.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.WorkflowServices\v4.0_4.0.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\93867ffa\d432d83\assembly\dl3\6b2957cf\a917ea90_8c70d201\BulkServicesReports.Business.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\93867ffa\d432d83\App_Web_vuzjhdoj.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.WebPages.Deployment\v4.0_2.0.0.0__31bf3856ad364e35\System.Web.WebPages.Deployment.dll" /R:"C:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.Common\11.0.0.0__89845dcd8080cc91\Microsoft.ReportViewer.Common.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\93867ffa\d432d83\assembly\dl3\2b3c9826\f0022a90_8c70d201\BulkServicesReports.Framework.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\93867ffa\d432d83\assembly\dl3\4087a2f6\e819a10d_1855d201\Microsoft.Practices.ServiceLocation.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\93867ffa\d432d83\assembly\dl3\ab04c5f2\0067708c_cb51cd01\Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.WebForms\11.0.0.0__89845dcd8080cc91\Microsoft.ReportViewer.WebForms.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.DataSetExtensions\v4.0_4.0.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Web\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.Common\12.0.0.0__89845dcd8080cc91\Microsoft.ReportViewer.Common.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activities.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\93867ffa\d432d83\assembly\dl3\18c05165\e1c7a20d_1855d201\Microsoft.Practices.EnterpriseLibrary.Data.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualStudio.Web.PageInspector.Loader\v4.0_1.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Web.PageInspector.Loader.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.DynamicData\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.DynamicData.dll" /out:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\93867ffa\d432d83\App_Web_dcbrequestlogcriteria.aspx.cdcab7d2.w6znoucp.dll" /D:DEBUG /debug+ /optimize- /w:4 /nowarn:1659;1699;1701;612;618 /warnaserror-  "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\93867ffa\d432d83\App_Web_dcbrequestlogcriteria.aspx.cdcab7d2.w6znoucp.0.cs" "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\93867ffa\d432d83\App_Web_dcbrequestlogcriteria.aspx.cdcab7d2.w6znoucp.1.cs"
    
    
    Microsoft (R) Visual C# Compiler version 4.6.1586.0
    
    for C# 5
    Copyright (C) Microsoft Corporation. All rights reserved.
    
    
    
    This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to C# 5, which is no longer the latest version. For compilers that support newer versions of the C# programming language, see http://go.microsoft.com/fwlink/?LinkID=533240
    
    c:\Users\et.cheah\Documents\Macrokiosk Products\ClientReporting\1.Development\3.0\ClientReporting UI\BulkServicesReports\Presentation\BulkServicesReports.UI.Web\DCBRequestLogCriteria.aspx(94,74): error CS1061: 'ASP.dcbrequestlogcriteria_aspx' does not contain a definition for 'ddlTelco_SelectedIndexChanged' and no extension method 'ddlTelco_SelectedIndexChanged' accepting a first argument of type 'ASP.dcbrequestlogcriteria_aspx' could be found (are you missing a using directive or an assembly reference?)
    c:\Users\et.cheah\Documents\Macrokiosk Products\ClientReporting\1.Development\3.0\ClientReporting UI\BulkServicesReports\Presentation\BulkServicesReports.UI.Web\DCBRequestLogCriteria.aspx(94,74): error CS1061: 'ASP.dcbrequestlogcriteria_aspx' does not contain a definition for 'ddlTelco_SelectedIndexChanged' and no extension method 'ddlTelco_SelectedIndexChanged' accepting a first argument of type 'ASP.dcbrequestlogcriteria_aspx' could be found (are you missing a using directive or an assembly reference?)
    c:\Users\et.cheah\Documents\Macrokiosk Products\ClientReporting\1.Development\3.0\ClientReporting UI\BulkServicesReports\Presentation\BulkServicesReports.UI.Web\DCBRequestLogCriteria.aspx(102,74): error CS1061: 'ASP.dcbrequestlogcriteria_aspx' does not contain a definition for 'ddlAccUser_SelectedIndexChanged' and no extension method 'ddlAccUser_SelectedIndexChanged' accepting a first argument of type 'ASP.dcbrequestlogcriteria_aspx' could be found (are you missing a using directive or an assembly reference?)
    c:\Users\et.cheah\Documents\Macrokiosk Products\ClientReporting\1.Development\3.0\ClientReporting UI\BulkServicesReports\Presentation\BulkServicesReports.UI.Web\DCBRequestLogCriteria.aspx(102,74): error CS1061: 'ASP.dcbrequestlogcriteria_aspx' does not contain a definition for 'ddlAccUser_SelectedIndexChanged' and no extension method 'ddlAccUser_SelectedIndexChanged' accepting a first argument of type 'ASP.dcbrequestlogcriteria_aspx' could be found (are you missing a using directive or an assembly reference?)
    c:\Users\et.cheah\Documents\Macrokiosk Products\ClientReporting\1.Development\3.0\ClientReporting UI\BulkServicesReports\Presentation\BulkServicesReports.UI.Web\DCBRequestLogCriteria.aspx(108,74): error CS1061: 'ASP.dcbrequestlogcriteria_aspx' does not contain a definition for 'ddlClientName_SelectedIndexChanged' and no extension method 'ddlClientName_SelectedIndexChanged' accepting a first argument of type 'ASP.dcbrequestlogcriteria_aspx' could be found (are you missing a using directive or an assembly reference?)
    c:\Users\et.cheah\Documents\Macrokiosk Products\ClientReporting\1.Development\3.0\ClientReporting UI\BulkServicesReports\Presentation\BulkServicesReports.UI.Web\DCBRequestLogCriteria.aspx(108,74): error CS1061: 'ASP.dcbrequestlogcriteria_aspx' does not contain a definition for 'ddlClientName_SelectedIndexChanged' and no extension method 'ddlClientName_SelectedIndexChanged' accepting a first argument of type 'ASP.dcbrequestlogcriteria_aspx' could be found (are you missing a using directive or an assembly reference?)
    c:\Users\et.cheah\Documents\Macrokiosk Products\ClientReporting\1.Development\3.0\ClientReporting UI\BulkServicesReports\Presentation\BulkServicesReports.UI.Web\DCBRequestLogCriteria.aspx(120,74): error CS1061: 'ASP.dcbrequestlogcriteria_aspx' does not contain a definition for 'ddlContentType_SelectedIndexChanged' and no extension method 'ddlContentType_SelectedIndexChanged' accepting a first argument of type 'ASP.dcbrequestlogcriteria_aspx' could be found (are you missing a using directive or an assembly reference?)
    c:\Users\et.cheah\Documents\Macrokiosk Products\ClientReporting\1.Development\3.0\ClientReporting UI\BulkServicesReports\Presentation\BulkServicesReports.UI.Web\DCBRequestLogCriteria.aspx(120,74): error CS1061: 'ASP.dcbrequestlogcriteria_aspx' does not contain a definition for 'ddlContentType_SelectedIndexChanged' and no extension method 'ddlContentType_SelectedIndexChanged' accepting a first argument of type 'ASP.dcbrequestlogcriteria_aspx' could be found (are you missing a using directive or an assembly reference?)
    c:\Users\et.cheah\Documents\Macrokiosk Products\ClientReporting\1.Development\3.0\ClientReporting UI\BulkServicesReports\Presentation\BulkServicesReports.UI.Web\DCBRequestLogCriteria.aspx(62,102): error CS1061: 'ASP.dcbrequestlogcriteria_aspx' does not contain a definition for 'FormViewReport_PageIndexChanging' and no extension method 'FormViewReport_PageIndexChanging' accepting a first argument of type 'ASP.dcbrequestlogcriteria_aspx' could be found (are you missing a using directive or an assembly reference?)
    c:\Users\et.cheah\Documents\Macrokiosk Products\ClientReporting\1.Development\3.0\ClientReporting UI\BulkServicesReports\Presentation\BulkServicesReports.UI.Web\DCBRequestLogCriteria.aspx(62,102): error CS1061: 'ASP.dcbrequestlogcriteria_aspx' does not contain a definition for 'FormViewReport_PageIndexChanging' and no extension method 'FormViewReport_PageIndexChanging' accepting a first argument of type 'ASP.dcbrequestlogcriteria_aspx' could be found (are you missing a using directive or an assembly reference?)



    I'm newbie in enterprise as developer.

    Tuesday, January 17, 2017 8:01 AM

All replies

  • Hi eng teong,

    This forum is discussing Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor.

    Your issue is related to ASP.NET development, I suggest you could post your issue in the following forum to get a professional answer.

    https://forums.asp.net/15.aspx/1?Getting+Started

    Best regards,

    Fletcher


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, January 18, 2017 3:59 AM