Click to See Complete Forum and Search --> : No help from pure ASP discussion board :(


gangelo
November 2nd, 2005, 12:18 PM
:( I created a COM object. All is fine, until line 37...please help!

Error Type:
Microsoft VBScript runtime (0x800A01A8)
Object required: 'Application(...)'
/PMCAS/global.asa, line 37



...
Line 33 Set UserInfo = Server.CreateObject("PMCASObjects.UserInfo")
Line 34 UserInfo.Name = "My Name"
Line 35 UserInfo.Email = "my.email@us.army.mil"
Line 36 Application("WEBMASTER") = UserInfo
Line 37 Application("WEBMASTER_EMAIL") = Application("WEBMASTER").Email
...

HanneSThEGreaT
November 3rd, 2005, 02:59 AM
It seems like your Application object doesn't Exist Anymore :eek:

Here's a bit more info on Object required (http://www.aspfaq.com/show.asp?id=2283)

Can you perhaps include more code ¿

gangelo
November 3rd, 2005, 03:41 PM
Noting more to share really. This all takes place in the Global.asa. The code above and below does not reference any of the objects you see in the snippet.

mmetzger
November 3rd, 2005, 04:23 PM
Try just using UserInfo.Email instead of accessing the Application object. There may be some odd race condition / etc going on.