Solved

ODBC Connection

Posted on 2000-05-05
5
487 Views
Last Modified: 2009-12-16
Whilst developing applications on our Intranet server, we occasionally kill all ODBC connections on it (bad code!).  Is there a way to restore  this without re-booting the server.
0
Comment
Question by:ff_axel
[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
5 Comments
 
LVL 10

Expert Comment

by:makerp
ID: 2780262
when you say kill obdc connections , do you mean individual users connections created in asp

i.e.

con.Open "your_dsn"

getting killed off
0
 

Author Comment

by:ff_axel
ID: 2780417
No, unfortunately when we lose connections, it applies to all users and all pages on the server.
0
 
LVL 10

Expert Comment

by:makerp
ID: 2780435
if your messing with your global.asa then every time you re-save it it will kill all sessions and restart the application . now if you connections are held as sessions you would get what your experiencing.

if the interaction with your asp is dependendent on sessions dont mess with the global.asa on a live site, cos youll keep killing users sessions.
0
 
LVL 4

Expert Comment

by:mberumen
ID: 2781504
ff_axel..   Sometimes I experience the same problem. Something goes wrong with the page and the application is unable to process ASP pages.  

I have tried unloading the application from ISM, and I have never been able to make it work. since this application is running on its own separate memory space, my server is fine, but the only way I have been able to restart this application is by rebooting the server.
So Experts...
Just exactly how are you supposed to restart an application gone bad?
0
 
LVL 1

Accepted Solution

by:
bencamp earned 100 total points
ID: 2782985
You have two routes to take here.  The first one works 80% of the time (depending on your specific problem), and the other one works 99.9% of the time.

From the command line type:
> net stop iisadmin
> net start w3svc

Now, if that returns an error on the first line you need a utility provided on the NT Resource Kit CD (probably
downloadable too), called "kill.exe".  

Then you'll want to type:
> kill inetinfo.exe
> net start w3svc

If you need help locating kill.exe let me know.

0

Featured Post

Independent Software Vendors: 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

Suggested Solutions

Title # Comments Views Activity
Server Timeout with Loop 6 63
Date on a table 16 44
window close link 7 62
PHP $_POST vs asp request 4 56
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

732 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