Hi,
I'm getting this error on my asp page intermittently. One day it is fine,
another day, it crashes a lot. I have searched the web and microsoft on
this and they say it is a recordset assigned to a session variable.
I dont assign any record sets to session variables in my code. I assign
values to the session variables though.
The place it seems to crash is Set AccessConn =
Server.CreateOb ject("ADODB.Con nection")
code:
connstr = "Provider=Micro soft.Jet.OLEDB. 4.0;Data Source=" &
Server.mapPath( "EmployeeTransa ctions.mdb")
Set AccessConn = Server.CreateOb ject("ADODB.Con nection")
AccessConn.open connstr
'get session("loc") to see if they are allowed to update records
lloc = session("sploct ype")
loccode = session("sploca tiondesc")
'Determining the ability to access update records
if lloc = "School" then
accessupdate = 0
else
accessupdate = 1
end if
Set rs = Server.CreateOb ject("ADODB.Rec ordset")
sql = "select emprecid, employeeno, employeelastnam e, employeefirstna me,
iif(isnull(hrst atus),' ',h rstatus) as hrstatus,
iif(isnull(hrda te),' ',hrd ate) as hrdate,
iif(isnull(budg etstatus),'&nbs p',budgetstatus ) as budgetstatus,
iif(isnull(budg etdate),' ' ,budgetdate) as budgetdate," & _
" iif(isnull(payr ollstatus),'&nb sp',payrollstat us) as payrollstatus,
iif(isnull(payr olldate),'  ',payrolldate) as payrolldate,
iif(isnull(bene fitdate),'  ',benefitdate) as benefitdate,
iif(isnull(crea tedby),' ', createdby) as createdby,
iif(isnull(proc essstatus),'&nb sp',processstat us) as processstatus,
employeetype, location from employeetransac tion "
'we only display the records for the school location otherwise, we display
all for departments
if lloc="School" then
sql = sql & " where location = '" & loccode & "' and
((EmployeeTrans action.PayrollD ate >=(date()-30)) OR
(Isnull([EmployeeTransac tion].[PayrollDate])<> FALSE)) order by emprecid
desc "
else
sql = sql & " where ((EmployeeTrans action.PayrollD ate >= (date()-30)) OR
(Isnull([EmployeeTransac tion].[PayrollDate])<>FALSE)) order by emprecid desc
"
end if
set rs = AccessConn.exec ute(sql)
Any ideas??
thanks,
Will 14 11125
Several suggestions.
(a) don't use Server.CreateOb ject, just CreateObject
(b) what is set rs = Server.CreateOb ject("ADODB.Rec ordset") for? You
override it later with set rs = AccessConn.exec ute(sql) ... I also changed
"AccessConn " to a more standard "Conn"...
(c) don't do presentation things (replace null with " ") in the query.
Do that where it belongs, in the presentation tier! Wherever you have a
value coming back from the resultset that needs to be at least " ", use
the function I wrote below called sb (showblanks). Or, just response.write
rs("column") & " " ... it makes your query much easier to read, doesn't
it?
(d) make sure you close and destroy both the recordset object and the
connection object after you're done.
connstr = "Provider=Micro soft.Jet.OLEDB. 4.0;Data Source=" &
Server.mapPath( "EmployeeTransa ctions.mdb")
Set Conn = CreateObject("A DODB.Connection ")
Conn.open connstr
'get session("loc") to see if they are allowed to update records
lloc = session("sploct ype")
loccode = session("sploca tiondesc")
'Determining the ability to access update records
accessupdate = 1
if lloc = "School" then accessupdate = 0
sql = "SELECT emprecid, employeeno, employeelastnam e, employeefirstna me,
hrstatus, hrdate, budgetstatus, budgetdate, payrollstatus, payrolldate,
benefitdate, createdby, processstatus, employeetype, location FROM
employeetransac tion "
' we only display the records for the school location
' otherwise, we display all for departments
if lloc="School" then
sql = sql & " where location = '" & loccode & "' and
((EmployeeTrans action.PayrollD ate >=(date()-30)) OR
(Isnull([EmployeeTransac tion].[PayrollDate])<> FALSE)) order by emprecid
desc "
else
sql = sql & " where ((EmployeeTrans action.PayrollD ate >= (date()-30)) OR
(Isnull([EmployeeTransac tion].[PayrollDate])<>FALSE)) order by emprecid desc
"
end if
set rs = Conn.execute(sq l)
....
response.write sb(rs("hrstatus "))
function sb(s)
sb = s : if len(trim(sb)) = 0 then sb = " "
end function
rs.close: set rs = nothing
conn.close: set conn = nothing
-- http://www.aspfaq.com/
(Reverse address to reply.)
"wk6pack" <wk***@sd61.bc. ca> wrote in message
news:ed******** ******@TK2MSFTN GP09.phx.gbl... Hi,
I'm getting this error on my asp page intermittently. One day it is fine, another day, it crashes a lot. I have searched the web and microsoft on this and they say it is a recordset assigned to a session variable.
I dont assign any record sets to session variables in my code. I assign values to the session variables though. The place it seems to crash is Set AccessConn = Server.CreateOb ject("ADODB.Con nection")
code:
connstr = "Provider=Micro soft.Jet.OLEDB. 4.0;Data Source=" & Server.mapPath( "EmployeeTransa ctions.mdb") Set AccessConn = Server.CreateOb ject("ADODB.Con nection") AccessConn.open connstr
'get session("loc") to see if they are allowed to update records lloc = session("sploct ype") loccode = session("sploca tiondesc")
'Determining the ability to access update records if lloc = "School" then accessupdate = 0 else accessupdate = 1 end if
Set rs = Server.CreateOb ject("ADODB.Rec ordset") sql = "select emprecid, employeeno, employeelastnam e, employeefirstna me, iif(isnull(hrst atus),' ',h rstatus) as hrstatus, iif(isnull(hrda te),' ',hrd ate) as hrdate, iif(isnull(budg etstatus),'&nbs p',budgetstatus ) as budgetstatus, iif(isnull(budg etdate),' ' ,budgetdate) as budgetdate," & _ " iif(isnull(payr ollstatus),'&nb sp',payrollstat us) as payrollstatus, iif(isnull(payr olldate),'  ',payrolldate) as payrolldate, iif(isnull(bene fitdate),'  ',benefitdate) as benefitdate, iif(isnull(crea tedby),' ', createdby) as createdby, iif(isnull(proc essstatus),'&nb sp',processstat us) as processstatus, employeetype, location from employeetransac tion "
'we only display the records for the school location otherwise, we display all for departments if lloc="School" then sql = sql & " where location = '" & loccode & "' and ((EmployeeTrans action.PayrollD ate >=(date()-30)) OR (Isnull([EmployeeTransac tion].[PayrollDate])<> FALSE)) order by emprecid desc " else sql = sql & " where ((EmployeeTrans action.PayrollD ate >= (date()-30))
OR (Isnull([EmployeeTransac tion].[PayrollDate])<>FALSE)) order by emprecid
desc " end if set rs = AccessConn.exec ute(sql)
Any ideas?? thanks, Will
Aaron [SQL Server MVP] wrote: Several suggestions.
(a) don't use Server.CreateOb ject, just CreateObject
(b) what is set rs = Server.CreateOb ject("ADODB.Rec ordset") for? You override it later with set rs = AccessConn.exec ute(sql) ... I also changed "AccessConn " to a more standard "Conn"...
(c) don't do presentation things (replace null with " ") in the query. Do that where it belongs, in the presentation tier!
I do this in my query when I want to use GetString.
Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
How many people are hitting the site? Any time there are "intermitte nt"
errors that are Access database related, I'd say that they are often related
to concurrency issues and Access not being able/meant to handle lots of
connections.
As far as the code you included below, I'd drop the Set rs =
Server.CreateOb ject("ADODB.Rec ordset") line. What you're doing is creating
an empty recordset there, and then on the Set rs = AccessConn.Exec ute(sql)
line, you're destroying the recordset and creating a new one. So, it's a
microsecond of extra processing time there.
Also, instead of doing all that IsNull stuff in your query, I suggest
dropping all of that. What you can do instead is:
....
sql = "select emprecid, employeeno, employeelastnam e,
employeefirstna me,hrstatus,
hrdate,budgetst atus,budgetdate ,payrollstatus, payrolldate,ben efitdate,create dby,,processsta tus,
employeetype, location from employeetransac tion "
....
And then, after you get your recordset back, use .GetRows to dump the
recordset into an array. (Then quickly close and destroy your recordset and
ado connection!) With the GetRows method, you can convert all the nulls to
as such:
Set rs = AccessConn.Exec ute(sSQL)
If Not rs.EOF Then aData = rs.GetRows(2,,, " ")
If you aren't sure what to do with the aData array then or haven't used
GetRows before and would like to know more about it, just post back here.
Ray at work
"wk6pack" <wk***@sd61.bc. ca> wrote in message
news:ed******** ******@TK2MSFTN GP09.phx.gbl...
Set rs = Server.CreateOb ject("ADODB.Rec ordset") sql = "select emprecid, employeeno, employeelastnam e, employeefirstna me, iif(isnull(hrst atus),' ',h rstatus) as hrstatus, iif(isnull(hrda te),' ',hrd ate) as hrdate, iif(isnull(budg etstatus),'&nbs p',budgetstatus ) as budgetstatus, iif(isnull(budg etdate),' ' ,budgetdate) as budgetdate," & _ " iif(isnull(payr ollstatus),'&nb sp',payrollstat us) as payrollstatus, iif(isnull(payr olldate),'  ',payrolldate) as payrolldate, iif(isnull(bene fitdate),'  ',benefitdate) as benefitdate, iif(isnull(crea tedby),' ', createdby) as createdby, iif(isnull(proc essstatus),'&nb sp',processstat us) as processstatus, employeetype, location from employeetransac tion "
'we only display the records for the school location otherwise, we display all for departments if lloc="School" then sql = sql & " where location = '" & loccode & "' and ((EmployeeTrans action.PayrollD ate >=(date()-30)) OR (Isnull([EmployeeTransac tion].[PayrollDate])<> FALSE)) order by emprecid desc " else sql = sql & " where ((EmployeeTrans action.PayrollD ate >= (date()-30)) OR (Isnull([EmployeeTransac tion].[PayrollDate])<>FALSE)) order by emprecid desc " end if set rs = AccessConn.exec ute(sql)
thanks for the great suggestions. I'll try them and see what happens.
Will
"Aaron [SQL Server MVP]" <te*****@dnartr eb.noraa> wrote in message
news:OE******** ******@TK2MSFTN GP11.phx.gbl... Several suggestions.
(a) don't use Server.CreateOb ject, just CreateObject
(b) what is set rs = Server.CreateOb ject("ADODB.Rec ordset") for? You override it later with set rs = AccessConn.exec ute(sql) ... I also changed "AccessConn " to a more standard "Conn"...
(c) don't do presentation things (replace null with " ") in the
query. Do that where it belongs, in the presentation tier! Wherever you have a value coming back from the resultset that needs to be at least " ",
use the function I wrote below called sb (showblanks). Or, just
response.write rs("column") & " " ... it makes your query much easier to read,
doesn't it?
(d) make sure you close and destroy both the recordset object and the connection object after you're done.
connstr = "Provider=Micro soft.Jet.OLEDB. 4.0;Data Source=" & Server.mapPath( "EmployeeTransa ctions.mdb") Set Conn = CreateObject("A DODB.Connection ") Conn.open connstr
'get session("loc") to see if they are allowed to update records lloc = session("sploct ype") loccode = session("sploca tiondesc")
'Determining the ability to access update records accessupdate = 1 if lloc = "School" then accessupdate = 0
sql = "SELECT emprecid, employeeno, employeelastnam e, employeefirstna me, hrstatus, hrdate, budgetstatus, budgetdate, payrollstatus, payrolldate, benefitdate, createdby, processstatus, employeetype, location FROM employeetransac tion "
' we only display the records for the school location ' otherwise, we display all for departments
if lloc="School" then sql = sql & " where location = '" & loccode & "' and ((EmployeeTrans action.PayrollD ate >=(date()-30)) OR (Isnull([EmployeeTransac tion].[PayrollDate])<> FALSE)) order by emprecid desc " else sql = sql & " where ((EmployeeTrans action.PayrollD ate >= (date()-30))
OR (Isnull([EmployeeTransac tion].[PayrollDate])<>FALSE)) order by emprecid
desc " end if
set rs = Conn.execute(sq l)
... response.write sb(rs("hrstatus "))
function sb(s) sb = s : if len(trim(sb)) = 0 then sb = " " end function
rs.close: set rs = nothing conn.close: set conn = nothing
-- http://www.aspfaq.com/ (Reverse address to reply.)
"wk6pack" <wk***@sd61.bc. ca> wrote in message news:ed******** ******@TK2MSFTN GP09.phx.gbl... Hi,
I'm getting this error on my asp page intermittently. One day it is
fine, another day, it crashes a lot. I have searched the web and microsoft on this and they say it is a recordset assigned to a session variable.
I dont assign any record sets to session variables in my code. I assign values to the session variables though. The place it seems to crash is Set AccessConn = Server.CreateOb ject("ADODB.Con nection")
code:
connstr = "Provider=Micro soft.Jet.OLEDB. 4.0;Data Source=" & Server.mapPath( "EmployeeTransa ctions.mdb") Set AccessConn = Server.CreateOb ject("ADODB.Con nection") AccessConn.open connstr
'get session("loc") to see if they are allowed to update records lloc = session("sploct ype") loccode = session("sploca tiondesc")
'Determining the ability to access update records if lloc = "School" then accessupdate = 0 else accessupdate = 1 end if
Set rs = Server.CreateOb ject("ADODB.Rec ordset") sql = "select emprecid, employeeno, employeelastnam e, employeefirstna me, iif(isnull(hrst atus),' ',h rstatus) as hrstatus, iif(isnull(hrda te),' ',hrd ate) as hrdate, iif(isnull(budg etstatus),'&nbs p',budgetstatus ) as budgetstatus, iif(isnull(budg etdate),' ' ,budgetdate) as budgetdate," & _ " iif(isnull(payr ollstatus),'&nb sp',payrollstat us) as payrollstatus, iif(isnull(payr olldate),'  ',payrolldate) as payrolldate, iif(isnull(bene fitdate),'  ',benefitdate) as benefitdate, iif(isnull(crea tedby),' ', createdby) as createdby, iif(isnull(proc essstatus),'&nb sp',processstat us) as processstatus, employeetype, location from employeetransac tion "
'we only display the records for the school location otherwise, we
display all for departments if lloc="School" then sql = sql & " where location = '" & loccode & "' and ((EmployeeTrans action.PayrollD ate >=(date()-30)) OR (Isnull([EmployeeTransac tion].[PayrollDate])<> FALSE)) order by emprecid desc " else sql = sql & " where ((EmployeeTrans action.PayrollD ate >=
(date()-30)) OR (Isnull([EmployeeTransac tion].[PayrollDate])<>FALSE)) order by emprecid desc " end if set rs = AccessConn.exec ute(sql)
Any ideas?? thanks, Will
Hi Ray,
I've got at least 30 people hitting the site to enter data into the Access
database.
I've never used .GetRows before. I would like to know more about it.
thanks,
Will
"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:eo******** ******@TK2MSFTN GP15.phx.gbl... How many people are hitting the site? Any time there are "intermitte nt" errors that are Access database related, I'd say that they are often
related to concurrency issues and Access not being able/meant to handle lots of connections.
As far as the code you included below, I'd drop the Set rs = Server.CreateOb ject("ADODB.Rec ordset") line. What you're doing is
creating an empty recordset there, and then on the Set rs = AccessConn.Exec ute(sql) line, you're destroying the recordset and creating a new one. So, it's a microsecond of extra processing time there.
Also, instead of doing all that IsNull stuff in your query, I suggest dropping all of that. What you can do instead is:
... sql = "select emprecid, employeeno, employeelastnam e, employeefirstna me,hrstatus,
hrdate,budgetst atus,budgetdate ,payrollstatus, payrolldate,ben efitdate,create d
by,,processstat us, employeetype, location from employeetransac tion " ...
And then, after you get your recordset back, use .GetRows to dump the recordset into an array. (Then quickly close and destroy your recordset
and ado connection!) With the GetRows method, you can convert all the nulls
to as such:
Set rs = AccessConn.Exec ute(sSQL) If Not rs.EOF Then aData = rs.GetRows(2,,, " ")
If you aren't sure what to do with the aData array then or haven't used GetRows before and would like to know more about it, just post back here.
Ray at work
"wk6pack" <wk***@sd61.bc. ca> wrote in message news:ed******** ******@TK2MSFTN GP09.phx.gbl...
Set rs = Server.CreateOb ject("ADODB.Rec ordset") sql = "select emprecid, employeeno, employeelastnam e, employeefirstna me, iif(isnull(hrst atus),' ',h rstatus) as hrstatus, iif(isnull(hrda te),' ',hrd ate) as hrdate, iif(isnull(budg etstatus),'&nbs p',budgetstatus ) as budgetstatus, iif(isnull(budg etdate),' ' ,budgetdate) as budgetdate," & _ " iif(isnull(payr ollstatus),'&nb sp',payrollstat us) as payrollstatus, iif(isnull(payr olldate),'  ',payrolldate) as payrolldate, iif(isnull(bene fitdate),'  ',benefitdate) as benefitdate, iif(isnull(crea tedby),' ', createdby) as createdby, iif(isnull(proc essstatus),'&nb sp',processstat us) as processstatus, employeetype, location from employeetransac tion "
'we only display the records for the school location otherwise, we
display all for departments if lloc="School" then sql = sql & " where location = '" & loccode & "' and ((EmployeeTrans action.PayrollD ate >=(date()-30)) OR (Isnull([EmployeeTransac tion].[PayrollDate])<> FALSE)) order by emprecid desc " else sql = sql & " where ((EmployeeTrans action.PayrollD ate >= (date()-30)) OR (Isnull([EmployeeTransac tion].[PayrollDate])<>FALSE)) order by emprecid desc " end if set rs = AccessConn.exec ute(sql)
http://www.aspfaq.com/2467
-- http://www.aspfaq.com/
(Reverse address to reply.)
"wk6pack" <wk***@sd61.bc. ca> wrote in message
news:#E******** ******@TK2MSFTN GP14.phx.gbl... Hi Ray,
I've got at least 30 people hitting the site to enter data into the Access database.
I've never used .GetRows before. I would like to know more about it.
thanks, Will
"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in message news:eo******** ******@TK2MSFTN GP15.phx.gbl... How many people are hitting the site? Any time there are "intermitte nt" errors that are Access database related, I'd say that they are often related to concurrency issues and Access not being able/meant to handle lots of connections.
As far as the code you included below, I'd drop the Set rs = Server.CreateOb ject("ADODB.Rec ordset") line. What you're doing is creating an empty recordset there, and then on the Set rs =
AccessConn.Exec ute(sql) line, you're destroying the recordset and creating a new one. So, it's
a microsecond of extra processing time there.
Also, instead of doing all that IsNull stuff in your query, I suggest dropping all of that. What you can do instead is:
... sql = "select emprecid, employeeno, employeelastnam e, employeefirstna me,hrstatus,
hrdate,budgetst atus,budgetdate ,payrollstatus, payrolldate,ben efitdate,create d by,,processstat us, employeetype, location from employeetransac tion " ...
And then, after you get your recordset back, use .GetRows to dump the recordset into an array. (Then quickly close and destroy your recordset and ado connection!) With the GetRows method, you can convert all the nulls to as such:
Set rs = AccessConn.Exec ute(sSQL) If Not rs.EOF Then aData = rs.GetRows(2,,, " ")
If you aren't sure what to do with the aData array then or haven't used GetRows before and would like to know more about it, just post back
here. Ray at work
"wk6pack" <wk***@sd61.bc. ca> wrote in message news:ed******** ******@TK2MSFTN GP09.phx.gbl...
Set rs = Server.CreateOb ject("ADODB.Rec ordset") sql = "select emprecid, employeeno, employeelastnam e,
employeefirstna me, iif(isnull(hrst atus),' ',h rstatus) as hrstatus, iif(isnull(hrda te),' ',hrd ate) as hrdate, iif(isnull(budg etstatus),'&nbs p',budgetstatus ) as budgetstatus, iif(isnull(budg etdate),' ' ,budgetdate) as budgetdate," & _ " iif(isnull(payr ollstatus),'&nb sp',payrollstat us) as payrollstatus, iif(isnull(payr olldate),'  ',payrolldate) as payrolldate, iif(isnull(bene fitdate),'  ',benefitdate) as benefitdate, iif(isnull(crea tedby),' ', createdby) as createdby, iif(isnull(proc essstatus),'&nb sp',processstat us) as processstatus, employeetype, location from employeetransac tion "
'we only display the records for the school location otherwise, we
display all for departments if lloc="School" then sql = sql & " where location = '" & loccode & "' and ((EmployeeTrans action.PayrollD ate >=(date()-30)) OR (Isnull([EmployeeTransac tion].[PayrollDate])<> FALSE)) order by
emprecid desc " else sql = sql & " where ((EmployeeTrans action.PayrollD ate >=
(date()-30)) OR (Isnull([EmployeeTransac tion].[PayrollDate])<>FALSE)) order by
emprecid desc " end if set rs = AccessConn.exec ute(sql)
Aaron [SQL Server MVP] wrote: I do this in my query when I want to use GetString.
Why? GetString() supports NullExpr (which allow you to specify " " or something else for any value that is Null). http://msdn.microsoft.com/library/en...ordset)ado.asp
It's not to replace Nulls.
In one instance, I do it pad hard spaces between pieces of data to simulate
columns in a SELECT. (so it will display say company number and company name
in columns in the SELECT) - I also concatenate all the OPTION tags in the
query as well (gasp!)
There's nothing like a simple
Response.Write rs.GetString
to reduce the amount of code on a page. This also cuts down on the number of
include files. This dropdown box is used in quite a few pages in which I
would have to #include the asp page to create the same option list that is
coming from my stored procedure. I see no point to doing this merely to
satisfy a theoretical "presentati on layer-data layer" division. Using such a
division is supposed to improve my codes maintainability , not reduce it.
Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
GetRows returns a two-dimensional array, where the first dimension
represents the columns in the recordset, and the second dimension represents
the rows, so to speak. So, if you had a query like:
"select firstname,lastn ame from people"
And you dumped that to an array with .GetRows, you'd iterate through it as
such:
<%
For i = 0 To UBound(aData, 2) '<-- the UBound of the second dimension
'''since the rows are in the second dimension
'''you want to loop through the number of times
'''as there are "records" in it.
Response.Write "Firstname = " & aData(0,i) & "<br>"
Response.Write "Lastname = " & aData(1,i) & "<hr>"
Next
%>
So, if you're used to working with arrays, it's just like having an array
like:
Dim someArray(1,5)
someArray(0,0) = "Bob" : someArray(1,0) = "Smith"
someArray(0,1) = "Ted" : someArray(1,1) = "Jones"
someArray(0,2) = "Jen" : someArray(1,2) = "Giles"
someArray(0,3) = "Kim" : someArray(1,3) = "Baron"
someArray(0,4) = "Ned" : someArray(1,4) = "Heinz"
someArray(0,5) = "Gus" : someArray(1,5) = "Baker"
Ray at work
"wk6pack" <wk***@sd61.bc. ca> wrote in message
news:%2******** ********@TK2MSF TNGP14.phx.gbl. .. Hi Ray,
I've got at least 30 people hitting the site to enter data into the Access database.
I've never used .GetRows before. I would like to know more about it.
thanks, Will This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Som |
last post by:
A clients website is a combination of ASP pages and COM/COM+ objects -
The following errors are being reported. Once this happens on the
server the entire
script engine fails... we have to restart IIS then after sometime the
error
reoccurs. We have tried to debug using Adplus/CDB - attaching some
stack traces below - is this because of errors in the external COM
object - any thoughts would be gratly appreciated.
|
by: Dean J. Garrett |
last post by:
Hello,
The periodic error below keeps coming up and causing our server to crash.
Once it happens, the only way to recover is to issue an IISRESET or reboot.
We've updating the scripting engine, and database engine. The ASP code is
connecting to an Access database. Is there anything that can be done about
this? It happens several times a week. Thank you.
---------------
Error: Script Engine Exception. A ScriptEngine threw expection...
|
by: gregory_may |
last post by:
I have an application I created called "JpegViewer.exe". It simply loads a
Jpeg file and displays in on the screen. It works great, in my lab.
When I am using it at a customer site, things change. Occasionally, it
blows up with an Application Exception. It seems to only die at the
customer site
|
by: David Lozzi |
last post by:
Hello,
I'm receving the following on my webserver (Windows 2003 Server SP1)
Event ID: 5
Source: Active Server Pages
Error: File /KQShopping/ordercomplete4.asp Script Engine Exception. A ScriptEngine threw exception 'C0000005' in 'IActiveScriptParse::ParseScriptText()' from 'CActiveScriptEngine::AddScriptlet()'..
Event ID: 5
Source: Active Server Pages
|
by: Vasuki |
last post by:
Hi
My application crashes all of a sudden giving me the following error.
Can anybody help please?
Exception code: C0000005 ACCESS_VIOLATION
Fault address: 77FCE005 03:00002005 C:\WINNT\system32\ntdll.dll
EAX:17020000 EBX:16400000 ECX:0000037F EDX:00000020 ESI:04120000 EDI:16FA0AD8
CS:EIP:001B:77FCE005 SS:ESP:0023:0012F3AC EBP:0012F3E4 DS:0023 ES:0023
| |
by: news |
last post by:
..Net 2.0
Hi, I'm getting a nullreferenceexception when calling a function from a
worker thread:
private void CallbackProc(string response, Exception ex)
{
if (this.InvokeRequired)
{
this.Invoke(new MyCallback(CallbackProc), new object {
|
by: Lynn Zou |
last post by:
In our system , we use an ASP page to upload files but sometimes it doesnot
work
as it suppose to do and we found error log in Application Error as:
Event Type: Error
Event Source: Active Server Pages
Event Category: None
Event ID: 5
Date: 11/27/2006
Time: 9:17:08 AM
|
by: amitpatil |
last post by:
I am having trouble with following error. there are few registration page when i register 2 members it works but when i try to create 3rd one i get following error and then for 10 mins or so website doesn't work. After 10 mins or so everything works till i do 3rd member's registration and again that error comes.
Error Type:
Active Server Pages error 'ASP 0115'
Unexpected error
|
by: pedrito |
last post by:
I've got an app that downloads from several concurrent threads.
Occasionally, I get an expcetion trying to read the HttpWebResponse
stream...
Sorry, the code isn't short, but I figured best to provide the whole method.
This is run within its own thread. "Job" is a class that receives the
information about the downloaded pages. The exception happens on the read
where it says "EXCEPTION HERE"
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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 we have to send another system
| |