error '800a01a8'   Object required

Posted on 2009-12-28
Last Modified: 2012-08-13
Hello Experts ,

My Application worked fine until it was with IIS after moving my application to IIS 7 (64 Bit ) things turns upside down

It reports me with an  error '800a01a8'   Object required

here is my code

Private Function ReadSessionID()

On Error GoTo ErrHandler:

    Const METHOD_NAME As String = "ReadSessionID"
    ReadSessionID = myObjectContext.Item(REQUEST_OBJECT).Cookies(mySessionPersistence.SessionID)
    Exit Function

    Err.Raise Err.Number, METHOD_NAME & ":" & Err.Source, Err.Description

End Function

Private Sub Class_Initialize()

On Error GoTo ErrHandler:

    Const METHOD_NAME As String = "Class_Initialize"
    Set mySessionPersistence = New SessionPersistence
    'Set myObjectContext = GetObjectContext()
    mySessionID = ReadSessionID()
    myDSNString = GetConnectionDSN()
    myTimeOut = GetSessionTimeOut()
    myIsNewSession = False

    Err.Raise Err.Number, METHOD_NAME & ":" & Err.Source, Err.Description

End Sub

Upon Execution of above code throws me
Class_Initialize:ReadSessionID:YcSession error '800a01a8'

Object required !

Whats wrong with this session objects ??

Question by:princeatapi
    LVL 13

    Expert Comment

    Try changing the application pool to enable 32bit applications.

    Right click the application pool your website is using, select advances settings.

    Do an IISRESET after changing this.
    LVL 11

    Author Comment


    Ive already done this  , still no use
    LVL 11

    Accepted Solution

    I found my Own Solution By Enabling "Allow IIS Instinct Policy"

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Suggested Solutions

    I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
    Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now