Getting nested exception(Unknown SMTP host)

hello
i have written a simple mailclient.i am running the following programme from my local machine which is under proxy server.
public class MailExample {
public static void main (String args[]) throws Exception {
String host = "mail.ab";
String from = "[email protected]";
String to = "[email protected]";
Properties props = System.getProperties();
props.put("mail.smtp.host", host);
Session session = Session.getDefaultInstance(props, null);
MimeMessage message = new MimeMessage(session);
message.setFrom(new InternetAddress(from));
message.addRecipient(Message.RecipientType.TO,
new InternetAddress(to));
message.setSubject("Hello JavaMail");
message.setText("Welcome");
Transport.send(message);
This host is some other machine.
i am getting nested exception as unknown SMTP host.
please help.
thanks in advance

Unknown host: it is telling you that it can't find the host you told it to look for. Either you gave it the name of a system that does not exist, or that system does not have an SMTP host running on it. I would guess the first reason, as "mail.ab" does not look right to me. (What country is "ab" and why is there only one mail server in the entire country?)

Similar Messages

  • Javax.servlet.ServletException: Unknown SMTP host

    Hi
    I am using tomcat and trying to send emails. I keep getting a javax.servlet.ServletException: Unknown SMTP host error.
    I initially thought the problem was with the line: props.put("mail.smtp.host", "makethegrade.co.za"); But i checked the smtp info with the guys i'm hosing with and they said its right
    I am currently setting the fields manually, so it can't be a problem with passing data around in the webpage
    In my WEB-INF/lib i have jaf-1.0.2 and javamail-1.4.1 (i.e. mail.jar and activation.jar)
    The code for my mailer bean is:
    package mailer;
    import java.io.*;
    import java.util.*;
    import javax.mail.*;
    import javax.mail.event.*;
    import javax.mail.internet.*;
    public final class MailerBean extends Object implements Serializable {
         /* Bean Properties */
         private String to = null;
         private String from = null;
         private String subject = null;
         private String message = null;
         public static Properties props = null;
         public static Session session = null;
         static {
              /*     Setting Properties for STMP host */
              props = System.getProperties();
              props.put("mail.smtp.host", "makethegrade.co.za");
              session = Session.getDefaultInstance(props, null);
         /* Setter Methods */
         public void setTo(String to) {
              this.to = to;
         public void setFrom(String from) {
              this.from = from;
         public void setSubject(String subject) {
              this.subject = subject;
         public void setMessage(String message) {
              this.message = message;
         /* Sends Email */
         public void sendMail() throws Exception {
              if(!this.everythingIsSet())
                   throw new Exception("Could not send email.");
              try {
                   MimeMessage message = new MimeMessage(session);
                   message.setRecipient(Message.RecipientType.TO,
                        new InternetAddress(this.to));
                   message.setFrom(new InternetAddress(this.from));
                   message.setSubject(this.subject);
                   message.setText(this.message);
                   Transport.send(message);
              } catch (MessagingException e) {
                   throw new Exception("Caught in sendMail" + e.getMessage());
         /* Checks whether all properties have been set or not */
         private boolean everythingIsSet() {
              if((this.to == null) || (this.from == null) ||
                 (this.subject == null) || (this.message == null))
                   return false;
              if((this.to.indexOf("@") == -1) ||
                   (this.to.indexOf(".") == -1))
                   return false;
              if((this.from.indexOf("@") == -1) ||
                   (this.from.indexOf(".") == -1))
                   return false;
              return true;
    }and the error i get is:
    org.apache.jasper.JasperException: Exception in JSP: /processingPages/mailer.jsp:17
    14:           mailer.setFrom("[email protected]");
    15:           mailer.setSubject("mailer test");
    16:           mailer.setMessage("TEst test test");
    17:           mailer.sendMail();
    18:           
    19:      %>
    20: </jsp:useBean>
    Stacktrace:
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:451)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:355)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    root cause
    javax.servlet.ServletException: Unknown SMTP host: mail.yourisp.com
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:841)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:774)
         org.apache.jsp.processingPages.mailer_jsp._jspService(mailer_jsp.java:89)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    root cause
    java.lang.Exception: Unknown SMTP host: mail.yourisp.com
         mailer.MailerBean.sendMail(MailerBean.java:54)
         org.apache.jsp.processingPages.mailer_jsp._jspService(mailer_jsp.java:67)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    Tomcat logs give:
    Jul 15, 2009 10:50:35 AM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.lang.Exception: Unknown SMTP host: mail.yourisp.com
         at mailer.MailerBean.sendMail(MailerBean.java:54)
         at org.apache.jsp.processingPages.mailer_jsp._jspService(mailer_jsp.java:67)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
         at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
         at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
         at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
         at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
         at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         at java.lang.Thread.run(Thread.java:619)
    If anyone needs any other details feel free to ask.
    Any help or any pointers to a place to find a solution would be deeply appreciated
    Thanks

    All I can see is that you are running this in a web application. In most web application containers there's a place where you configure your mail providers and mail sessions. You seem to be ignoring that (you aren't using JNDI to get a session for example) but you are getting the default instance, so perhaps that uses that configuration anyway.

  • Getting exception: Unknown SMTP-- after running the following

    Dear Sir,
    I am running the demo example of the javamail api but I am getting the following message.
    D:\Sots\Java\javamail-1.3.3_01\demo>java msgsend -o [email protected] -M SMTP.Server [email protected]
    To: [email protected]
    Subject: Hi
    Welcome
    ^Z
    javax.mail.MessagingException: Unknown SMTP host: SMTP.Server;
    nested exception is:
    java.net.UnknownHostException: SMTP.Server
    at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1225)
    at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:32
    2)
    at javax.mail.Service.connect(Service.java:236)
    at javax.mail.Service.connect(Service.java:137)
    at javax.mail.Service.connect(Service.java:86)
    at javax.mail.Transport.send0(Transport.java:150)
    at javax.mail.Transport.send(Transport.java:80)
    at msgsend.main(msgsend.java:165)
    Thanks and Regards.
    Narendra Mohan

    Dear Sir,
    I am running the demo example of the javamail api but I am getting the following message.
    D:\Sots\Java\javamail-1.3.3_01\demo>java msgsend -o [email protected] -M SMTP.Server [email protected]
    To: [email protected]
    Subject: Hi
    Welcome
    ^Z
    javax.mail.MessagingException: Unknown SMTP host: SMTP.Server;
    nested exception is:
    java.net.UnknownHostException: SMTP.Server
    at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1225)
    at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:32
    2)
    at javax.mail.Service.connect(Service.java:236)
    at javax.mail.Service.connect(Service.java:137)
    at javax.mail.Service.connect(Service.java:86)
    at javax.mail.Transport.send0(Transport.java:150)
    at javax.mail.Transport.send(Transport.java:80)
    at msgsend.main(msgsend.java:165)
    Thanks and Regards.
    Narendra Mohan

