tracker issue : CF-3529221

select a category, or use search below
(searches all categories and all time range)
Title:

CFEXCHANGECONNECTION fails on password with percent sign.

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/

Reporter/Name(from Bugbase): Tom Hubbard / Tom Hubbard (thubbard29)

Created: 03/25/2013

Components: CFExchange

Versions: 9.0.1

Failure Type: Unspecified

Found In Build/Fixed In Build: 9.0.1 /

Priority/Frequency: Trivial / Some users will encounter

Locale/System: English / Win 2003 Server

Vote Count: 0

Problem Description:

We are experiencing an error when the password used in a call to cfexchangeconnection contains a % symbol.

The error message (which differs from a bad password error message) is:

    Could not log in to the Exchange server.

    Verify server name, username, and password.


The username and passwords are not suspect as we can log into the system with CFLDAP just fine. Further, if we change the password to one that does not have the percent sign the cfexchangeconnection works just fine.  Further still, we can log into the exchange server with the password that contains the % symbol.





Steps to Reproduce:

<cfexchangeconnection
	    action="open"
	    password=""
	    username="myusername"
            protocol="https"
	    mailboxname="myusername@example.com"
	    server="mail.example.com"
	    connection="testconn1"/>



Actual Result:

Error message: 

 Could not log in to the Exchange server.

  Verify server name, username, and password.


Expected Result:

Successful connection.

Any Workarounds:

None.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3529221

External Customer Info:
External Company:  
External Customer Name: wenarun
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

Comments:

It appears that escaping the % with a %25 causes it to work.
Comment by External U.
15916 | March 25, 2013 01:25:44 PM GMT
unable to reproduce the issue on exchange 2010 with CF10 update12. The following works: <CFExchangeConnection action="open" username="#User1#" password="password%" server="#exchange.ip#" protocol="HTTP" serverversion="2010" connection="conn"> <cfdump var="#conn#"> @wenarun, can you confirm the version of Exchange Server you are using and if you are still able to observe the issue with the latest edition of CF.
Comment by Piyush K.
15917 | December 23, 2013 07:26:47 AM GMT
We are on Exchange Server 2007. We are on ColdFusion 9.0.1.
Comment by External U.
15918 | January 09, 2014 09:09:32 AM GMT
The issue exists to an extent with MS exchange server 2007 as well. Say, if the password is "abcd123%" or "abcd123#", it seems that the last char is ignored. So, when logging in (with OWA), both "abcd123%" and "abcd123" work. When using CF, the aggravation is that "abcd123" works but "abcd123%" does not. mainstream support for Exchange 2007 ended in 2012. Ref. http://support.microsoft.com/lifecycle/search/?alpha=Exchange+Server
Comment by Piyush K.
15919 | August 22, 2014 03:01:18 AM GMT
closing this, since the issue seems to be specific to an older version of Exchange. unable to observe the issue in MS Exchange 2010. wenarun, In all likelyhood you have since upgraded to a newer version of Exchange. Please feel free to revert in case you continue to face the issue.
Comment by Piyush K.
15920 | December 03, 2014 06:04:25 AM GMT