Solved

VB is locking web server!!! ???

Posted on 2000-03-07
3
157 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 

Expert Comment

by:AbbasAhmed
ID: 2592491
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
ID: 2592649
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
ID: 2592956
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

724 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