Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingVisual Basic Programming

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 4th, 2005, 01:38 PM
pat_smith1969 pat_smith1969 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 93 pat_smith1969 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 h 44 m 50 sec
Reputation Power: 5
This script works on Win2k server but not 2003 Server.... WHY?

I have crafted the below script (actually I used a script from another person and added my own stuff to it). It goes out and checks for the existance of a database and reports back to Big Brother what it finds. It works GREAT on Windows Server 2k but spins errors when I run it on Windows 2003 Server.... Any ideas?

Please see attached txt file for code.

When run on the 2003 server it claims to have an error on line 229 which is clearly not the point of difficulty.
Line 229
Code:
    SET counterCollection = GETOBJECT("winmgmts:" & strCollection & "=" & strInstance)
Attached Files
File Type: txt bb-sqlserver.txt (15.7 KB, 94 views)

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingVisual Basic Programming > This script works on Win2k server but not 2003 Server.... WHY?


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 4 hosted by Hostway
Stay green...Green IT