|
|
|
|
|
| | |
|
Active Server Pages ASP a directory of ASP tutorials applications scripts components and articles for the novice to professional developer. CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Application variables & Database objects |
From: |
Joacim Jacobsson |
Date: |
1/4/2000 2:31:11 PM |
IP: |
130.243.14.185 |
Hi!
Ok, in global.asa Application_OnStart i have the following code:
Set Application("DataBase") = Server.CreateObject("ADODB.Connection")
Application("DataBase").open "StarLight"
Now, on an IIS5 (windows 2k pro) this runs just fine, but on an NT 4.0 I get the following error:
"Cannot add object with apartment model behavior to the application intrinsic object."
The question is, why? :) Isent that supposed to work? |
|
|
|
|
|
|
|
|
|
|
|
|