• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 831
  • Last Modified:

error '800a01a8' Object required

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 ??

  • 2
1 Solution
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.
princeatapiAuthor Commented:

Ive already done this  , still no use
princeatapiAuthor Commented:
I found my Own Solution By Enabling "Allow IIS Instinct Policy"

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now