Jump to content

'server unavailable,please try later ' popup often,what's the reason?


Recommended Posts

Posted

I use a unidbgrid,a unidbmemo,a unihtmlframe,a query dataset from mysql,when unidbgrid row changes,the data in the dataset will be update to unidbmemo and unihtmlframe,if I just query the data,everything seems ok,but when I edit the data in the unidbmemo,and update to dataset and unihtmlframe

,'server unavailable,please try later ' error popup often,but not every time.

someone can help me?thanks!

 

my envis:

delphi xe2

unigui 0.95.10046

 

 

 

Posted

It seems that you must have an id ( integer) for your dataset , an update query and a refresh query using that id.

Even if the id is not visible in the grid. Otherwise the DBGrid behaves eratically.

  • Administrators
Posted

"server unavailable,please try later"

 

It shows that your server side code does not respond before AjaxTimeout interval. Either increase AjaxTimeout or find out why server side operation takes that long.

Posted

but I set AjaxTimeout=300000,is 5 minutes.I find that if I post normal text,it often works good, but post texts that contain html tokens ,it offen fails,and popup "server unavailable,please try later"

error.After then,any operations on the browser just get error again.

And before post,I have encode the texts that contain html tokens using js function esacpae.

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...