• 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
   
ErrHandler:

    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
ErrHandler:

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

0
princeatapi
Asked:
princeatapi
  • 2
1 Solution
 
Springy555Commented:
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.
0
 
princeatapiAuthor Commented:
Springy555:

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

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