Solved

List of objects available to Server.CreateObject()

Posted on 2013-10-23
5
649 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

759 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now