Results 1 to 2 of 2

Thread: Error message when loading project

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2012
    Posts
    43

    Error message when loading project

    Between yesterday, when my project was working, and today, when I tried to load it, something happened. Now when I try to display one of the forms, I get the following error message:

    ============
    To prevent possible data loss before loading the designer, the following error must be resolved:

    Value cannot be null. Parameter name: objectType

    ============

    So what does this mean and what can I do about it?

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Error message when loading project

    The error message means that a method is being called and Nothing is being passed to its objectType parameter and that is not allowed. More than that we can't really say because we have no idea what method. You'd need to check out the exception's stack trace to see where the exception is being thrown. It may be that something is corrupt, either in your project or in your system but, from the available information, it's not possible to know. If other projects are OK then it's more likely to be the project rather than the system.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width