I am having problems with a server that crashes about once a month. The event viewer application log shows a lot of ASP errors. Typically, there are about 10 ASP errors a day, but today multiple errors started to come in at 11 PM which is appartently when my site went down When I noticed at 11:40, the DLLHost.EXE process seemed to lock up the whole server. I used Task Manager to end the process, and everything went back to normal. What is interesting is that the last time I had a similar problem was exactly a month ago on 3/9 at 5 PM.<BR><BR>I know it would be very hard to pinpoint what is going wrong, but where should I start? What causes DLLHost.EXE to lock up? Is it normal to have ASP errors in the application log?<BR><BR><BR>A few of the errors that I get are<BR><BR>Script Engine Exception. A ScriptEngine threw expection 'C0000005' in 'IActiveScript::SetScriptSite()' from 'CActiveScriptEngine::Init()'.. <BR><BR>Script Engine Exception. A ScriptEngine threw expection 'C0000005' in 'IActiveScript::SetScriptState()' from 'CActiveScriptEngine::ReuseEngine()'. . <BR><BR>Script Engine Exception. A ScriptEngine threw expection 'C0000005' in 'IActiveScript::Close()' from 'CActiveScriptEngine::FinalRelease()' .. <BR>
Dutch is right. We have that problem all the time. If you're using Delphi (Im sure there is such a thing for VB 2) you can download a memory leak detector.<BR><BR>Find out where the mem.leaks are in the dll. Fix it. Should help ya solve it...<BR><BR>BTW, I'd seriously recommend the kill.exe program. Its pretty hard to find it on the internet (duh) but if you do, its well worth it..<BR><BR>When dllhost hangs, simply open dos prompt and type "kill dllhost"...<BR><BR>ez as that... Fixes the problem right away. (since you cant close the dll host from task manager - acces denied crap)
and it's probably not a memory leak, and if it is, there's no program that'll find it.<BR><BR>Look at your return variables. If this is VB (doesn't appear to be) you shouldn't have problems... if it's C++, make sure your variables aren't being killed before being marshalled back.