Solved

VB is locking web server!!! ???

Posted on 2000-03-07
3
156 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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

734 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