473,287 Members | 1,927 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

DLLHOST.EXE Errors & "Ajax"

I've been extensively modifying a web application (ASP, COM+) to take
advantage of the XMLHTTP object for asynchronous requests (e.g. Ajax) on my
dev machine (Win2KPro). I test the application from another machine on the
network (or using IE, Firefox, etc. on the same machine). Everything seems
to work fine (no errors anywhere) and the web application is snappy as
intended. However, at the end of the day when I turn off my dev machine,
many hours sometimes after I test the web app, right before it shut downs I
get an error message about DLLHOST.EXE, something about an attempt to
address something with the address location listed in hex. I don't get much
time to read it before it shuts down. And about half the time when I get
this error the night before, the hard disk is checked for data integrity the
next morning on boot-up.

I'm reluctant to move this web application to a production server with
something going wrong consistently with DLLHOST.EXE and these asynchronous
requests (that seem to be completed each time). I've checked the system
error logs and they don't show anything specific to DLLHOST at the time of
shutdown or any time else.

Can someone educate me as to what these errors mean? And how to find out
what is going on so I can fix it? Thanks.
Jul 22 '05 #1
8 5997
Try running IISRESET and see if you get the same error message (it may stay
around longer).

Do you have any custom components in use?

Are you setting the intrinsic objects (request, response, etc) into local
variables? If so set them to nothing before the page or component method
ends.

--
--Mark Schupp
"Don Miller" <no****@nospam.com> wrote in message
news:ei**************@TK2MSFTNGP09.phx.gbl...
I've been extensively modifying a web application (ASP, COM+) to take
advantage of the XMLHTTP object for asynchronous requests (e.g. Ajax) on
my
dev machine (Win2KPro). I test the application from another machine on the
network (or using IE, Firefox, etc. on the same machine). Everything seems
to work fine (no errors anywhere) and the web application is snappy as
intended. However, at the end of the day when I turn off my dev machine,
many hours sometimes after I test the web app, right before it shut downs
I
get an error message about DLLHOST.EXE, something about an attempt to
address something with the address location listed in hex. I don't get
much
time to read it before it shuts down. And about half the time when I get
this error the night before, the hard disk is checked for data integrity
the
next morning on boot-up.

I'm reluctant to move this web application to a production server with
something going wrong consistently with DLLHOST.EXE and these asynchronous
requests (that seem to be completed each time). I've checked the system
error logs and they don't show anything specific to DLLHOST at the time of
shutdown or any time else.

Can someone educate me as to what these errors mean? And how to find out
what is going on so I can fix it? Thanks.

Jul 22 '05 #2
> Try running IISRESET and see if you get the same error message (it may
stay
around longer).
Good idea. Would I have to use the command line or can I reset IIS with the
IIS tools (Restart IIS...)
Do you have any custom components in use?
About 20, and one third-party component. They've all been in use for about 5
years without this particular error. I'm moving the new stuff (ajax) to
another Win2K machine and see if the error pops up again. But the fact that
it only shows up when I shut down puzzles me.
Are you setting the intrinsic objects (request, response, etc) into local
variables? If so set them to nothing before the page or component method
ends.


I haven't put any objects at all into local variables (I thought that was a
generally bad thing to do)

Thanks for the help.
Jul 22 '05 #3
"Mark Schupp" <no******@email.net> wrote in message
news:eP**************@TK2MSFTNGP12.phx.gbl...
Try running IISRESET and see if you get the same error message (it may stay around longer).


I reset IIS manually and the DLLHOST error message did come up! I tried
pressing the No button to debug but nothing happened.

Does this mean anything to anybody? It certainly seems that this is related
to IIS now.
Jul 22 '05 #4
Here's more information that I'm hoping someone will know about. When I
restarted IIS, now I got an application popup message in Event Viewer that
has the text of the DLLHOST error message I get:

Application popup: dllhost.exe - Application Error : The instruction at
"0x779db683" referenced memory at "0x749f18e8". The memory could not be
"read".

Click on OK to terminate the program
Click on CANCEL to debug the program

Would this kind of error have anything to do with my programming?

"Don Miller" <no****@nospam.com> wrote in message
news:uP**************@TK2MSFTNGP14.phx.gbl...
"Mark Schupp" <no******@email.net> wrote in message
news:eP**************@TK2MSFTNGP12.phx.gbl...
Try running IISRESET and see if you get the same error message (it may stay
around longer).


I reset IIS manually and the DLLHOST error message did come up! I tried
pressing the No button to debug but nothing happened.

Does this mean anything to anybody? It certainly seems that this is

related to IIS now.

Jul 22 '05 #5
Don,

