GXSMS::Open Failed: The System cannot find the file specified

4 posts / 0 new
Last post
balavelocity
GXSMS::Open Failed: The System cannot find the file specified

Hi,

My Customer has some issues when working with your SMS software.

It throws the following error at runtime.

"GXSMS::Open Failed:
The System cannot find the file specified."

After a few seconds it says the following
"Object reference not set to an instance of and object."

Version of Gurux.SMS.dll is 5.1.0.26

Version of Gurux.Common.dll is 5.1.0.6

Please let me know how to solve the issue.

Kurumi
Kurumi's picture

Hi,

Error is received from Windows. It simply means that COM port is not available.
If modem is in USB port, COM port might change when you reboot your Windows.

Change COM port to correct one and this error go away.

Happy Coding,

Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

balavelocity

While using the LAPtop, what property I have to change to clear the error

Regards,
balavelocity

Kurumi
Kurumi's picture

Hi,

You have to set serial port of GXSMS component to correct one.

GXSMS1.Port = "COM1"

Or then you can call Properties-method and set correct serial port.

GXSMS1.Properties(Null)

If you are using GXSMS Sample select Properties button and set correct port.

Happy Coding,

Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi