Solved

List of objects available to Server.CreateObject()

Posted on 2013-10-23
5
674 Views
Last Modified: 2013-10-24
Hi Experts.

Where can I find a list of built-in objects available on my IIS Server that can be created from the Server.CreateObject() method?
0
Comment
Question by:wheelsm
  • 2
  • 2
5 Comments
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39596332
Are you looking for something in particular?  You would use server.creatobject for built in objects or other dll's you would install on your server.

I don't know if this is complete, but I seem to use these

adodb.Connection
adodb.Recordset
cdo.Message
Scripting.Dictionary
Scripting.FileSystemObject
adodb.Stream
0
 

Author Comment

by:wheelsm
ID: 39597059
Hi Padas.

I use those objects frequently myself.  What precipitated my question was some code I ran across that used Server.CreateObject(Microsoft.XMLHTTP).  (It was some code I had written a long time ago to post data to Authorize.Net.)  It got me wondering what other objects were built-in when IIS was installed on my server.  Since objects are named by [Vendor.]Component[.Version], I thought there might be some way to list what objects Microsoft installed with IIS.
0
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39597192
I forgot about Microsoft.XMLHTTP, that is for posting data. A newer version you may have installed is MSXML2.ServerXMLHTTP.3.0 which may be used with MSXML2.DOMDocument.3.0 which I have used to read xml data.

I don't know what the full list is although you could look in your system32 folder for all the dll's.

I think it is easier to go the other way around where you have a problem and need a solution and what you need seems to be found.
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 250 total points
ID: 39597526
The Server.CreateObject creates instances of COM objects installed on the server, so you would need to look in the Windows registry for all the types that you could create.  It is a pretty long list of COM objects.

Start at HKEY_CLASSES_ROOT, and look for all entries that have a CLSID subkey.  The names are usually in the form <Namespace>.<Class>.<Version>.

Example:

HKEY_CLASSES_ROOT\AcroAccess.AcrobatAccess.1
CLSID = {C523F39F-9C83-11D3-9094-00104BD0D535}
0
 

Author Closing Comment

by:wheelsm
ID: 39597556
I figured it must be quite an extensive list (and it is!).  Now I know where to go look.  Thank you!
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

831 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