?
Solved

VB is locking web server!!! ???

Posted on 2000-03-07
3
Medium Priority
?
158 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 400 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
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…
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…
Suggested Courses

765 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