Search found 3 matches

by soonchew
Mon Nov 22, 2021 9:51 am
Forum: Inetlab.MMS.MM7
Topic: The type initializer for 'Inetlab.MMS.MMSMessage' threw an exception
Replies: 4
Views: 35578

Re: The type initializer for 'Inetlab.MMS.MMSMessage' threw an exception

That works! However when sending MMS, it seems we will get below error for the first MMS. Subsequent MMS is ok. System.ArgumentException: Item has already been added. Key in dictionary: 'binary' Key being added: 'binary' at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) ...
by soonchew
Tue Nov 16, 2021 7:52 am
Forum: Inetlab.MMS.MM7
Topic: The type initializer for 'Inetlab.MMS.MMSMessage' threw an exception
Replies: 4
Views: 35578

The type initializer for 'Inetlab.MMS.MMSMessage' threw an exception

Hi, We are trying to use the library in a .net core function project. But we get below error The type initializer for 'Inetlab.MMS.MMSMessage' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyT...
by soonchew
Thu Sep 09, 2021 10:52 am
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: SMPP logger trigger extra connections
Replies: 1
Views: 15086

SMPP logger trigger extra connections

We tried to turn on smpp logging for debugging using below code from example. However, this seems to cause extra local connections to be made and logged. We are using .NET5 with the latest nuget Inetlab.SMPP 2.9.14 to build the smpp server Inetlab.SMPP.Logging.LogManager.SetLoggerFactory(new LoggerF...