Solved

VB is locking web server!!! ???

Posted on 2000-03-07
3
150 Views
Last Modified: 2010-05-02
Hello,

If a VB EXE is run from the web, does/can it take control away form the task manager. The program in question uses Excel and Powerpoint to make automated presentations from database data.  I get an error when trying to kill a hosed up Excel task saying I (the administrator) does not have permission to end the task.

Thanks
0
Comment
Question by:odium9
3 Comments
 

Expert Comment

by:AbbasAhmed
Comment Utility
Could you be more specific about your problem. I mean I would like to know what platform you are using. What I guessed from your question is that you are running Windows 98/95. Well, as far as the VB exe problem is concerned, does this program work well if you execute it locally?
0
 

Author Comment

by:odium9
Comment Utility
OK.. Sorry to be so vague.
The problem is under Windows NT 4.0 SP5.
I program works fine if executed locally.  The problem lies on test runs and running the program through links.  I force an error, and EXCEL gets hosed up in the servers Task Manager.  Then EXCEL and the program cannot be force closed by Task Manager.  After awhile, the whole server gets hosed.  I am guessing a message box appears, or something, but this process should still be able to be force closed.  

Hope that clarified.
0
 

Accepted Solution

by:
neoabacus earned 100 total points
Comment Utility
because you are running in the context of the IIS user account which does not have interactive capabilities when you force an error a dialog box would normally be shown which you cannot respond to

since this is running in the confined context of the IIS server you cannot kill that process...(at least not as far as i am aware)

you may be able to stop the web service then kill the offending excel application..

however i find that the only sure way of stopping it is a reboot of NT...
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now