Great community. Great ideas.
Welcome to ASP/Free, a community dedicated to helping beginners and professionals alike in improving their knowledge of Microsoft's development and administration technologies. Sign up today to gain access to the combined insight of tens of thousands of members.
February 2nd, 2013, 09:57 PM
500 Internal Server Error
I uploaded my website on a web hosting and after uploading it's displaying the error message 500 Internal Server Error. On my computer running windows xp and ii2 the pages are working and the ms access database. This is the portion of the asp code:
<!--#include file="Connections/smbd_connection.asp" -->
Set Recordset1 = Server.CreateObject("ADODB.Recordset")
Recordset1.ActiveConnection = MM_smbd_connection_STRING
Recordset1.Source = "SELECT * FROM d001 WHERE category = 'Dog Accessories' ORDER BY brand"
Recordset1.CursorType = 0
Recordset1.CursorLocation = 2
Recordset1.LockType = 1
Recordset1_numRows = 0
Repeat1__numRows = 10
Repeat1__index = 0
Recordset1_numRows = Recordset1_numRows + Repeat1__numRows
February 6th, 2013, 04:28 AM
If you switch off the 'friendly' error messages you may see which line the error is on which will help you debug - see this link: How do I fix "Internal Server Error 500" when running my ASP pages?
My guess on the error is probably caused when connecting to the Access database. Either the path or your permissions.
By fusion1 in forum .NET Development
Last Post: June 24th, 2011, 07:54 AM
By harooniq in forum Microsoft IIS
Last Post: October 25th, 2007, 04:06 AM
By baotho in forum ASP Development
Last Post: November 2nd, 2004, 02:42 AM
By vic2000 in forum Microsoft SQL Server
Last Post: September 20th, 2003, 10:52 AM
By Steve Schofield in forum ASP Development
Last Post: February 16th, 2001, 09:07 AM