Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6880391
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:58:05+00:00 2026-05-27T04:58:05+00:00

Compiler Error Message: CS1061: ‘ASP.admin_users_aspx’ does not contain a definition for ‘Form1’ and no

  • 0

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

Line 317:            #line default
Line 318:            #line hidden
Line 319:            this.Form1 = @__ctrl;
Line 320:            
Line 321:            #line 168 "C:\Users\SIMiP1\Desktop\BON\CellularOrders.Presentation.Web\Admin\Users.aspx"

I don’t understand this error and what might be the reason for this error
Please tell me what do you understand from this error msg and what CODE I would need to
post here – cause the users.aspx file is long and has 222lines

this is line 168:

   <form id="Form1" runat="server">
        <CellularOrders:Menu ID="Menu1" runat="server" />
        <div class="Main">
            <table>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T04:58:05+00:00Added an answer on May 27, 2026 at 4:58 am

    Couple of things to think about:

    1) Are you getting this error when building the site, in a development tool like Visual Studio, for example? If you are, then take a look at the Page element at the top of the ASPX code:

    
        <%@ Page Language="C#" %>
    
    

    And make sure the inherits, source file and other attribuets are all pointing at the right class name, .cs file in the code behind. ALso check the designer.cs file for your page to make sure the Form1 property is declared.

    2) If you are getting this when deploying the site and visiting it, then it’s likely that you haevn’t deployed the site dll’s to the bin folder correctly. If it’s a website project then it creates a dll per page, and you must make sure the latest version is deployed.

    Posting the ASPX, and cs and designer.cs files would be useful, but some more detail about when you are seeing the error would be helpful too.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The following code does not want to compile. See the included error message. Code:
I am getting following error for log4Net in Asp.Net 2.0 website. Compiler Error Message:
Compiler Error Keyword 'this' is not available in the current context delegate void CallBack(int
I'm getting this error: Compiler Error Message: CS0118: 'Configuration' is a 'namespace' but is
<%# Eval(NAME).ToString() == Edit ? %> ' /> Error: Compiler Error Message: CS1525: Invalid
Compiler Error Message: CS1002: ; expected Source Error: Line 56: </div><!--end #Asset--> Line 57:
Compiler Error Message: CS1977: Cannot use a lambda expression as an argument to a
I'm receiving an error message from the compiler indicating (it's an embedded C compiler):
I get the following error message trying to run my page Compiler Error Message:
Compiler Error Message: CS1705: Assembly 'Facebook.Web.Mvc, Version=5.0.3.0, Culture=neutral, PublicKeyToken=58cb4f2111d1e6de' uses 'System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.