bezzad / ErrorControlSystem

ErrorControlSystem is a .NET library created to automate handling .NET Windows-Base application exceptions and raise that to a sql server. This exception handler have some features as screen capturing, fetch server date time in exception occurrence time and etc.
http://bezzad.github.io/ErrorControlSystem/
GNU General Public License v3.0
32 stars 14 forks source link

Some times MAC address fetcher throw exception #15

Closed bezzad closed 9 years ago

bezzad commented 9 years ago

When network is not available then mac address is not work and throw a network exception! this is a high level problem, because maybe make dead loop in program for every exception in exception.

bezzad commented 9 years ago

The MAC and IP address in cache and server database declare to nvarchar(20) and when the network was offline then the NetworkHelper class return the Network Not Available value and this has 21 char length. So that is to caused a sql exception and again raise that and again exception occurred !

bezzad commented 9 years ago

The IP and MAC address length changed to 50 characters and this problem solved in from server and local databases.