Fórmulas e Cenas

Object Reference Not Set to an Instance of an Object

  Home  |   Contact  |   Syndication    |   Login
  45 Posts | 0 Stories | 16 Comments | 0 Trackbacks





Occasionally an application that I am working on throws the above error... After trying to fix my code for a bit, and not finding the problem I googled a bit and discovered that this error is caused by a windows service that must be running. So, if you ever encounter this error, you must turn on the 'Distributed Transaction Coordinator' in order to solve it. Hope this helps. Original source: http://geekswithblogs.net/n... ......

It's a tricky and annoying situation...

To do work around it, execute the following command on command prompt:

netsh winsock reset

Then Restart Windows enter the next command:

netsh int ip reset reset.log

Restart Windows and you are ready to go.

Enjoy :)