- Total Members: 220,321
- Threads: 525,398
- Posts: 977,016
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
#1
500 Internal Server Error
Hi,
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:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!--#include file="Connections/smbd_connection.asp" -->
<%
Dim Recordset1
Dim Recordset1_numRows
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.Open()
Recordset1_numRows = 0
%>
<%
Dim Repeat1__numRows
Dim Repeat1__index
Repeat1__numRows = 10
Repeat1__index = 0
Recordset1_numRows = Recordset1_numRows + Repeat1__numRows
thanks,
classic_asp
-
February 6th, 2013, 04:28 AM
#2
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.
Similar Threads
-
By fusion1 in forum .NET Development
Replies: 0
Last Post: June 24th, 2011, 07:54 AM
-
By harooniq in forum Microsoft IIS
Replies: 9
Last Post: October 25th, 2007, 04:06 AM
-
By baotho in forum ASP Development
Replies: 2
Last Post: November 2nd, 2004, 02:42 AM
-
By vic2000 in forum Microsoft SQL Server
Replies: 4
Last Post: September 20th, 2003, 10:52 AM
-
By Steve Schofield in forum ASP Development
Replies: 0
Last Post: February 16th, 2001, 09:07 AM