We had similar errors with our application for a long time (they were
considered a "nuisance" and not a reason for concern). We finally had time
to track them down. In our case they were caused by setting the intrinsic
objects (request, response, etc) into global variables within our custom
DLLs so that internal code would have access to them. The problem was fixed
by setting the variables to "nothing" in the Class_Terminate() method of the
DLL (VB dlls). IIRC the problem did not show up until one of the Windows
2000 service packs.

--
--Mark Schupp
"Don Miller" <no****@nospam.com> wrote in message
news:OJ**************@tk2msftngp13.phx.gbl...
Here's more information that I'm hoping someone will know about. When I
restarted IIS, now I got an application popup message in Event Viewer
that
has the text of the DLLHOST error message I get:

Application popup: dllhost.exe - Application Error : The instruction at
"0x779db683" referenced memory at "0x749f18e8". The memory could not be
"read".

Click on OK to terminate the program
Click on CANCEL to debug the program

Would this kind of error have anything to do with my programming?

"Don Miller" <no****@nospam.com> wrote in message
news:uP**************@TK2MSFTNGP14.phx.gbl...
"Mark Schupp" <no******@email.net> wrote in message
news:eP**************@TK2MSFTNGP12.phx.gbl...
> Try running IISRESET and see if you get the same error message (it may

stay
> around longer).


I reset IIS manually and the DLLHOST error message did come up! I tried
pressing the No button to debug but nothing happened.

Does this mean anything to anybody? It certainly seems that this is

related
to IIS now.


Jul 22 '05 #6
Thanks for the tip. I do set instrinsic objects to local variables (not
global) in my VB dlls and set them to nothing for the last five years. I'll
have to look again at any new code (that I can't think of when I used these
objects). Haven't done a service pack in a while - just those monthly
updates from MS.

"Mark Schupp" <no******@email.net> wrote in message
news:eW*************@TK2MSFTNGP10.phx.gbl...
Don,

We had similar errors with our application for a long time (they were
considered a "nuisance" and not a reason for concern). We finally had time
to track them down. In our case they were caused by setting the intrinsic
objects (request, response, etc) into global variables within our custom
DLLs so that internal code would have access to them. The problem was fixed by setting the variables to "nothing" in the Class_Terminate() method of the DLL (VB dlls). IIRC the problem did not show up until one of the Windows
2000 service packs.

--
--Mark Schupp
"Don Miller" <no****@nospam.com> wrote in message
news:OJ**************@tk2msftngp13.phx.gbl...
Here's more information that I'm hoping someone will know about. When I
restarted IIS, now I got an application popup message in Event Viewer
that
has the text of the DLLHOST error message I get:

Application popup: dllhost.exe - Application Error : The instruction at
"0x779db683" referenced memory at "0x749f18e8". The memory could not be
"read".

Click on OK to terminate the program
Click on CANCEL to debug the program

Would this kind of error have anything to do with my programming?

"Don Miller" <no****@nospam.com> wrote in message
news:uP**************@TK2MSFTNGP14.phx.gbl...
"Mark Schupp" <no******@email.net> wrote in message
news:eP**************@TK2MSFTNGP12.phx.gbl...
> Try running IISRESET and see if you get the same error message (it may stay
> around longer).

I reset IIS manually and the DLLHOST error message did come up! I tried
pressing the No button to debug but nothing happened.

Does this mean anything to anybody? It certainly seems that this is

related
to IIS now.



Jul 22 '05 #7
Thanks again Mark. After using the DebuDiag tool from MS and with help from
a MS support person in the IIS newsgroup, this was exactly the cause of the
issue. Apparently this bug (that was addressed in SP4) affected local
intrinsic objects as well (although the "bug" did enforce good programming
practices).

"Mark Schupp" <no******@email.net> wrote in message
news:eW*************@TK2MSFTNGP10.phx.gbl...
Don,

We had similar errors with our application for a long time (they were
considered a "nuisance" and not a reason for concern). We finally had time
to track them down. In our case they were caused by setting the intrinsic
objects (request, response, etc) into global variables within our custom
DLLs so that internal code would have access to them. The problem was fixed by setting the variables to "nothing" in the Class_Terminate() method of the DLL (VB dlls). IIRC the problem did not show up until one of the Windows
2000 service packs.

--
--Mark Schupp
"Don Miller" <no****@nospam.com> wrote in message
news:OJ**************@tk2msftngp13.phx.gbl...
Here's more information that I'm hoping someone will know about. When I
restarted IIS, now I got an application popup message in Event Viewer
that
has the text of the DLLHOST error message I get:

Application popup: dllhost.exe - Application Error : The instruction at
"0x779db683" referenced memory at "0x749f18e8". The memory could not be
"read".

