473,513 Members | 2,334 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

global.asa intermittent firing


Hi,

Problem with global.asa not firing 100% of the time. This error crops
up several times throughout the day but if you wait a while and reload
the page (could be 5 mins or an hour) it will suddenly start working
again.

The error is:
ADODB.Recordset error '800a0bb9'
Arguments are of the wrong type, are out of acceptable range, or are in
conflict with one another.
/footer.asp, line 101

Line 101 in the footer.asp file reads:
InnovationRS.Open sql, Application("AnymousConnection")

I believe that bad code would produce a persistent error message. The
application would either work, or generate an error 100% of the time,
not be intermittent. The error is now appearing 3 or 4 times a day with
different users reporting it, but like I said, if you wait a while and
refresh the page, it is working again.

I had one guy tell me that the "Driver={SQL Server};...." connection
string is not good for SQL, but I have seen it used all over the place,
and again, why would it work intermittently. It either connects to the
DB or not.

Does anyone know the cause of the global.asa being read intermittently.
The guys at the datacenter say its a coding issue, but I can find no
problem with the code. Any information or knowledge would be helpful,
and greatly appreciated.

Here is my global.asa contents.
Code:
--------------------

SCRIPT LANGUAGE=VBScript RUNAT=Server

Sub Application_OnStart

''''''''''''''''''''''''''''''''''
'''''''DATABASE SECTION'''''''''''
'Database connection string
Application("AnymousConnection") = "Driver={SQL Server}; Server=mssql.megasqlservers.com; Database=mssql_anymous_com; UID=dbm.anymous.com; PWD=badulla"
''''''''''''''''''''''''''''''''''

''''''''''''''''''''''''''''''''''
'''''''PATHS SECTION''''''''''''''
'Secure site URL
Application("SecureSiteURL") = "https://www.anymous.com"
''''''''''''''''''''''''''''''''''

''''''''''''''''''''''''''''''''''
'''''''EMAIL SECTION''''''''''''''
'Support Email
Application("SupportEmail") = "an*****@anymous.com"

'Support VIHN Email
Application("SupportVIHNEmail") = "an*****@anymous.com"

'Webmaster Email
Application("WebMasterEmail") = "we*******@anymous.com"

'Technical Service Email
Application("TechServEmail") = "te******@anymous.com"

'Administrative Email
Application("AdminEmail") = "an*****@anymous.com"

'Anymous.com email
Application("AnymousCom") = "an*****@anymous.com"
''''''''''''''''''''''''''''''''''

''''''''''''''''''''''''''''''''''
'''''''MISC SECTION'''''''''''''''
'Support Name
Application("SupportName") = "Anymous Laboratories"
''''''''''''''''''''''''''''''''''

''''''''''''''''''''''''''''''''''
'''''''PASSWORDS SECTION''''''''''
'Password for US prices
Application("A") = "123456"

'Password for English prices
Application("B") = "7891011"

'Password for German prices
Application("C") = "12131415"
''''''''''''''''''''''''''''''''''

End Sub

Sub Session_OnStart

'Session_OnStart body should go here

End Sub

Sub Session_OnEnd

'Session_OnEnd body should go here

End Sub

/SCRIPT

--------------------


--
bloodhound
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

Jul 22 '05 #1
1 1997
io
G'day bloodhound,

Is it *footer.asp* only that comes up with that error? If yes, the chances
are that the guys at the datacentre may be right, unless this is the only
page that uses ADODB.

"bloodhound" <bl***************@mail.codecomments.com> wrote in message
news:bl***************@mail.codecomments.com...

Hi,

Problem with global.asa not firing 100% of the time. This error crops
up several times throughout the day but if you wait a while and reload
the page (could be 5 mins or an hour) it will suddenly start working
again.

The error is:
ADODB.Recordset error '800a0bb9'
Arguments are of the wrong type, are out of acceptable range, or are in
conflict with one another.
/footer.asp, line 101

Line 101 in the footer.asp file reads:
InnovationRS.Open sql, Application("AnymousConnection")

I believe that bad code would produce a persistent error message. The
application would either work, or generate an error 100% of the time,
not be intermittent. The error is now appearing 3 or 4 times a day with
different users reporting it, but like I said, if you wait a while and
refresh the page, it is working again.

