Not creating window handle

  • Thread starter trialproduct2004
  • Start date
T

trialproduct2004

Hi all
I am having problem in dot net application.
I am getting lots of errors while running this application. But no
exact sceanario is found.
First error i am getting is 'error in creating window handle'. Which is
occuring if i run application continuously for nearly 30 minutes or for
1 hour. I am not getting whethere there is any mistake in my code.

Secondly i am getting error as 'object reference not set to an instance
of an object' which is also not coming continuously. Is it a memory
related issue. Becasuse both of these errors are not coming continusly.
Please help me becasue these are very very major isseues for me and
both these errors are decreasing performance of my application.

thanks in advance.
 
D

Dmytro Lapshyn [MVP]

Hi,

The first thing I'd recommend is the following. Run your app under the
debugger and configure the IDE to stop immediately when the corresponding
exceptions occur (through the Debug->Exceptions window). Then just work with
the app for the amount of time required for any of the exceptions to occur.
The execution will break at the line where the exception has been thrown.
 

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