• Sukjin Yoon
  • NEWBIE
  • 0 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
Hello Salesforce Community.
i have developed a interface that calls UPSERT and I am getting intermittent unhandled exception.
It would literally work just fine, when ran manually, but it fails when I schedule the job.
Even when I schedule, failure is not consistent. 

Any Ideas?

Following event is captured from windows.

Application: FusionUpload.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Net.WebException
Stack:
   at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(System.Net.WebRequest)
   at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(System.Net.WebRequest)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(System.String, System.Object[])
   at FusionUpload.FusionWebReference.SforceService.upsert(System.String, FusionUpload.FusionWebReference.sObject[])
   at FusionUpload.UploadEmployeeInfo.UpsertKeyContact()
   at FusionUpload.UploadEmployeeInfo.run()
   at FusionUpload.UploadEmployeeInfo.Main(System.String[])


Faulting application name: FusionUpload.exe, version: 1.0.0.0, time stamp: 0x5a67bc59
Faulting module name: KERNELBASE.dll, version: 6.1.7601.24000, time stamp: 0x5a4996d4
Exception code: 0xe0434352
Fault offset: 0x0000c54f
Faulting process id: 0x2060
Faulting application start time: 0x01d3949de59db691
Faulting application path: E:\Fusion\FusionUpload.exe
Faulting module path: C:\WINDOWS\syswow64\KERNELBASE.dll
Report Id: 2905bfb1-0091-11e8-9e59-0050569c7324
Hello Salesforce Community.
i have developed a interface that calls UPSERT and I am getting intermittent unhandled exception.
It would literally work just fine, when ran manually, but it fails when I schedule the job.
Even when I schedule, failure is not consistent. 

Any Ideas?

Following event is captured from windows.

Application: FusionUpload.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Net.WebException
Stack:
   at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(System.Net.WebRequest)
   at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(System.Net.WebRequest)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(System.String, System.Object[])
   at FusionUpload.FusionWebReference.SforceService.upsert(System.String, FusionUpload.FusionWebReference.sObject[])
   at FusionUpload.UploadEmployeeInfo.UpsertKeyContact()
   at FusionUpload.UploadEmployeeInfo.run()
   at FusionUpload.UploadEmployeeInfo.Main(System.String[])


Faulting application name: FusionUpload.exe, version: 1.0.0.0, time stamp: 0x5a67bc59
Faulting module name: KERNELBASE.dll, version: 6.1.7601.24000, time stamp: 0x5a4996d4
Exception code: 0xe0434352
Fault offset: 0x0000c54f
Faulting process id: 0x2060
Faulting application start time: 0x01d3949de59db691
Faulting application path: E:\Fusion\FusionUpload.exe
Faulting module path: C:\WINDOWS\syswow64\KERNELBASE.dll
Report Id: 2905bfb1-0091-11e8-9e59-0050569c7324

I've gotten maybe 10 of these from an integration we have that simply pulls Contract records from production.  Iv'e had these one and off (maybe like 1 every 10 days) for a couple months, but this morning I've gotten just a landslide.    Using reflector, the endpoint I'm pointing to currently (in the app config) is: "https://www.salesforce.com/services/Soap/u/16.0".  

 

Is there something change that I missed or something like that with Salesforce connectivity?  Thanks. 

 

Machine: CSMSIIS1

Date: 2/19/2010 8:12:40 AM

Type: System.Net.WebException

Assembly: CSG.MSI.Contracts.SFDCWrapper, CSG.MSI.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null

Codebase: file:///C:/Program Files/Metastorm BPM/Engine/dotnetbin/CSG.MSI.Contracts.DLL

Message: The underlying connection was closed: An unexpected error occurred on a receive.

Source: CSG.MSI.Contracts

Stacktrace:    at CSG.MSI.Contracts.SFDCWrapper.ExecuteSOQL(String soql) in C:\Documents and Settings\bryang\Desktop\CSG.MSI.Contracts\CSG.MSI.Contracts\DAL\Util\SFDCWrapper.vb:line 127

   at CSG.MSI.Contracts.SFDCContractMapper.SelectMultipleInternal(String SOQL) in C:\Documents and Settings\bryang\Desktop\CSG.MSI.Contracts\CSG.MSI.Contracts\DAL\Data\Mappers\SFDCContractMapper.vb:line 77

   at CSG.MSI.Contracts.SFDCContractMapper.Select(String id) in C:\Documents and Settings\bryang\Desktop\CSG.MSI.Contracts\CSG.MSI.Contracts\DAL\Data\Mappers\SFDCContractMapper.vb:line 25

   at CSG.MSI.Contracts.ContractStatus.GetContractStatus(String contractid) in C:\Documents and Settings\bryang\Desktop\CSG.MSI.Contracts\CSG.MSI.Contracts\BLL\ContractStatus.vb:line 6

   at CSG.MSI.Contracts.Contract.GetContractStatus(String contractId) in C:\Documents and Settings\bryang\Desktop\CSG.MSI.Contracts\CSG.MSI.Contracts\Contracts.vb:line 6

Exception Custom Data: 

SOQL Statement = SELECT Id, AccountId, OwnerId, Status, Opportunity__c, Contract_Status__c, Contract_Begin_Date__c, Contract_Type__c  FROM Contract  WHERE Id = 'XXXXXXX'  

 

Any ideas would be most welcome.  Thanks.