I'm getting 800a01a8|Object_required:_'Application(...) error when i'm calling the Application object in .ASP page. When i try to create object in .ASP file with Server.CreateObject("MyApplication.WebSession") its working.
Could you please advise am i missing something?
ASP application is hosted on IIS 8.5
ASP Page Code
Set WebSession = Application("WebSession")
Global.asa
Sub Application_OnStart
Set WebSession = Server.CreateObject("MyApplication.WebSession")
End Sub