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.

Thread: 500 Internal Server Error

Results 1 to 2 of 2
Share This Thread →
  1. #1
    classic_asp is offline Registered User
    Join Date
    Feb 2013
    Rep Power

    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" -->
    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_numRows = 0
    Dim Repeat1__numRows
    Dim Repeat1__index

    Repeat1__numRows = 10
    Repeat1__index = 0
    Recordset1_numRows = Recordset1_numRows + Repeat1__numRows



  2. #2
    SoftwareMatters is offline Contributing User
    Join Date
    May 2009
    Somerset, UK
    Rep Power
    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.


    Software matters - Bespoke Access Database Design and Development

Share This Thread →

Become Part of This Conversation

Join NowFor Free!

Similar Threads

  1. Replies: 0
    Last Post: June 24th, 2011, 07:54 AM
  2. IIS Internal Server 500 Error
    By harooniq in forum Microsoft IIS
    Replies: 9
    Last Post: October 25th, 2007, 04:06 AM
  3. Replies: 2
    Last Post: November 2nd, 2004, 02:42 AM
  4. Internal server error 500
    By vic2000 in forum Microsoft SQL Server
    Replies: 4
    Last Post: September 20th, 2003, 10:52 AM
  5. WAP and ASP(internal server error 500)
    By Steve Schofield in forum ASP Development
    Replies: 0
    Last Post: February 16th, 2001, 09:07 AM

ASP Free Advertisers and Affiliates