  • Unknown SMTP host exception...

    Hi all...
    am a newbie in j2ee...i have to send mails from my application...
    have written the code...but it gives an error like the smtp host specified, is
    unknown...
    can anyone pleaz tell me what r the things to be set up or what r the configurations to be done to send a mail using program...am using Transport.send(message) function to do it...plz help me...
    thanx and regards,
    sand...

    Hi,
    As mentioned in the debugging steps, I turned the debugging session on by "session.setDebug(true);".I got the following printed on my console:
    DEBUG: setDebug: JavaMail version 1.4ea
    DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
    DEBUG SMTP: useEhlo true, useAuth false
    DEBUG SMTP: trying to connect to host "smtp.gmail.com", port 25, isSSL false
    MessagingException
    javax.mail.MessagingException: Unknown SMTP host: smtp.gmail.com;
    nested exception is:
         java.net.UnknownHostException: smtp.gmail.com
         at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1280)
         at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
         at javax.mail.Service.connect(Service.java:275)
         at javax.mail.Service.connect(Service.java:156)
         at javax.mail.Service.connect(Service.java:105)
         at javax.mail.Transport.send0(Transport.java:168)
         at javax.mail.Transport.send(Transport.java:98)
         at sendMail.main(sendMail.java:28)
    Caused by: java.net.UnknownHostException: smtp.gmail.com
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.SocksSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232)
         at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
         at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1250)
         ... 7 more
    I also tried to use telnet to connect as
    telnet smtp.gmail.com 25
    Here I got an output like
    Connecting To smtp.gmsil.com...Could not open connection to the host, on port 25
    : Connect failed
    so now I donot understand wher the problem lies actually.
    Can you please suggest anything?
    Thanks

  • MessagingException "Unknown SMTP host"

    Hi
    I am using JavaMail to send out emails from an ecommerce application. We are now deploying the application and are getting the following message....
    nested exception is:
    class javax.mail.MessagingException: Unknown SMTP host: smtp.thehost.com ;
    nested exception is:
    java.net.UnknownHostException: smtp.thehost.com
    (note the server name is not actually smtp.thehost.com) - ive used that one here for confidentality.
    If i try to telnet to smtp.thehost.com on port 25 i get the expected 220 and everything seems fine. Its like JavaMail cant see the mailhost when everything else can.
    I am using :
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
    Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)
    on Redhat.
    Any suggestions?
    Regards
    Lawrence

    If i try to telnet to smtp.thehost.com on port 25 i get the expected 220 and everything seems fine. Its like JavaMail cant see the mailhost when everything else can.This suggests that you aren't telling JavaMail the right host name. It looks to me as if it has an unnecessary space at the end, but at any rate check your code.

  • Hello, javax.mail.MessagingException: Unknown SMTP host:

    Hello,
    I am trying to send a mail and use a smtp Server which is located on the internet. I am however behind a firewall and am getting the following exception being thrown:
    javax.mail.MessagingException: Unknown SMTP host:
    This implies that I need to provide some settings for my proxy server. I though to solve this problem I could do the following:
    System.getProperties().put("proxySet", "true");
    System.getProperties().put("http.proxyHost", proxyHost);
    System.getProperties().put("http.proxyPort", proxyport);
    This however does not solve me problem as I still get the above exception. Could someone please give help me. Any suggestions,solutions or ideas as to what the problem might be would be appreciated.
    Thanks much,
    Alex.

    HTTP is not SMTP.
    Your proxy server no doubt allows your system to send
    HTTP traffic to and from the outside world, and using
    that code you posted would allow Java classes to do
    that as well. But HTTP is not SMTP. Ask the network
    people who configured your proxy server if it can act
    as an SMTP proxy, and if so what you have to do to
    use it in that way.Thanks much for your reply. I am however a little confused. Could you explain to me exactly what an SMTP proxy is/does.
    Thanks much,
    Alex.

  • Unknown smtp host

    Is it necessary to have Exchange server on the pc in which u r making a web application
    having email option...?
    Tomcat is giving this error although i have provided the mail server ip as follows...
    Properties props = new Properties();
    props.put("mail.smtp.host", 192.168.0.2);
    Session s = Session.getInstance(props,null);
    Urgent....

    Help me please.........

  • Smtp.host error

    i got some error msg
    error - javax.mail.MessagingException: Unknown SMTP host: smtp.gmail.com; nested exception is: java.net.UnknownHostException: smtp.gmail.com
    code                Properties props = new Properties();
                    props.put("mail.smtp.host", "smtp.gmail.com");
                    props.put("mail.smtp.port", "465");
                    props.put("mail.user","dineshjweerakkody");
                    Session mailSession = Session.getDefaultInstance(props, null);
                    MimeMessage msg = new MimeMessage(mailSession);
                    msg.setFrom(new    InternetAddress(request.getParameter("mymail"),request.getParameter("myname")));
                    msg.addRecipient(Message.RecipientType.TO,new InternetAddress(request.getParameter("resmail"),request.getParameter("resname")));
                    msg.setSubject(request.getParameter("subject"));
                    msg.setText(request.getParameter("message"));
                    Transport.send(msg);
                    response.sendRedirect("success.jsp");
                    Please help me...............

    See the JavaMail FAQ for tips on debugging connection problems.

  • Javamail smtp.host value for gmail

    my email account created on gmail.
    i want to create mailing site.
    now i got some error massage
    "Unknown SMTP host: smtp.gmail.com:465"
    Please tell me what is the smtp.host value for gmail

    Don't put the port number in the host name.
    See the JavaMail FAQ for how to connect to gmail.

  • Using SMTP should I get an Exception for wrong recipitients?

    Hi,
    I'm testing JavaMail 1.3.2.
    Once I give a fake recipitients, in the TO address, my email is posted correctly.
    I have tried with severals SMTP server and I get any error.
    I don't remember, if I should get an exception like SendFailedException.
    I attach the code, I use for this test.
    import java.util.Date;
    import java.util.Properties;
    import javax.mail.Message;
    import javax.mail.Session;
    import javax.mail.Transport;
    import javax.mail.event.TransportEvent;
    import javax.mail.event.TransportListener;
    import javax.mail.internet.InternetAddress;
    import javax.mail.internet.MimeMessage;
    import java.util.Date;
    import java.util.Properties;
    import javax.mail.Message;
    import javax.mail.Session;
    import javax.mail.Transport;
    import javax.mail.event.TransportEvent;
    import javax.mail.event.TransportListener;
    import javax.mail.internet.InternetAddress;
    import javax.mail.internet.MimeMessage;
    public class MailExample implements TransportListener {
         public MailExample() {
              super();
         public void test() throws Exception {
              // Get system properties
              Properties props = System.getProperties();
              // Setup mail server
              props.put("mail.smtp.host", <SMTP_SERVER>);
              // Get session
              Session session = Session.getInstance(props, null);
              session.setDebug(true);
              // Define message
              MimeMessage message = new MimeMessage(session);
              message.setFrom(new InternetAddress(<SENDER_ADDRESS>));
              message.setRecipients(Message.RecipientType.TO, InternetAddress.parse(
                        ""+new Date().getTime()+"@thisisnotarealaddressihope.com", false));
              message.setRecipients(Message.RecipientType.BCC, InternetAddress.parse(
                        <BCC_ADDRESS>, false));
              message.setHeader("X-Mailer", "JavaMail API");
              message.setSentDate(new Date());
              message.setSubject("Hello JavaMail");
              message.setText("Welcome to JavaMail");
              // Send message
              Transport transport = session.getTransport("smtp");
              transport.connect();
              transport.addTransportListener(this);
              transport.sendMessage(message, message.getAllRecipients());
              transport.close();
              System.out.println("\nMail was sent successfully.");
         public static void main(String[] args) throws Exception {
              MailExample example = new MailExample();
              example.test();
          * (non-Javadoc)
          * @see javax.mail.event.TransportListener#messageDelivered(javax.mail.event.TransportEvent)
         public void messageDelivered(TransportEvent arg0) {
              System.out.println("messageDelivered");
          * (non-Javadoc)
          * @see javax.mail.event.TransportListener#messageNotDelivered(javax.mail.event.TransportEvent)
         public void messageNotDelivered(TransportEvent arg0) {
              System.out.println("messageNotDelivered");
          * (non-Javadoc)
          * @see javax.mail.event.TransportListener#messagePartiallyDelivered(javax.mail.event.TransportEvent)
         public void messagePartiallyDelivered(TransportEvent arg0) {
              System.out.println("messagePartiallyDelivered");
      Regards,
    Manu

    I agree with japamac.
    If you're happy with your Quad G5 and don't plan to upgrade software any time soon, then that is the more economical option. Mini's are great, but I'd say a G5 is more flexible and likely faster and more powerful after you upgrade. I just upgraded the old memory in my dual G5 (from OWC) and that alone has given me a slight speed boost and definitely a stability boost. Can I assume you are planning to use the SSD as a boot disk with your OS and core programs, and a secondary HD as storge for your files?
    http://eshop.macsales.com/shop/SSD/OWC/Mercury_6G/
    http://eshop.macsales.com/shop/SSD/PCIe/OWC/Mercury_Accelsior/RAID
    For what it's worth, I've heard good things about Momentus hybrid drives as well. Nearly the performace of a SSD, with more storage and a lower price tag. I can't speak to compatibility with your system though.
    http://www.seagate.com/internal-hard-drives/laptop-hard-drives/momentus-xt-hybri d/
    Message was edited by: Kort

  • I'm getting "runtime error: unknown exception" when burning DVDs on PE12

    I'm getting "runtime error: unknown exception" when burning DVDs on PE12

    Some of this may be for Premiere Pro, but SHOULD also help with Premiere Elements
    http://helpx.adobe.com/x-productkb/global/troubleshoot-c-runtime-errors-products.html
    Also http://www.microsoft.com/en-us/download/details.aspx?id=14632 for a Microsoft download
    Also search http://search.microsoft.com/search.aspx?mkt=en-US&setlang=en-US for Microsoft help articles
    Set your Premiere Elements DVD output to a folder on your hard drive and then use the FREE Imgburn to burn the folder to disc for DVD... Premiere Elements does NOT burn to a folder for BluRay (send the author a PayPal donation if you like his program)
    Read http://forums.adobe.com/thread/1322583 for notes on installing Imgburn WITHOUT any toolbar add-ons... Set Imgburn to use the slowest burn speed your drive and media will use... I set my burn speed to 1x and let Imgburn adjust to the actual minimum

  • Getting unmarshaling return; nested exception when running application.

    I am getting the following error after login to my EJB based web application which has been deployed in weblogic 8.1 server.
    cannot unmarshaling return; nested exception is:
         java.io.InvalidClassException: local class incompatible: stream classdesc serialVersionUID = 1576396055896079162, local class serialVersionUID = 3218807580895902362
    Can anyone please help me to findout the solution for this problem.

    Usually, when you get NoSuchMethod exceptions, there are two possible causes:
    1. You are using reflection to try to find a method that doesn't exist -- perhaps there's a typo, or you don't have the correct version of the class
    2. You compiled your class against a different version of the dependency class than your virtual machine has loaded, and the method doesn't exist in the loaded version.
    Chances are, you haven't told the servlet engine you are using about the newer version of some library or other that you are using, so it's still loading up an older one.
    - Adam

  • Io exception: Unknown host specified

    hi all
    i installed oracle 10g successfuly but when i open enterprize manager and try to connect system as sysdba then follwoing error occure
    Io exception: Unknown host specified
    can any one help me
    thanks in advance

    i am giving the os username and pasword but the error is
    RemoteOperationException: ERROR: Wrong password for user

  • Io Exception: Unknown host specified; fails for cluster, OK for one server

    SQL Developer 1.2.1.3213, BUILD MAIN-32.13, downloaded today, fails to connect to a remote two server Oracle cluster, until one of the two server DNS names and the comma between them is removed.
    FYI: The known host value looks like: devrac1.mydomain.ca,devrac2.mydomain.ca
    Change it to: devrac1.mydomain.ca and the connection will work as expected in 1.2.1
    Error dialog: "Error Connecting" An error was encountered performing the requested operation.
    "Io Exception: Unknown host specified"
    "Vendor code 17002"
    On SQL Developer version 1.1.0.15, build MAIN-15.57 all databases connect normally.
    The correct operation or failure apply to either Oracle 9i or 10g, on Windows XP Professional, SP 2, with JDK 6 update 3.
    Yours truly,
    Mike Rainville
    Version details:
    Oracle 9i, 9.2.0.0.0. or
    Oracle 10g, Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
    Microsoft Windows XP [Version 5.1.2600]
    java version "1.6.0_03"
    Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
    Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing)
    (original post in thread: Re: Connecting to a remote database recreated here per your request)
    Mike Rainville
    Montreal, Canada

    You can also address both RAC nodes in your SQLDeveloper connection.
    Open the connection properties and select "Advanced" as "Connection Type".
    Use the following type of JDBC URL:
    jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=tcp)(HOST=devrac1.mydomain.ca)(PORT=1521))(ADDRESS=(PROTOCOL=tcp)(HOST=devrac2.mydomain.ca)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=devrac.mydomain.ca)))
    Best,
    Manfred

  • SSMS.exe for SQL Server 2012 is getting Application Error: The exception unknown software exception (0xe0434352) occurred in the application at location 0x75c5c42d.

    SQL Server 2012 Management Studio attempting to log into a SQL Server 2012 instance on a remote server using SQL Authenticated login.
    What does this error mean and what can I do to fix it?
    Thanks in advance!

    Hi Nick,
    Have you seen any additionally information from Windows Event Viewer?
    Based on my research, exception code e0434352  is the exception code used internally by the CLR to represent most exceptions(*), it could mean anything. If you want to find out exactly what the real error is, please review this
    blog.
    In addition, in such case, Microsoft .Net Framework may need to be updated or repaired on your computer. For more details, you can refer to the following similar thread.
    http://answers.microsoft.com/en-us/windows/forum/windows8_1-performance/the-exception-unknown-software-exception/f1404ce4-cdbe-4758-aa19-bad55fcc099c
    Thanks,
    Lydia Zhang

Maybe you are looking for