Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

While creating new project I am getting error "object reference not set to an instance of an object"

I have just started to use silverlight in visual studio 2k8. I have installed silverlight 3 tools for visual studio 2K8. Now while creating a new project an error is thrown - "object reference is not set to an instance of an object". Screen-shots are attached. Could you guyz please help?

Error screen shot
Create project screen shot

like image 833
malay Avatar asked Sep 03 '09 11:09

malay


People also ask

How do I fix object reference not set to an instance?

The best way to avoid the "NullReferenceException: Object reference not set to an instance of an object” error is to check the values of all variables while coding. You can also use a simple if-else statement to check for null values, such as if (numbers!= null) to avoid this exception.

Why does it say object reference not set to an instance of an object?

The message "object reference not set to an instance of an object" (NullReferenceException) means that you are referring to an object the does not exist or was deleted or cleaned up.

How do you solve an object reference not set to an instance of an object in UiPath?

Object reference not set to an instance of an object normally occurs when a variable is null. Try putting a message box before the activity that breaks, run in debug with the locals panel pinned, and look for a null variable involved in the activity once you've reached the message box. Hope this helps!


1 Answers

Try re-setting your Visual Studio settings. Go to Start > Visual Studio Command Prompt (2008) and run the commands sequentially:

devenv /ResetSettings
devenv /ResetSkipPKGS

See if this does the trick...

like image 84
pho79 Avatar answered Sep 18 '22 18:09

pho79