473,385 Members | 1,838 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How can I obtain a list of available server objects WITHOUT Admin?

I am trying to build a site for a group which already has a hosting company.

I would like to try to find out which objects are available for use to me.
I do not have admin access to the NT box. Obviously I have permissions in
my area of the server.

I know I can test for specific objects but I'd like to know what is
available, not just what I can test against. Is this even possible?

The server is running Server 2000.

Here is the manual code I'm using (which works fine):

<%
lstrProgIDs = _
"CDONTS.NewMail: Collaborative Data Objects For NT;" & _
"SMTPsvg.Mailer: Server Objects - ASPMail/ASPQMail" & _
"POPsvb.Mailer: Server Objects - ASP Pop3;" & _
"SoftArtisans.SMTPMail: Software Artisans - SMTP Mail;" & _
"Jmail.smtpmail: w3 JMail;" & _
"Persists.MailSender: Persists - ASPEmail;" & _
"dkQmail.Qmail: dkQmail;" & _
"Geocel.Mailer: GeoCel;" & _
"iismail.iismail.1: IISMail;" & _
"SmtpMail.SmtpMail.1: SMTP;" & _
"ocxQmail.ocxQmailCtrl.1: OCXQMail;" & _
"Dundas.Mailer: Dundas - ASPMailer;" & _
"EasyMail.SMTP.5: Quicksoft - EasyMail;"
lstrProgIDs = lstrProgIDs & _
"Scripting.FileSystemObject: File System Object;" & _
"AspImage.Image: Server Objects - ASP Image;" & _
""

lstrProgIDAry = Split(lstrProgIDs, ";")

llngMaxIndex = UBound(lstrProgIDAry)
on error resume next
For llngIndex = 0 To llngMaxIndex
lstrPairAry = Split(lstrProgIDAry(llngIndex), ":")
Set lobjTest = Server.CreateObject(lstrPairAry(0))
if Err.number<>0 Then
Err.Clear
Else
lstrInstalled = lstrInstalled & "<b>" &
replace(lstrProgIDAry(llngIndex),":","</b>:") & "<br>"
End if
Next

if Right(lstrInstalled, 1) = ";" Then
lstrInstalled = Left(lstrInstalled, Len(lstrInstalled) - 1)
End if

'Installed = lstrInstalled
Response.Write(lstrInstalled)
on error goto 0
%>
Jul 19 '05 #1
1 3073
> I know I can test for specific objects but I'd like to know what is
available, not just what I can test against. Is this even possible?


No, the technique you are using is about the best you can do. There is no
central repository of ProgIDs that belong exclusively to COM objects that
are available from ASP...

However, PerfHound (www.perfhound.com) can provide you with a much more
comprehensive list than the one you're currently using.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Wolfram Humann | last post by:
Hi, please don't be too harsh if I made stupid errors creating this simple example from my more complex case. Suppose I have a class like this: class BOOK { const string title;
1
by: John | last post by:
Hi, we have the following problem: in our application v1.0 we have static html pages (+ some javascript). With a CMS (a Content Management System) some "mortal" people can add or expand the...
4
by: Pasquale | last post by:
Hello, I wondering if there is a way to dynamically update a select list with javascript from a database query without having to reload the page to update the list?
0
by: Mike Cox | last post by:
Andy M wrote: > ALERT > > There is a person by the name of Mike Cox who's trying > to turn this mailing list into a Big-8 newsgroup. No, I'm trying to get teh postgresql groups which are...
5
by: Little | last post by:
I have this program and I need to work on the test portion, which tests if a Val is in the list. It returns false no matter what could you look at the part and see what might need to be done to fix...
3
by: mandarkraftware | last post by:
Hi All, We have the following list of consultants currently available. Name / Job Title Summary Ramchandran/Java · 7+ years experience in the field of Software Development. · Expertise in...
1
NeoPa
by: NeoPa | last post by:
A number of posters have asked to be shown how to produce a list of items from multiple records which are (potentially) grouped together. Take the following data for instance (from a table called )...
0
by: nikib | last post by:
Hi, I am new in the forum and new in .Net. I've tried to search for answers on web to no avail. Can anybody help me with this problem? Is it possible to install a console app, that also has...
0
by: BobLewiston | last post by:
I did a full installation of SQL Server 2008 Express. Looking at Add / Remove Programs, I see the following pertinent programs installed: SQL Server 2008 SQL Server 2008 Browser SQL Server 2008...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.