function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sukjin YoonSukjin Yoon 

Intermittent GetWebResponse .NET Error

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
Sukjin YoonSukjin Yoon
During my researched, i found that It failes when I get same session ID.
It runs successfully on new SessionID, which I don't have any control over...
Need help!