#1
  1. No Profile Picture
    Registered User
    ASP Explorer (0 - 99 posts)

    Join Date
    Dec 2012
    Posts
    4
    Rep Power
    0

    Microsoft VBScript runtime error '800a01a8'


    I'm typically a java developer but was asked to "tweak" a small ASP app my organization has. It basically accepts user input into a form and then emails the data. In my sendmail.asp form I set a session attribute (Session("emailText") = message) and then redirect to page printResults.asp. That page is basically an HTML page with a single line of VBScript code at line 21: <% Response.Write(Session.Contents("emailText")) %>

    This all works on my local IIS server but when I deployed it to the host server to test & demo it I got this error:

    Microsoft VBScript runtime
    error '800a01a8'
    Object required: ''
    /sub3/printResults.asp, line 21

    Since I am new to ASP I have no clue why this would work locally but not on the host server. Any ideas or suggestions would be most helpful.
  2. #2
  3. Moderator
    ASP Super Hero (2500 - 2999 posts)

    Join Date
    Dec 2006
    Location
    West London, UK
    Posts
    2,715
    Rep Power
    932
    Is the host an IIS server or Apache or other?

    What is on line 21 of PrintResults.asp as this may give us clues as to the cause of the error.
    Hope this advice helps.

    If so please show your appreciation by adding reputation points (click the Give Rep button on the bottom bar of the post).

    - Post your code - Post your errors - Be clear - Be courteous -

    AND PLEASE...Finalise your thread with a solution or confirmation that the last advice worked or failed.

    Visit My ASP Free Members Club Profile
  4. #3
  5. No Profile Picture
    Registered User
    ASP Explorer (0 - 99 posts)

    Join Date
    Dec 2012
    Posts
    4
    Rep Power
    0
    I had put what is on line 21 in the original post. That line is " <% Response.Write(Session.Contents("emailText")) %>". As for the server on the host it's an IIS server. I don't know if it's version 6 or 7. I think I stumbled on to the problem though. I think the issue is that session state is disabled on the host server. When I disabled it on my local IIS server I was able to duplicate the problem. I still have to verify that but I'm confident that is the issue.

Similar Threads

  1. Microsoft VBScript runtime error '800a01a8'
    By JEAN PIERRE in forum ASP Development
    Replies: 2
    Last Post: December 21st, 2009, 03:50 AM
  2. Microsoft VBScript runtime error '800a01a8'
    By sindhu_dixit in forum ASP Development
    Replies: 3
    Last Post: July 17th, 2008, 02:16 PM
  3. Microsoft VBScript runtime error '800a01a8'
    By smokethisgt in forum ASP Development
    Replies: 2
    Last Post: February 28th, 2005, 11:36 PM
  4. Microsoft VBScript runtime error '800a01a8'
    By ajjones in forum ASP Development
    Replies: 2
    Last Post: January 18th, 2005, 01:25 PM
  5. Microsoft VBScript runtime error '800a01a8'
    By kiteeShek in forum ASP Development
    Replies: 1
    Last Post: February 22nd, 2004, 06:23 PM

IMN logo majestic logo threadwatch logo seochat tools logo