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

  • Home
  • SEARCH
  • 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 4239952
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T03:06:08+00:00 2026-05-21T03:06:08+00:00

In the designer I get this error: Error Creating Control: Object Reference Not Set

  • 0

In the designer I get this error: “Error Creating Control: Object Reference Not Set to an instance of an object”. The page itself runs fine. One of the objects, possibly an objectdatasource has to be failing at design time. But how to find which one?

The project was originally designed with a XSD for the data pointing to SQL Server queries. All based on typical Microsoft demonstrations which don’t really take the product lifecycle into account.

I have had to refactor a number of things in the database, and the XSD designer doesn’t automatically show you what you need to fix, you just have to run and get a runtime error. Obviously this means that some of the many individual adaptor methods are probably still incorrect, and I’m going through and updating them to match the new database model, and then tracking through the effects through all the bound controls and everything. And eventually, I may get away from a lot of this wizard-generated code and have something a bit more able to be statically checked by the compiler during the build.

But for now, how do I find out which object reference is the problem?

  • 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-21T03:06:08+00:00Added an answer on May 21, 2026 at 3:06 am

    Problem appears to be due to a null Context in code in a base class which worked fine in VS 2008 which was being called in design-time

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

Sidebar

Related Questions

I'm a rookie designer having a few troubles with this page: http://www.resolvegroup.co.nz/javasurvey.php There are
We're not doing real web development. We get our HTMLs from our designers, and
My designer keeps throwing out the term liquid layout. What does this mean? Thanks
My designer handed me a design I'm not 100% sure how to do with
A designer coded an html template using CSS best practices. I want to use
In the Visual Studio designer, how do you move a menu item from one
I noticed that my Designer.vb file of one of my forms has a lot
Is there any designer for rdl files (visual studio .net reports) that can be
In Sharepoint designer's workflow editor I wish to retrieve the username/name of the work
Why doesn't the designer work if you inherit from an own written genericform? Suppose

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.