SMTP require authentication. Help!

EDIT: Sorry I think I posted in the wrong forum..admin..you can move this post to the correct one . . .PHP development!
Hi,
I've got everything up and running. I'd tested the new "clients area" out on my local server then on 2 different hosting servers and things were just perfect...up until I uploaded everything to my clients server which requires SMPT authentication.
I've been trying for a week for the host to give me some help but I have had no success. ( Really bad customer service and I'll be changing my client as soon as his contract ends with them).
The error message I get is:
SMTP: SMTP server does no support authentication (code: 250, response: 90plan.ovh.net PIPELINING SIZE 10240000 VRFY ETRN ENHANCEDSTATUSCODES 8BITMIME DSN)>. (EMAIL_FAILED)
Please could anyone help me. What do I need to find out from the host and how should I modify things so that my client area will work just as it does on my servers?
I guess I'll have to modify something on these two files..but what?
function Execute()
if (is_object($this->error)) {
return $this->error;
if ($this->contentFile!='' && file_exists($this->contentFile) && $fp = fopen($this->contentFile, 'r')) {
$this->content = fread($fp, filesize($this->contentFile));
fclose($fp);
} else if ($this->contentFile!='') {
return new tNG_error('EMAIL_NO_TEMPLATE', array(), array());
$email = new KT_Email();
$email->setPriority($this->importance);
foreach ($this->attachments as $filename) {
$email->addAttachment($filename);
$email->sendEmail($GLOBALS['tNG_email_host'], $GLOBALS['tNG_email_port'], $GLOBALS['tNG_email_user'], $GLOBALS['tNG_email_password'], $this->getFrom(), $this->getTo(), $this->getCc(), $this->getBcc(), $this->getSubject(), $this->getEncoding(), $this->getTextBody(), $this->getHtmlBody());
if ($email->hasError()) {
$arr = $email->getError();
return new tNG_error('EMAIL_FAILED', array(''), array($arr[1]));
$tNG_email_host = "213.186.33.20";
$tNG_email_user = "[email protected]";
$tNG_email_port = "25";
$tNG_email_password = "myPassword";
Please help, any advice would be much appreciated.

Heather,
Check this link out:
http://www.interaktonline.com/Support/Knowledgebase/Technote/Details/146/18/My+website+doe s+not+send+e-mail+messages.html
It's from the old interakt forums, but it might give you a starting point.
BTW I found this linked from this forum post:
http://www.interaktonline.com/Products/Dreamweaver-Extensions/MXSendE-mail/Product-Forum/D etails/92719/Email+Error+SMTP+server+does+not+support+auth.html
Where the poster seemed to have the same problem and was pointed to the tech note by the interakt staff.
Shane

Similar Messages

  • SMTP require authentication

    Hi Guys,
    I have a problem, actually our mail serivce in configure in SAP and it connects to mail server directly. but now, the IT team of mail server has changed some policy and now its require authentication, even if we send any mail to outlook and now we are unable to send the mails from SAP to any email address. could you please help me that how can we chage the setting into SAP for SMTP authentication.
    Regards
    Subhash

    Hi,
    You can follow this thread to have more information on SMTP.
    SCOT Configuration--for external mail
    You mentioned that you're able to send mail to any email address.. do you mean to restrict the mail to only some domain like your company addresses? *@abc.com
    in that case, you can try
    go to SCOT > Select SMTP node> from menu Nodes > Change - in the supported address type under internet - Set > Check Address area. maintain your company domain here. like abc.com, instead of *
    hope this helps,
    Debasis.

  • JavaMail: How to tell if SMTP server requires authentication

    I am writing an application that sends notification emails. I have a configuration screen for the user to specify the SMTP hostname and optionally a username and password, and I want to validate the settings. Here is the code I am using to do this:
    Properties props = new Properties();
    props.put("mail.transport.protocol", "smtp");
    if (mailUsername != null || mailPassword != null)
        props.put("mail.smtp.auth", "true");
    Session session = Session.getInstance(props, null);
    transport = session.getTransport();
    transport.connect(mailHostname, mailUsername, mailPassword);
    transport.close();This works if the user enters a username and password (whether they are valid or not), or if the username and password are empty but the SMTP server does not require authentication. However, if the server requires authentication and the username and password are empty, the call to transport.connect() succeeds, but the user will get an error later on when the app tries to actually send an email. I want to query the SMTP server to find out if authentication is required (not just supported), and inform the user when they are configuring the email settings. Is there any way to do this? I suppose I could try sending a test email to a dummy address, but I was hoping there would be a cleaner way.

    Thanks for your help. This is what I ended up doing, and it seems to work. For anyone else interested, after the code above (before transport.close(), I try to send an empty email, which causes JavaMail to throw an IOException, which I ignore. If some other MessagingException occurs, then there is some other problem (authentication required, invalid from address, etc).
    try
       // ...code from above...
       // Try sending an empty  message, which should fail with an
       // IOException if all other settings are correct.
       MimeMessage msg = new MimeMessage(session);
       if (mailFromAddress != null)
           msg.setFrom(new InternetAddress(mailFromAddress));
       msg.saveChanges();
       transport.sendMessage(msg,
           new InternetAddress[] {new InternetAddress("[email protected]")});
    catch (MessagingException e)
        // IOException is expected, anything else (including subclasses
        // of IOException like UnknownHostException) is an error.
        if (!e.getNextException().getClass().equals(IOException.class))
            // Handle other exceptions
    }Edited by: svattom on Jan 7, 2009 7:37 PM
    Edited by: svattom on Jan 7, 2009 10:01 PM
    Changed handling of subclasses of IOException like UnknownHostException

  • Can gmail smtp server be used (requires authentication)

    I would like to configure my 10g XE environment with Apex to handle email.
    However, I don't want to set up an SMTP server on my environment. Instead I would like to route to the gmail smtp server.
    But gmail like many SMTP servers requires authentication and TLS security. Can authentication be coded into the calls or any suggestions on how to handle?
    Thanks,
    Stephen

    With an Virtual Directory solution, you can authenticate Iplanet Web Server against nearly anything including any LDAPv3 Directory Server, Microsoft Active Directory, Windows NT Domains, Oracle RDBMS, IBM DB2 RDBMS, Microsoft SQL, and others.
    All of this is done dynamically and doesn't require any heavyweight synchronization process. The Virtual Directory acts as a dynamic schema / DIT / data translation engine for different types of repositories.
    OctetString's Virtual Directory Engine is one such example. You can download a 30 day evaluation copy at:
    http://www.octetstring.com
    It will take you all of 30 minutes to get iPlanet Web Server authenticated against and using groups from things like Oracle RDBMS, Windows NT Domains, or Active Directory.

  • Email notification to SMTP with Authentication

    Sending Email Notification: What tags do you add to ns_emails.xsl to configure it for an smtp server that requires authentication? I've tried many things but none of them have worked, I looked all over the oracle forum and found a user who posted the same problem but was not given an answer.
    Currently I'm using the following settings
    <GeneralSettings>
    <FromName>aiatestmail</FromName>
    <FromAddress>[email protected]</FromAddress>
    </GeneralSettings>
    <OutgoingServerSettings>
    <SMTPHost>smtp.mail.yahoo.com </SMTPHost>
    <SMTPPort>587</SMTPPort>
    <authenticationRequired>true</authenticationRequired>
    <UserName>aiatestmail</UserName>
    <Password encrypted="false" xmlns:ns0="http://xmlns.oracle.com/ias/pcbpel/NotificationService">*******</Password>
    </OutgoingServerSettings>
    and am getting
    NotificationService (sendEmailNotification) (faulted)
    [2005/07/01 18:11:19] "{http://xmlns.oracle.com/ias/pcbpel/NotificationService}NotificationServiceFault" has been thrown. Less
    <NotificationServiceFault xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">
    <part name="faultInfo">
    <faultInfo>530 authentication required - for help go to http://help.yahoo.com/help/us/mail/pop/pop-11.html</faultInfo>
    </part>
    </NotificationServiceFault>
    I've also tried without sucess:
    -without the authenticationRequired, email, and Password tags
    -using the tags <email>aiatestmail</email> <Password>cb14373</Password> instead of UserName, Password in the example
    -Using another email provider (netscape.net address & smtp server)
    Thanks,
    Craig

    Additional note:
    I haven't been able to test it on a server without authentication. Does anyone know a smtp server that allows this?
    Also here is the full text of my config flie:
    <EmailAccounts xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">
    <EmailAccount>
    <Name>AddressChangeReviewerNotification</Name>
    <GeneralSettings>
    <FromName>aiatestmail</FromName>
    <FromAddress>[email protected]</FromAddress>
    </GeneralSettings>
    <OutgoingServerSettings>
    <SMTPHost>smtp.mail.yahoo.com </SMTPHost>
    <SMTPPort>25</SMTPPort>
    <authenticationRequired>true</authenticationRequired>
    <email>aiatestmail</email>
    <Password>********</Password>
    </OutgoingServerSettings>
    <IncomingServerSettings>
    <Server>pop.mail.yahoo.com </Server>
    <Port>110</Port>
    <Protocol>pop3</Protocol>
    <UserName>aiatestmail</UserName>
    <Password encrypted="false" xmlns:ns0="http://xmlns.oracle.com/ias/pcbpel/NotificationService">***********</Password>
    <UseSSL>false</UseSSL>
    <Folder>Inbox</Folder>
    <PollingFrequency>600</PollingFrequency>
    <PostReadOperation>
    <MarkAsRead/>
    </PostReadOperation>
    </IncomingServerSettings>
    </EmailAccount>
    <EmailAccount>
    <Name>TaskServiceReceiving</Name>
    <GeneralSettings>
    <FromName>Oracle BPM</FromName>
    <FromAddress>[email protected]</FromAddress>
    </GeneralSettings>
    <OutgoingServerSettings>
    <SMTPHost>dlsun4254.us.oracle.com</SMTPHost>
    <SMTPPort>225</SMTPPort>
    </OutgoingServerSettings>
    <IncomingServerSettings>
    <Server>pop.mail.yahoo.com</Server>
    <Port>2110</Port>
    <Protocol>pop3</Protocol>
    <UserName>bpm2</UserName>
    <Password ns0:encrypted="false" xmlns:ns0="http://xmlns.oracle.com/ias/pcbpel/NotificationService">welcome</Password>
    <UseSSL>false</UseSSL>
    <Folder>Inbox</Folder>
    <PollingFrequency>1</PollingFrequency>
    <PostReadOperation>
    <MarkAsRead/>
    </PostReadOperation>
    </IncomingServerSettings>
    </EmailAccount>
    </EmailAccounts>

  • Server requires authentication - How do I program for this?

    Hello,
    I'm testing out a webpage I have created that will be used to send email. I have DSL service...just recently subscribed. Previously I had Dial up. The server at that time didn't require authentication, but now that I have DSL it does. I'm a bit lost as to how to update my program (I've included the snippet in the post), so that it will run correctly. I am having some difficulty.
    My program looked like this :
    String POP3 = "pop.windstream.net";
    String SMTP = "smtp.windstream.net";
    // Specify the SMTP host
    Properties props = new Properties();                                           
    props.put(POP3, SMTP);
    // Create a mail session
    Session ssn = Session.getInstance(props, null);
    ssn.setDebug(true);                  
    //...html to make up the body of the message
    // set the from information
    InternetAddress from = new InternetAddress(emailaddress, fromName);
    // Set the to information
    InternetAddress to = new InternetAddress(EmailAddress2, toName);
    // Create the message
    Message msg = new MimeMessage(ssn);
    msg.setFrom(from);
    msg.addRecipient(Message.RecipientType.TO, to);
    msg.setSubject(emailsubject);
    msg.setContent(body, "text/html");                      
    Transport.send(msg);     
    //....                        I did some research already, and have looked at some other forum posts. The one thing I have noted when I run my program is that the dos prompt for tomcat is showing this:
    *DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smpt,com.sun.mail.smtp.SMTPTransport,Sun Microsystem, Inc]*
    DEBUG SMTP: useEhlo true, useAuth false
    DEBUG: SMTPTransport trying to connect to hose "localhost", port 25
    My ISP provider, Windstream, assures me that port 25 is NOT blocked. Also, I've noticed that useAuth is set to false, whereas the posts I have been looking at say true. It would make sense to me for it to be set to true in my case, since my server requires authentication. But how do I do that?
    I found this bit of information from another person's post :
    props.setProperty("mail.smtp.auth", "true");
    you also need an Authenticator like this
    Authenticator auth = new Authenticator() {
    private PasswordAuthentication pwdAuth = new PasswordAuthentication("myaccount", "mypassword");
    protected PasswordAuthentication getPasswordAuthentication() {
    pwdAuth;
    Session session = Session.getDefaultInstance(props, auth);*
    Post located at http://forums.sun.com/thread.jspa?forumID=43&threadID=537461
    From the FAQ section of JavaMail
    Q: When I try to send a message I get an error like SMTPSendFailedException: 530, Address requires authentication.
    A: You need to authenticate to your SMTP server. The package javadocs for the com.sun.mail.smtp package describe several methods to do this. The easiest is often to replace the call Transport.send(msg); with
    String protocol = "smtp";
    props.put("mail." + protocol + ".auth", "true");
    Transport t = session.getTransport(protocol);
    try {
    t.connect(username, password);
    t.sendMessage(msg, msg.getAllRecipients());
    } finally {
    t.close();
    You'll have to supply the appropriate username and password needed by your mail server. Note that you can change the protocol to "smtps" to make a secure connection over SSL.
    One thing I have noticed in the majority of the posts is that useAuth in the tomcat dos prompt should be set to true, and not false. Mine is coming up as false. Also, I think it should be set to true because the ISP's server requires authentication for sending and receiving email.
    Can you please provide me with some input on how to update my program so it will run?
    Thank you in advance:)

    Thank you for replying.
    Per your advice, I made these changes to my code:
    Properties props = new Properties();                                           
    props.setProperty("mail.smtp.auth", "true");               
    props.put("mail.pop3.host", POP3);
    props.put("mail.smtp.host", SMTP);
    Session ssn = Session.getInstance(props, null); The props.setProperty("mail.smtp.auth","true"); is something I found previously to posting my question. I'm assuming this is the line of code that has changed useAuth from false to true...is that correct?
    I'm most pleased to report that with the changes made above, my program works! But is my code good? As soon as I start taking on clients, I will need my code to be reliable, and it needs to work with Dial Up and DSL connections.
    With regards to your question about how I had found the authentication code but hadn't used it. Well, I did try it, again, this was previous to posting my question, and the compiler couldn't compile the program because of this statement - pwdAuth;
    I also tried this code I had found in the JavaMail FAQ section -
    String protocol = "smtp";
    props.put("mail." + protocol + ".auth", "true");
    Transport t = session.getTransport(protocol);
    try {
    t.connect(username, password);
    t.sendMessage(msg, msg.getAllRecipients());
    } finally {
    t.close();
    }But according to the compiler, t.connect(username,password); was not an available method. I checked the documentation and found that to be true. Do you have any suggestions? Looking into the documentation I find that there are 3 methods called connect that are inherited by the Transport class from javax.mail.Service.
    connect()
    connect(java.lang.String host, int port, java.lang.String user, java.lang.String password)
    connect(java.lang.String host, java.lang.String user, java.lang.String password)
    I would opt to try the third connect method, but what would I put for host?
    Thank you for helping me with this issue, I'm not an expert on using the JavaMail package, at least not yet, and I appreciate the help you have provided.

  • My Server requires authentication

    Hi guys
    We have set up SMTP on Exchange front end and only for 5 managers, the server require auhtenticacion via SMTP. How I can set up this on Iphone?, if I use another POP3 such as Outlook Express i haven´t problems because Outlook express show me in the server "tab" the option "my server requires authentication", can someone help me?
    Thanks in advance
    MV

    It started working later, not sure why. So it is possible. I consider this question answered.

  • SMTP relay authentication issue with DynDNS MailHop Outbound

    Hi,
    I'm trying to use the SMTP relay functionality of my OS X Server but I get following log message:
    Apr 4 21:40:21 mydomain postfix/smtp[7629]: 4EE3686F529: to=<xxxx@xxxxx>, relay=outbound.mailhop.org[204.13.248.71]:465, delay=140731, delays=140130/0.06/600/0, dsn=4.4.2, status=deferred (conversation with outbound.mailhop.org[204.13.248.71] timed out while receiving the initial server greeting)
    I configured the relay settings in Server-Admin for host: outbound.mailhop.org:465 and added my dyndns username and password.
    I would appreciate if someone could help me to figure out what I'm missing.
    Thanks

    If you're getting a 550 error then it indicates an issue with the SMTP server you're using / how you're connecting to it. Either the mail server you've got configured for SMTP isn't setup to handle email for you, or in addition to setting the server address
    in the SMTP settings, you also need to configure it to configure authentication on the email accounts. In the account settings you need to select More settings (I think, I don't have an Outlook 2007 copy to check on), then you'll see an Outgoing
    Server tab, within which you can configure the required authentication. It will either be the same as the POP3 login, in which case you can select "Use same settings as my incoming mail server", or if they're different you can enter the specific details that
    are required to send.

  • J2ee security newbie: integrated authentication help

    I am trying to build a set of JSPs/servlets that require authentication and probably authorization. The jsp / sevlets should be able to authenticate against any underlying password system, or should cope with most common systems such as win2k / unix etc. I do not want to force the organisation to build a new database of users / passwords or to type in passwords in clear text in xml files.
    I would preferably like to use form-based authentication to avoid Http basic clear text password sending. This will also allow me to custmize the UI of the login screen.
    The solution should not be container specific. or at least the containers (tomcat + webspehere) should allow for it in their own way.
    After a lot of reseasrch on the web, I cant seem to find an accepted way of doing this. I would like comments on the choices I have made so far and the choices I should be making. Any links to reading material would be helpful. I would like to understand which lower level technologies to depend upon eg LDAP / Kerberos etc. Any help will be appreciated
    TIA,
    Zdz

    Most container come with the ability to put security constraints in the web.xml file.
    Then, you can set up your container to do the authentication (tomcat call this Realm). And there is a JAAS realm that can be configured a little bit like PAM in Unix/Linux.
    There is also a Security Filter around on the net.
    Hope this helps.

  • Send a mail via smtp without authentication

    Hello,
    I'm developping a web application that reports errors or 'strange situations' to the application'a admin with an e-mail message to the address entered in a sort of wizard. I've read some tutorials and actually I'm able to send mail via smtp only with authentication, withouth i get this error: "530, Address requires authentication". How can i send mails without authentication?

    Normally the administrator of those forums is also the administrator of the SMTP server they use, so they configure the server to accept requests from the forum software without authentication.
    If you are running your own SMTP server you can do that too. If you are using somebody else's server you will have to follow their rules. You could always contact the administrator and ask whether you could be made exempt from authentication...

  • App Parts require authentication when using other browsers e.g. Safari on iPad

    Hi all
    I have the SharePoint App Store setup and working correctly and within Internet Explorer I have my App Store domain and my SharePoint domain added as local intranet sites and authentication is not an issue. 
    Is there a way of removing the required authentication on Apps so that I am not prompted for credentials in other browsers, specifically on the iPad using Safari? My iPad can access the SharePoint site fine and can access all information other than apps
    from the app store and I think it is because authentication is required (although it does not prompt me). I feel the apps could work on the iPad as they are just iframes with JS which the iPad can handle. 
    This is all internal, no external access.
    Any help would be greatly appreciated.
    Brendan
    Brendan Lee

    No, there is not. And it is not recommended to place the App Domain in the Intranet Zone (or otherwise automatically pass credentials to the zone) as that poses a security risk.
    Trevor Seward, MCC
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • I can't send mail to the site that required Authenticator

    How can I send mail to the smtp site that required Authenticator,If th smtp site doesn't require Authenticator ,I can send mail.
    My program:
    Properties props=new Properties();
    props.put("smtp","smtp.163.com");
    props.put("auth","true");
    MailUser mu=new MailUser("username","password");
    javax.mail.Session session=javax.mail.Session.getDefaultInstance(props,mu);
    public class MailUser extends Authenticator
    String username;
    String password;
    public MailUser(String us,String ps)
    this.username=us;
    this.password=ps;
    }

    Properties props = System.getProperties();
    props.put("mail.smtp.host", "hiart.co.kr");
    props.put("mail.smtp.auth","true");//auth module....
    session = Session.getDefaultInstance(props,null);
              Date date = new Date();
    msg = new MimeMessage(session);
              System.out.println(from);
    msg.setFrom(new InternetAddress(from+"@hiart.co.kr"));

  • ISP requires authentication for outgoing email

    On my Samsung Droid, my ISP requires authentication for outgoing email.  I don't see this as an option and so all my supposedly sent items are sitting in my Outbox.  Anyone else have this issue?  My Gmail and Hotmail accounts work just fine. Thx

    110/25 or.....
    POP3/IMAPAccount
    ServerType
    Incoming Server
    Incoming Port
    Usesecureserver
    VerifyCert.
    Outgoing Server
    OutgoingPort
    Use secureserver
    VerifyCert.
    Aim.com
    IMAP4
    imap.aim.com
    993 (or 143)
    Yes
    Yes
    smtp.aim.com
    465 (or 587)
    Yes
    Yes
    aol.com
    IMAP4
    imap.aol.com
    993 (or 143)
    Yes
    Yes
    smtp.aol.com
    465 (or 587)
    Yes
    Yes
    Aim.com
    POP3
    pop.aim.com
    995
    Yes
    Yes
    smtp.aim.com
    587
    Yes
    Yes
    aol.com
    POP3
    pop.aol.com
    995
    Yes
    Yes
    smtp.aol.com
    587
    Yes
    Yes
    att.net
    POP3
    pop.att.yahoo.com
    995
    Yes
    Yes
    smtp.att.yahoo.com
    465
    Yes
    Yes
    bellsouth.net
    POP3
    pop.att.yahoo.com
    995
    Yes
    Yes
    smtp.att.yahoo.com
    465
    Yes
    Yes
    charter.net
    IMAP4
    mobile.charter.net
    993
    No
    No
    mobile.charter.net
    587
    No
    No
    charter.net
    POP3
    mail.charterinternet.com
    110
    No
    No
    smtp.charterinternet.com
    25
    No
    No
    comcast.net
    POP3
    mail.comcast.net
    995 (or 110)
    No
    No
    smtp.comcast.net
    587
    No
    No
    cox.net
    POP3
    varies by location
    995 (or 110)
    Yes
    Yes
    varies by location
    587 (or 465)
    No
    No
    earthlink.net
    POP3
    pop.earthlink.net
    110
    No
    No
    smtpauth.earthlink.net
    587 (or 25)
    No
    No
    excite.com
    POP3
    pop3.excite.com
    110
    No
    Yes
    smtp.excite.com
    25 (or 587)
    No
    Yes
    flash.net
    POP3
    pop.att.yahoo.com
    995
    Yes
    Yes
    smtp.att.yahoo.com
    465
    Yes
    Yes
    gmail
    IMAP4
    imap.gmail.com
    993
    Yes
    Yes
    smtp.gmail.com
    465
    Yes
    Yes
    Go Daddy Accounts
    POP3
    pop.secureserver.net
    995 (or 110 w/out Secure connection)
    Yes
    Yes
    smtpout.secureserver.net
    465 (or 25 w/out Secure connection)
    Yes
    Yes
    hotmail
    POP3
    pop3.live.com
    995
    Yes
    Yes
    smtp.live.com
    587
    No
    Yes
    lycos.com
    POP3
    pop.mail.lycos.com
    110
    No
    Yes
    smtp.mail.lycos.com
    25 (or 587)
    No
    Yes
    mac
    IMAP4
    mail.mac.com
    993
    Yes
    Yes
    smtp.mac.com
    25 (or 587)
    No
    No
    me
    IMAP4
    mail.me.com
    993
    Yes
    Yes
    smtp.me.com
    25 (or 587)
    No
    Yes
    mindspring
    POP3
    pop.mindspring.com
    110
    No
    No
    smtpauth.earthlink.net
    587 (or 25)
    No
    No
    msn.com
    POP3
    pop3.live.com
    995
    Yes
    Yes
    smtp.live.com
    587
    No
    Yes
    netzero.net
    POP3
    pop.netzero.com
    110

  • Problems invoking external web page that requires authentication

    We have a web service deployed to OAS 10. This web service needs to be able to open a URL and read the results. This URL requires authentication.
    We have a subclass of Authenticator that provides the user name and password.
    When we run this web service using the debugger from JDeveloper, it works just fine. However, when deployed to the app server, it fails.
    java.io.IOException: Server returned HTTP response code: 401 for URL: http://... at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1149)
    I've stripped out the URL details, but it's invoking a report using Microsoft's SQL Reporting Services.
    If I read the error stream, it indicates that request couldn't be authenticated.
    So, I'm hoping some people here can point me at what's different between the debugger environment and the application server environment. We suspect that it may be related to permissions in a java policy file, or perhaps some other file from which the application server derives its permissions. But our fiddling with these hasn't helped so far.
    So, any ideas as to what went wrong? Ideas on how to open things up so this works?
    Thanks in advance for any help provided.
    BTW, if there's a better forum into which this should be posted, please let me know.

    Greetings,
    401 indicates authentication failure, as you have stated. Once deployed, have you attempted to access the report URL using the uname\pword combination with the strings which are hard-coded in your subclass? You can turn up logging to FINEST and customize what logging on the server returns. Login to your OAS administration portal and review the logging options there. If you start the server from the command line, you can view the output there real-time.
    -Michael

  • Web Services - This WSDL requires authentication credentials. Please supply

    I am trying to access a web service on our network. This is an open service and doesn't require you to log in. I can put the link into IE and the service homepage is shown however when I try to create a new service in APEX I get the error:
    This WSDL requires authentication credentials. Please supply the username and password below.
    I have tried entering my Windows Username and password (the web service is hosted on a windows VM on our network) however this didn't work.
    Anybody know what might be causing this?
    Thanks

    Hello,
    If you enter the name/location of that script in your browser, you'll see the contents (hopefully). Then you can see the name or IP address and port of your proxy. Try these ones first in the APEX setting.
    If that doesn't work, add your (windows) username/password also. The problem is (apart from the evident security issue) that you probably forced to change your windows password every now and then, and you'll forget to change that setting here. As far as I know you can't enter the URL to the script in the APEX proxy property - however...I never tried...
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

Maybe you are looking for

  • Firefox will not re-start without "ending process" with Windows Vista Task Manager.

    Error Message: "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system." Have to start Task Manager and then end firefox.exe process. Thanks all.

  • Oracle 11g R2, CREATE TABLE and QUOTAS

    Hello everyone, I need some insight about a strange behavior I found out in Oracle 11gR2. Don't know if I do miss something or if I just found out a security issue with Oracle. Oracle Version : 11.2.0.1.0 The problem is related with the CREATE TABLE

  • Webdispatcher with Dynamic URL

    Dear SDNers, How can I pass variables to the URL at webdispatcher. I want dnynamic url to be pass to webdispatcher. Is it possible. Please guide me. I searched SDN. But didnt find any clue. Regards, Venkat

  • Main Dial not working in Canon 60D

    I purchased my 60D kit last month. yesterday, I found that the main dial is not working as it should. It rotates left and right, but no effect on the shutter speed or any settings that uses the main dial, i am always using the manual settings, any su

  • LR + Monitor color profile

    I'm using Windows XP and I'm using a Pantone Huey Pro to calibrate my monitor. After the Huey does the calibration routine, it'll load the profile it created and does so every time Windows starts, which I'm guessing is how most calibration systems wo