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

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
 
S

Sparky

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.
 
G

Greg

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top