
- #To run this application net framework v4.0.30319 how to#
- #To run this application net framework v4.0.30319 code#
- #To run this application net framework v4.0.30319 windows#
Make sure you are always disposing and cleaning up your TcpClient or using a using statement.Don't use recursion to do any thing silly when connection fails.
#To run this application net framework v4.0.30319 code#
net its self and most likely due to what you are doing (or someone else), since you haven't shown the code all we can assume is you/they are doing something wrong. This is also worth reading When can you catch a StackOverflowException? Source C# catch a stack overflow exception
#To run this application net framework v4.0.30319 windows#
In other articles I found some information but seems not quite similar to mine.īelow is the windows event log for your reference. I try to look for the root cause and I found the clr.dll is the main reason causing crash. However, the DLL gets crashed after retrying to open TCP port for a while (in the log file I logged, the retry count reached 1000+ times). DLL is running well without issue when TCP port is connecting. The DLL is loaded and running in Win2012R2 with. NET framework 4.6.1 in used to do message exchange via TCP port. The application is actually a DLL coded in VB.NET 2013 compiled with.

#To run this application net framework v4.0.30319 how to#
I face this issue for a while and don't have a good idea how to resolve it.
