Support forum

Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

dsmcmnt.exe error
sp_NewPost Add Reply sp_NewTopic Add Topic
October 22, 2014
5:09 pm
Ramlakhan Naseeb

Hello, Henk
You was right, we have an proxy on our network and it was bloking the the HTTP request.
your solution work for me.

here, my "app.config" file if someone have the same thing.

thanks for your quick reply and support . this problem is now solve.

Best regards,

October 17, 2014
9:29 am
Henk Helmantel
Forum Posts: 523
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Ramlakhan,

According to this thread on Stack Overflow, the error is caused by a proxy HTTP server in your network. The command line client of Diafaan SMS Server adds the header 'Expect: 100-Continue' to the HTTP request and your proxy server does not know how to handle this header properly.

If you are not able to solve this problem on the proxy server, you can try this work around. Add a file 'dmscmnd.exe.config' in the same folder as 'dmscmnd.exe' with the text:

<?xml version="1.0" encoding="utf-8" ?>
<servicePointManager expect100Continue="false" />

This instructs the command line program to omit the 'Expect: 100-Continue' header from the HTTP request.

Regards, Henk

October 16, 2014
7:12 pm
Ramlakhan Naseeb

Hi ,
We have a Basic edition of Diafaan (serial # *********).
I am trying to use the included command line exe in order to send sms. (dsmcmnd.exe)

Some information about both computer : no firewall is active,the web connector is running and working fine.
on the diafaan server (win7 x86) , the follow command line working:

dsmcmnd.exe "host:localhost:80" "command:send-message" "username:admin" "password:****" "to:+594694******" "message:dianfan-test"

on another computer i am unable send sms . i am getting this error :

ERROR:301 Le serveur distant a retourné‚ une erreur: (417) Expectation Failed.
dsmcmnd.exe "host:" "command:send-message" "username:admin" "password:****" "to:+594694******" "message:dianfan-test"

can you please help me , i need to send sms using this command from other computer.

best regards,

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 494

Currently Online:
4 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 356

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 514

Posts: 1781

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 523