Categories
VB.NET

Error: Failure sending mail … Unable to connect to the remote server

During my development, I bound into this error. The short error message is “Failure sending mail”. The long one is

Failure sending mail. —> System.Net.WebException: Unable to connect to the remote server —> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)

I googled a bit and found out that this is could be due to my SMTP services was not started. So, I went to start it but I got another message “Could not start the Simple Mail Transfer Protocol (SMTP) service on Local Computer. Error 1068: The dependency Service or group failed to start”.

So, I googled again and found out that this could be due to my IIS services was not started and so I went to start it. And guess what, there was still another error. I didn’t manage to save the error message this time.

Without giving up, I googled again and got tips to check on Event Log to see if there is any thing I can get from there. When I opened it, I saw nothing. Then, I went back to Window Services and found out that Event Log was disabled! I enabled it back, that is it. After that, I can start IIS services and SMTP services liao.

Wait a minute … as I continued with my development, I got another message, “Unable to send to all recipients”. This is will be shared in the next post.

Categories
Articles

Is Saying, ‘Oh My God’ A Sin?

I think I first learn about this and gain some conviction about this topic after I read what Douglas Jacoby wrote about this. This is the link –http://www.douglasjacoby.com/view_article.php?ID=2505

In short, what I learn from Douglas Jacoby is, I shouldn’t use those words / phrase. Reading about this topic again help me to understand why those words / phrase should be avoided.

Another author, Tony Warren, put it this way

But the fact is, saying “Oh My God” (OMG) this way, references God in vain. i.e., it is evoking God without a serious reason, reducing His value and dishonoring the title. In fact this devaluing is inherently part of the very definition of the word vain. Using the name without real purpose.

The word vain essentially means empty, or void of any real value. To take God’s name in vain is to evoke it in a hollow or meaningless way, without real significance or purpose to Him. It is essentially to treat the word God in a valueless way. So it really doesn’t take a rocket scientist to know that “Oh My God,” used in this frivolous way, isn’t really a call for God the father, it is simply used by habit or as an purposeless exclamation. Certainly it isn’t an act of Christians agreeing with, evoking, praising or petitioning God. The truth is, this phrase is almost always little more than a bad cultural or social habit.

(Source)

Categories
Software Engineering

Could not start the world wide web publishing service on local computer error 1717: the interface is unknown

When I try to restart services like “FTP Publishing” and “World Wide Web Publishing”, it keeps on pop up this annoying message, “could not start the world wide web publishing service on local computer error 1717: the interface is unknown”

Finally, I realized that this is due to Event Log has been disabled. Once I changed it back to “Automatic” and started it, I can start back “FTP Publishing” service and “World Wide Web Publishing” service now.

Categories
Information Technology (General)

Attach multiple attachments from Gmail

I just realize that I can attach multiple attachments from Gmail. To do so, you just need to hold down the Ctrl key and select as many files you want to attach. That’s it.

Categories
Information Technology (General)

Want your laptop to load faster?

For those who do not know yet, one way is to reduce the start up programs. To do so,

1. Go to “Start” > “Run”. Type “msconfig” and click “Ok”.

2. At the “Startup” tab, select the programs which you do not need to load during start up.

I don’t think we do not need most of the programs during start up as we can run the programs manually after start up. For me, I have only selected three.

Once done, click “Ok” and click “Restart”. See if it load faster now. 🙂

Exit mobile version