[SOLVED] Â Edit not working when using search to display records |
10/15/2012 8:34:18 AM |
ASPRunnerPro General questions | |
G
gdmacdo author
I a table, ODR_v2, and a SQL view, StuSchool, and they are inner joined by StudentID to ENRKSTDT. This is so the Student's demographic data is displayed. |
|
![]() |
Sergey Kornilov admin 10/15/2012 |
As a first step you need to configure your IIS to returned detailed error message to the browser. This is the article that can help: |
G
|
gdmacdo author 10/16/2012 |
Thank you. The error returned is: As a first step you need to configure your IIS to returned detailed error message to the browser. This is the article that can help: http://www.iis.net/learn/application-frameworks/running-classic-asp-applications-on-iis-7-and-iis-8/classic-asp-script-error-messages-no-longer-shown-in-web-browser-by-default Once you get to the actual error message post it here. |
![]() |
Sergey Kornilov admin 10/16/2012 |
It looks like your query takes long time to execute causing SQL Server timeout. Here is the article that explains how to print all executed queries on the web page: |
G
|
gdmacdo author 10/17/2012 |
First, the debug option is awesome. It will help me fix some Active Directory issues. This is what I receive on the time out: It looks like your query takes long time to execute causing SQL Server timeout. Here is the article that explains how to print all executed queries on the web page: http://xlinesoft.com/asprunnerpro/docs/debugging_tips.htm |
![]() |
Sergey Kornilov admin 10/17/2012 |
You need to run all those queries manually to find which one may take long time to execute. Then you need to find a way to speed up this query i.e. add indexes etc. |
G
|
gdmacdo author 10/18/2012 |
2 good things in one day. First, it turned out to be a bad index. I deleted the indexes and re-added them and it solved the problem. I appreciate being pointed in the right direction. You need to run all those queries manually to find which one may take long time to execute. Then you need to find a way to speed up this query i.e. add indexes etc. |