I had one guy tell me that the "Driver={SQL Server};...." connection
string is not good for SQL, but I have seen it used all over the place,
and again, why would it work intermittently. It either connects to the
DB or not.

Does anyone know the cause of the global.asa being read intermittently.
The guys at the datacenter say its a coding issue, but I can find no
problem with the code. Any information or knowledge would be helpful,
and greatly appreciated.

Here is my global.asa contents.
Code:
--------------------

SCRIPT LANGUAGE=VBScript RUNAT=Server

Sub Application_OnStart

''''''''''''''''''''''''''''''''''
'''''''DATABASE SECTION'''''''''''
'Database connection string
Application("AnymousConnection") = "Driver={SQL Server}; Server=mssql.megasqlservers.com; Database=mssql_anymous_com;
UID=dbm.anymous.com; PWD=badulla" ''''''''''''''''''''''''''''''''''

''''''''''''''''''''''''''''''''''
'''''''PATHS SECTION''''''''''''''
'Secure site URL
Application("SecureSiteURL") = "https://www.anymous.com"
''''''''''''''''''''''''''''''''''

''''''''''''''''''''''''''''''''''
'''''''EMAIL SECTION''''''''''''''
'Support Email
Application("SupportEmail") = "an*****@anymous.com"

'Support VIHN Email
Application("SupportVIHNEmail") = "an*****@anymous.com"

'Webmaster Email
Application("WebMasterEmail") = "we*******@anymous.com"

'Technical Service Email
Application("TechServEmail") = "te******@anymous.com"

'Administrative Email
Application("AdminEmail") = "an*****@anymous.com"

'Anymous.com email
Application("AnymousCom") = "an*****@anymous.com"
''''''''''''''''''''''''''''''''''

''''''''''''''''''''''''''''''''''
'''''''MISC SECTION'''''''''''''''
'Support Name
Application("SupportName") = "Anymous Laboratories"
''''''''''''''''''''''''''''''''''

''''''''''''''''''''''''''''''''''
'''''''PASSWORDS SECTION''''''''''
'Password for US prices
Application("A") = "123456"

'Password for English prices
Application("B") = "7891011"

'Password for German prices
Application("C") = "12131415"
''''''''''''''''''''''''''''''''''

End Sub

Sub Session_OnStart

'Session_OnStart body should go here

End Sub

Sub Session_OnEnd

'Session_OnEnd body should go here

End Sub

/SCRIPT

--------------------


--
bloodhound
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

Jul 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
4737
by: rwalker | last post by:
Error number 429 - COM object with CLSID {000209F0-0000-0000-C000-000000000046} is either not valid or not registered. Intermittent occurance of this error. Using Word.Global to run word macro...
3
2314
by: Steve Mauldin | last post by:
This is a standard ASP application that has several pages at the root withthe global.asa. I set a session variable session("accountid") = "123456" within an asp page and then response.redirect to...
12
10625
by: qaz | last post by:
For some reason my global.asa file is not firing. I have it located in the root of my website (e.g., wwwroot\mywebsite\global.asa) and I have the web site configured as an "application" in IIS. ...
6
1746
by: Bob Darlington | last post by:
I have an Access XP app running over TS with Windows 2000 Server. There are 5 sites (each with 3 or 4 users) accessing the data file, and each has its own front end mde on the server. The mde's...
4
11933
by: Max | last post by:
I've noticed some procedures don't run in the global.asax when you'd expect them to. I've rebuilt and set break points, but Application_Start just isn't firing today. Is there some configuration...
0
20465
by: nycers_developer | last post by:
Error number 429 - COM object with CLSID {000209F0-0000-0000-C000-000000000046} is either not valid or not registered. Intermittent occurance of this error. Using Word.Global to run word macro...
19
10160
by: furiousmojo | last post by:
This is a strange problem. I have a project where the contents of global.asax application_error are not firing. It is an asp.net 2.0 application using web application projects. I have another...
4
10251
by: Joe | last post by:
Hello all! I added a Global.asax to my application. I'm using the Application_BeginRequest event. Everything works fine in my development enviorment but when I publish the web site the...
0
7545
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7111
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7539
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5095
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4751
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3240
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3228
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1605
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
807
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.