Home | Advertising Info103 USERS CURRENTLY ONLINE   
   Site Search Contact Us Saturday, May 27, 2017  

User Management Application with web based screens that allow you to manage users.
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.

Try a free httpZip trial now and compress for less!

We didn't realize
the site was so popular.

Other Stuff

Active Server Pages asp source code database MS SQL MS Access .mdb adovbs.inc cookies calendar codes sql commands scripts asp programming tutorials iis web server components CJWSoft ASPProtect ASPBanner ASPClassifieds

(Advanced)  (Components)  (Database)  (General)  (Vbscript)


Subject: OBJECT in global.asa not instantiated
From: Gail Papke
Date: 10/12/1999 12:21:42 PM


I have a problem that objects declared using the <OBJECT> tag in global.asa are not being instantiated. I know that the correct global.asa is running because I have other code in an Application_OnStart procedure that does run. However, when I refer to a declared object in an .ASP file, I get the error "Object required: MyBrowser".

Here is the global.asa:

<OBJECT RUNAT=Server SCOPE=Application ID=oAdmn2000 PROGID="Admn2000.ScsTools">
<OBJECT RUNAT=Server SCOPE=Application ID=myBrowser PROGID="MSWC.BrowserType">
Sub Application_OnStart()
set ifile=Server.CreateObject("Scripting.FileSystemObject")
set file=ifile.OpenTextFile("admncoun.txt",1,TRUE)
if lcCount<>"" then
end if
set ifile= nothing
set file = nothing
End Sub

Here is the ASP code to use an object, which generates the "Object required" error:

browser is <%=myBrowser.browser%>

I know the global.asa runs because the admncoun.txt file gets created. Any clues as to why I cant refer to the objects?

Gail Papke
Second City Software


   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright 1998 - 2017 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages what is asp programming how to sample asp example code scripts software asp forum mail sessions applications global.asa CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com