Unable to send to all recipients … Mailbox unavailable. The server response was: 5.7.1 Unable to relay for …

Managed to fix it by going to IIS > Default SMTP Virtual Server > Property > Access > Relay Even though I still not able to receive the mail I sent out yet, but there is no more error message when I use VB.NET code (System.Net.Mail.MailMessage) to send it. When I went to C:InetpubmailrootQueue, I Read more about Unable to send to all recipients … Mailbox unavailable. The server response was: 5.7.1 Unable to relay for …[…]

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 Read more about Error: Failure sending mail … Unable to connect to the remote server[…]

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 Read more about Could not start the world wide web publishing service on local computer error 1717: the interface is unknown[…]

Cannot perform bulk insert. Invalid collation name for source column 1 in format file ‘C:bcp.fmt’.

It took me a while to finally figured what what went wrong to fix the above error. The problem is my bcp.fmt needs to have an empty line at the last row. The first screen capture is the one before I added the empty line and the second screen capture is the one after I Read more about Cannot perform bulk insert. Invalid collation name for source column 1 in format file ‘C:bcp.fmt’.[…]