Liberum Help Desk
The free, open source solution for the web-based help desk.

Admin View Categories - 500 Internal Server Error

rated by 0 users
Answered (Verified) This post has 1 verified answer | 3 Replies | 1 Follower

Top 100 Contributor
3 Posts
sdirc posted on 08-25-2010 12:15 PM

I have version .97.3 installed on a Windows Server 2008 machine.  All admin functions work, except for viewcat.asp, which displays an internal server error?  Has anyone had this problem before? 

I downloaded the application again and replaced the viewcat.asp file, same error.

Answered (Verified) Verified Answer

Top 100 Contributor
3 Posts

Problem resolved.  After looking at the file viewcat.asp and the tblUsers entries, I found that the below query was returning the error because one of the category rep_id values was not found in the sid column of the tblUsers, which was causing it to return an empty recordset.

Set repRes = SQLQuery(cnnDB, "SELECT uid FROM tblUsers WHERE sid=" & rstCategories("rep_id"))

All Replies

Top 10 Contributor
71 Posts

If you're using IE turn off 'show friendly http errors' and you may see something more descriptive of the error.  I haven't used IIS7, I've read the web server may not send detailed error information to the browser without a setting change somewhere, but the error information should be logged somewhere on the server.

 

Doug G

Top 100 Contributor
3 Posts

I'm sorry it took me so long to respond to your reply Doug G.  I tried that but got the same error message.

Top 100 Contributor
3 Posts

Problem resolved.  After looking at the file viewcat.asp and the tblUsers entries, I found that the below query was returning the error because one of the category rep_id values was not found in the sid column of the tblUsers, which was causing it to return an empty recordset.

Set repRes = SQLQuery(cnnDB, "SELECT uid FROM tblUsers WHERE sid=" & rstCategories("rep_id"))

Page 1 of 1 (4 items) | RSS
Copyright © Doug Luxem 2000-2010
Powered by Community Server (Non-Commercial Edition), by Telligent Systems