"Object reference not set to an instance of an object"

  • Thread starter Thread starter Kam
  • Start date Start date
K

Kam

Hi!

When I am trying to drag user controls or any controls from the Toolbox to a
form in some of my projects I get a dialog messages: (Microsoft Deployment
Environment)
"Object reference not set to an instance of an object"

Notes that:
1. It's a designer problem, not a reference problem. When I am adding this
user control directly to the code it works just fine, but I can't make it
work using the designer and see it in design time.
2. It happens only in some of the projects in the solution, not all of them.
3. In my company we are working with 'Microsoft visual source safe' and
other members of the team don't suffer
from the this problem.
4. Getting the latest version from 'source safe' didn't help.
5. Reinstalling VisualStudio .Net from scratch didn't help
6. When I am logging in as a different user the problem remains.

How can I restore the functionality of the designer to work with
(is it an environment problem)?

many thanks,
Kam
 
Is this with the standard microsoft controls, or controls written by someone
else?

If it only happens with non-standard controls, try removing them from the
tool box, and then re-adding them.
 
Sparky said:
Is this with the standard microsoft controls, or controls written by someone
else?

If it only happens with non-standard controls, try removing them from the
tool box, and then re-adding them.
 
Back
Top