Microsoft SQL Server
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft SQL Server

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old October 15th, 2004, 04:31 AM
Wonga Wonga is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 2 Wonga User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Angry SQL Server Error

Hey,

Hope someone can help me. I'm new to this whole ASP thing so i was wondering if anyone with more experience can help me.

I have an asp page that connects to a SQL Server database and logs information. Everything is working fine but if I stop SQL Server the application keels over. What i want to be able to do is to log the information to the database if everything is fine (connection etc) but if there is any problem like sql server is stopped then i want it to display that there was a problem loggin the information without the whole thing keeling over.

Any help would be grately appreciated!
Thanks

Reply With Quote
  #2  
Old October 15th, 2004, 05:31 AM
Wonga Wonga is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 2 Wonga User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Talking

I've sorted it out myself with a series of error number checks and by using On Error Resume Next before Conn.open


Quote:
Originally Posted by Wonga
Hey,

Hope someone can help me. I'm new to this whole ASP thing so i was wondering if anyone with more experience can help me.

I have an asp page that connects to a SQL Server database and logs information. Everything is working fine but if I stop SQL Server the application keels over. What i want to be able to do is to log the information to the database if everything is fine (connection etc) but if there is any problem like sql server is stopped then i want it to display that there was a problem loggin the information without the whole thing keeling over.

Any help would be grately appreciated!
Thanks

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft SQL Server > SQL Server Error


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway