Server side processing with vbscript

Server side processing with vbscript

alreadygonealreadygone Posts: 4Questions: 0Answers: 0
edited March 2013 in DataTables 1.9
Hi everyone.
I am using datatables in classic asp. I would like to use server side processing for loading the table with data. I found this link and http://www.datatables.net/development/server-side/asp_classic and I change only the names, the queries and the connection to the db. Data is being loaded ok, but when I click to the last page of data I am receiving a message proccessing until forever. After that if I try to reload the page I am receiving an error
"A trappable error (C0000005) occurred in an external object ajax" .

Search is working ok.Also I select to show me all the results (which are less tha 100) the data are loaded ok.
Could you please help me?
Thanks

Replies

  • alreadygonealreadygone Posts: 4Questions: 0Answers: 0
    I tried the sample table that it is used in the examples and it is working pretty good. However if I use my table it is not working. If I don't use server side processing it is working also good. FInally I notice that always is crashing at tha the third page!
    Thanks
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    I'm afraid I can't help. That script was provided by a community member and ASP Classic is not something I know much about. I'd suggest checking what is actually being returned from the server and debug from there.

    If you do need to make any changes to the script, any feedback on what needs to be fixed in it would be helpful so others can also benefit from it.

    Allan
  • alreadygonealreadygone Posts: 4Questions: 0Answers: 0
    Thanks for the answer.
    I managed to make it work (I can uploaded it to a later point). But now I am having problems with Json. I have (buttons, href,redirection with js) single quotes, double quotes and even a dropdown list in the tables. This was really easy when I was working with html tables and datatables.
    Is there any option that I can I use again tables instead of Json with server side processing?
    Thanks
This discussion has been closed.