Discussions
- General Development
- Schema Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules
- Security
- Mobile
- Force.com Sites & Site.com
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby
- Desktop Integration
- APIs and Integrations
- Visual Workflow
- Apple, Mac and OS X
- VB and Office Development
- AppExchange Directory & Packaging
- Salesforce Labs & Open Source Projects
- Other Salesforce Applications
- Jobs Board
- Force.com Discussion Boards
- :
- Developer Boards for Force.com and Database.com
- :
- Perl, PHP, Python & Ruby Development
- :
- UNKNOWN_EXCEPTION: on SetPassword call
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
UNKNOWN_EX CEPTION: on SetPasswor d call
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-29-2012 09:18 AM
We are experiencing some UNKNOWN_EXCEPTION issues in soem cases when our partners are trying to rest thier password . Have a Php Porral where our partners login for the salesforce PRM and do teh deal registration.
We have a funtionality where Partner can clink of forget password to reset their password. Below is teh code snippet is beinged to make teh call to salesforce for setting partner user password.
Calls made to salesforce
define("SOAP_CLIENT_BASEDIR", "sites/all/libraries/salesforce/toolkit/soapclient
$sf_info = salesforce_info(); // gets our credentials
require_once (SOAP_CLIENT_BASEDIR.'/SforceEnterpriseClient.php'
$mySforceConnection = new SforceEnterpriseClient();
$mySoapClient = $mySforceConnection->createConnection(SOAP_CLIENT_
$mylogin = $mySforceConnection->login($sf_info['username'], $sf_info['password']);
$mySforceConnection->setPassword($sf['sf_user_id']
Most of the cases it works for us. but in some cases , we are getting below exception
"UNKNOWN_EXCEPTION: An unexpected error occurred. Please include this ErrorId if you contact support: 277723604-12236 (2099002656) in SoapClient->__call()"
Any one has experienced similar problem , can through some lights ?
I have also created a ticket with Salesforce for help and I am trying to extend the post for anyone in the developer forum can help here.
Thanks
Himanshu

