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 114481
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T02:52:03+00:00 2026-05-11T02:52:03+00:00

(Was: ASP.Net codebehind not finding controls on the web page) I’m using VS 2008.

  • 0

(Was: ASP.Net codebehind not finding controls on the web page)

I’m using VS 2008.

I don’t know what secret switch I need to flip, or what trip wire I accidentally tripped over, but the last form I created in my project is misbehaving very seriously: the codebehind is apparently unable to find any of the controls that I have set up on the form. The codebehind file exists, but it generates compile errors on any references to the controls that are declared on the form.

The most obvious clue is that in the markup of the form, the first line is:

<%@ Page Language='vb' AutoEventWireup='false' CodeBehind='UserSignature.aspx.vb'   Inherits='EEI_App.UserSignature' %> 

and the Intellisense has underlined the whole first line, giving me some stupid ‘could not load file or assembly’ message, that it can’t find a completely unrelated DLL that is plainly and visibly in my app folder, with the reference correctly set up.

At first the Intellisense was only underlining the ‘CodeBehind’ setting, saying ‘File UserSignature.aspx.vb was not found.’ – then for some reason it started with this other message about the DLL, also.

Every other form in my project is compiling and working fine, and there are no obvious differences between this form and any other form.

I have tried opening and closing Visual Studio; I have tried rebooting – nothing makes any difference. Every new form I add to my project cannot communicate with its own codebehind – from the moment of creating the new file, the markup gives me the ‘File ‘NewFile.aspx.vb’ was not found’ error!

Any ideas?

Thanks


I think I’m closing in on the problem. @MatthewMartin, you are definitely warmest so far.

It appears that the form.aspx.designer.vb is not being refreshed for some reason when I drop controls onto the form. I still have no idea why this is, but at least we’re getting warmer!


OK, this is definitely the problem now, and I’ve renamed the question to reflect this: the fundamental issue is that my form.aspx.designer.vb form is not being refreshed when I drop controls onto the form. Any ideas at least for a workaround – how to force the designer to refresh?

Thanks!

  • 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. 2026-05-11T02:52:04+00:00Added an answer on May 11, 2026 at 2:52 am

    OK, I found my own answer:

    Commit all working code to source control, blow away the dev tree, get latest version.

    Suddenly everything is working again. And it also solved my other problem of today.

    I’ll give credit for the answer to anyone who can work out what secret switch I flipped by blowing away my dev tree and starting again clean… 🙂

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

Sidebar

Ask A Question

Stats

  • Questions 119k
  • Answers 119k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You need to be able to deliver the full source… May 11, 2026 at 11:53 pm
  • Editorial Team
    Editorial Team added an answer You DO want a join here. I won't get this… May 11, 2026 at 11:53 pm
  • Editorial Team
    Editorial Team added an answer I believe what GitHub is referring to is system aliases,… May 11, 2026 at 11:53 pm

Related Questions

(Was: ASP.Net codebehind not finding controls on the web page) I'm using VS 2008.
I assume I am not the first one having this problem and I am
I have the following structure in an aspx page: <asp:Panel ID=pnlCust runat=server> <asp:GridView ID=gvMaster
I have before created a quick Ajax Framework for one of my projects. It
Currently I am developing a site with about seven partial classes, a few icons,

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.