an exception occurred in the client script while clicking on save button

Hi Team

We have an application in which there is an expenses tab from where the users can fill the expenses requests.Users are accessing this application externally also.But sometimes while clicking on save button the external users are getting the below error:-

"an exception occurred in the client script.Error:the connection to the server was reset"

The same website when accessed in office is not causing any issue.

I have checked that the method for Save button is Ajax Submit.Is this the cause of this issue?

Hi Divya,

This happens only occasionally?
What are you doing in the action itself? Just a Create Or Update?
Are you finishing with a download node (than should be a Submit, not Ajax)?
Do you have any other custom JavaScript logic in your page?

If this happens only once in a while, this seems like a timeout issue, more related to network problems than anything else, if this happens only for "external" users (not in your servers network).

Cheers.


Hi 

1.)This happens only occasionally?

We have asked this information from the user.

2.)What are you doing in the action itself? Just a Create Or Update?

SaveOrSubmit button is there.

Firstly,form validations are being checked .like-date of voucher,injury date,file is attached or not(attachment validation is checked when the status is submitted),currency validation then createorupdate expenses action is used.Then Jsonserialise and then notify is being used.

The issue is coming when clicking on Save button.

3.)Are you finishing with a download node (than should be a Submit, not Ajax)?

No

4.)Do you have any other custom JavaScript logic in your page?

I guess no.But How I can check this?

Hi Divya,

  If possible will geta OML, think this is not only because of button action.

may due to security.


Thanks,

Manikandan K


Eduardo Jauch wrote:

Hi Divya,

This happens only occasionally?
What are you doing in the action itself? Just a Create Or Update?
Are you finishing with a download node (than should be a Submit, not Ajax)?
Do you have any other custom JavaScript logic in your page?

If this happens only once in a while, this seems like a timeout issue, more related to network problems than anything else, if this happens only for "external" users (not in your servers network).

Cheers.


I have got the reply from the user :-

1.)Is this issue coming sometimes or every time when a new expense is saved.

I tried couple of times and did not work. Not planning on trying every day for couple of times.

2.)Only some users are facing this issue or everyone is facing this issue on-board.

I’m the only one at the moment using app.