Click on OK to terminate the program
Click on CANCEL to debug the program

Would this kind of error have anything to do with my programming?

"Don Miller" <no****@nospam.com> wrote in message
news:uP**************@TK2MSFTNGP14.phx.gbl...
"Mark Schupp" <no******@email.net> wrote in message
news:eP**************@TK2MSFTNGP12.phx.gbl...
> Try running IISRESET and see if you get the same error message (it may stay
> around longer).

I reset IIS manually and the DLLHOST error message did come up! I tried
pressing the No button to debug but nothing happened.

Does this mean anything to anybody? It certainly seems that this is

related
to IIS now.



Jul 25 '05 #8
So, after installing SP4 and all rollups and setting all instrinsic ASP
objects to nothing in my COM+ object, the problem recurred. Any more
thoughts?

"Don Miller" <no****@nospam.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Thanks again Mark. After using the DebuDiag tool from MS and with help from a MS support person in the IIS newsgroup, this was exactly the cause of the issue. Apparently this bug (that was addressed in SP4) affected local
intrinsic objects as well (although the "bug" did enforce good programming
practices).

"Mark Schupp" <no******@email.net> wrote in message
news:eW*************@TK2MSFTNGP10.phx.gbl...
Don,

We had similar errors with our application for a long time (they were
considered a "nuisance" and not a reason for concern). We finally had time
to track them down. In our case they were caused by setting the intrinsic objects (request, response, etc) into global variables within our custom
DLLs so that internal code would have access to them. The problem was

fixed
by setting the variables to "nothing" in the Class_Terminate() method of

the
DLL (VB dlls). IIRC the problem did not show up until one of the Windows
2000 service packs.

--
--Mark Schupp
"Don Miller" <no****@nospam.com> wrote in message
news:OJ**************@tk2msftngp13.phx.gbl...
Here's more information that I'm hoping someone will know about. When I restarted IIS, now I got an application popup message in Event Viewer
that
has the text of the DLLHOST error message I get:

Application popup: dllhost.exe - Application Error : The instruction at "0x779db683" referenced memory at "0x749f18e8". The memory could not be "read".

Click on OK to terminate the program
Click on CANCEL to debug the program

Would this kind of error have anything to do with my programming?

"Don Miller" <no****@nospam.com> wrote in message
news:uP**************@TK2MSFTNGP14.phx.gbl...
> "Mark Schupp" <no******@email.net> wrote in message
> news:eP**************@TK2MSFTNGP12.phx.gbl...
> > Try running IISRESET and see if you get the same error message (it

may> stay
> > around longer).
>
> I reset IIS manually and the DLLHOST error message did come up! I tried> pressing the No button to debug but nothing happened.
>
> Does this mean anything to anybody? It certainly seems that this is
related
> to IIS now.
>
>



Jul 27 '05 #9

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

Similar topics

7
by: Larry Bud | last post by:
More of a design question than technical.... combining Ajax technology with ASP... Top portion of the page contains several Select boxes which are dependant upon one another. Ajax handles that...
20
by: Tony | last post by:
I have a situation where I want to send data, but I have no need for a response. It seems to me that XMLHTTPRequest is the best way to send the data, but I don't need any response back from the...
6
by: blueapricot416 | last post by:
I have some javascript in a standard HTML page that uses the ubiquitous "XMLHttpRequest" to send data to a remote ASP page. If that page "answers back" by sending a string using a simple...
1
by: Tony Lawrence | last post by:
Probably a lot of you here are already old hands at Ajax, but I haven't started doing this yet. Part of the reason was that I really didn't understand where Ajax would be useful to my own site,...
3
by: caston | last post by:
Well, everybody can now agree with the fact that the Ajax hype is over. Still multiple Ajax Frameworks are flourishing, aren't they? So, last night I questioned myself with the following: "When...
2
by: pe3no | last post by:
Hi, I'm going to create applications PHP + AJAX + Linux + Apache + Postgres. - Other Open Source technologies / Frameworks, etc. also :) Is this book http://www.amazon.com/gp/reader/0471777781...
1
by: mark4asp | last post by:
Which should I use: 1. "ASP.NET AJAX-Enabled Web Site" or 2. "AJAX Control Toolkit Web Site"? In the first, controls from the control toolkit start as: <cc1:SomeControl></cc1> In the 2nd,...
5
by: Sommer.pde | last post by:
It took me some time to find out when and why this happens. When the window of Internet Explorer is closed with an AJAX call still pending, something funny happens. Do it twice, and you will have...
11
by: Jonathan Wood | last post by:
Can anyone point me to any good resources on adding AJAX to a page once the page has already been created? I know VS2008 has options to add AJAX pages, but I didn't select those options when the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...

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.