Support forum
The scripts in Diafaan SMS Server use the .NET framework version 2.0 and the scripts can only use .NET assembly DLLs that are also targeted to .NET framework 2.0.
The error indicates that the assembly 'C:\Diafaan\dllSMSSB.dll' is not loaded in Diafaan SMS Server and therefore the dllSMSSB namespace cannot be found.
Regards, Henk
10:50 pm
Dear Henk,I have created a DLL with VisualStudio 2015 for framework 4.5 and tried referencing from within the C# conector.
// addReference C:\Diafaan\dllSMSSB.dll
using dllSMSSB;
but I get the following message when compiling
"The type or namespace named dllSMSSB could not be found (are you missing a using directive or an asseblu reference")
the DLL is in the directory folder in the addReference line.
I appreciate any help you can give me.
Luis
Hello Luis,
I have no experience with Azure service bus queues but if I take a quick look at the documentation it should be possible to forward received SMS message to Azure with an HTTP request in the Scripting Connector.
The format of the HTTP call to Azure is very specific, there is a lot of extra information needed in the headers of the HTTP calls but this is all possible with the normal WebClient and HttpWebRequest classes in C#. The best approach is to use Visual Studio to write and test the functionality to forward the message and when this works, copy it to the script in the Scripting Connector. It is much easier to debug the code in Visual Studio then in Diafaan SMS Server.
Regards, Henk
Most Users Ever Online: 529
Currently Online:
6 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Member Stats:
Guest Posters: 681
Members: 0
Moderators: 0
Admins: 1
Forum Stats:
Groups: 2
Forums: 3
Topics: 1160
Posts: 3961
Newest Members:
, Henk HelmantelAdministrators: Henk Helmantel: 1517