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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:13:47+00:00 2026-05-23T11:13:47+00:00

I have a fairly complex data bound XAML user control embedded in a winforms

  • 0

I have a fairly complex data bound XAML user control embedded in a winforms application.
When I try to open the form from a Windows XP (SP3+updates) machine, I get a nullreferenceexception “Object reference not found”. When I log on with the same user, but via a Windows 7 machine, it works fine (both in debugger, and release).

Apart from the fact that the XP machine doesn’t have VS2010 installed, so I can’t do any fancy debugging, is there anything else I can do to return more useful debug data for the failing xaml control. Also, is anyone aware of any XP/windows 7 differences that might be causing this?

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. Editorial Team
    Editorial Team
    2026-05-23T11:13:48+00:00Added an answer on May 23, 2026 at 11:13 am

    What I did to catch more specific information is surround my InitializeComponent(); with try catch, and then launch a MessageBox.Show with the exception like this:

    try
    {
        InitializeComponent();
    }
    catch (Exception e)
    {
        MessageBox.Show(e.toString());
    }
    

    If you can do that, you can post us more specific information about your exception.

    Note: That specific problem happened to me. I surrounded the Initialize and discovered that I had to add to my Release project running on XP some more dlls…

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

Sidebar

Related Questions

I have a fairly complex multi threaded application (server) that from time to time
I have a web page that I use to update a fairly complex data
I have a fairly complex html form enhanced via jquery. It has multiple tabs,
In an ASP.NET application, I have a small number of fairly complex, frequently used
In my MVC application I have a problem with passing data from view to
I have a fairly complex ASP MVC set of controls that set a data
I am writing a fairly large and complex data analysis program and I have
For my app, I have a fairly complex set of configuration options that user
I have a fairly complex data model with approximately 10 entities. Some need to
I have a fairly complex method in my controller that basically outputs data to

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.