ASP / IIS : Server.CreateObject() Issues

From: Michael Bailey (mbailey_at_directs.com)
Date: 04/23/04


Date: Fri, 23 Apr 2004 10:39:26 -0500

All:

I have been working to migrate to IIS 6.0 and found issues with using
'Server.CreateObject()' versus simply 'CreateObject()' in our ASP scripts.

If 'Server.CreateObject()' is used, web objects can be created until
something breaks and then most of the remaining CreateObject() calls in the
script fail.

But removing the string 'Server.' from the CreateObject() call remedies the
problem and allows objects to be instantiated as effectively as they were in
IIS 5.1.

I stopped working with the MS support case because it was not going
anywhere. Has anybody else had a similar experience with this function?

Thanks!
    Michael



Relevant Pages

  • Re: Best approach to locking down a single file on a public website?
    ...  Windows 2003 Server w/ IIS 6. ... The .asp scripts need access to the encrypted file. ... while you have disabled directory browsing in IIS. ... You can upgrade to windows 2008, where the rootdirectory and all but one ...
    (microsoft.public.inetserver.asp.general)
  • IIS 5 stops serving coldfusion pages
    ... where they stop serving our coldfusion content. ... Am no IIS genius so would love some ... Win 2K server. ... But as mentioned above there are no ASP scripts on our server so this ...
    (microsoft.public.inetserver.iis)
  • ASP script debugging XMLHTTP component issue
    ... pagethrough MSXML2.XMLHTTP or MSXML2.ServerXMLHTTP in ASP scripts. ... IIS 5.0 (Windows 2000 standart server) ... IIS 5.1 (Windows XP Professional) ...
    (microsoft.public.inetserver.iis)
  • Re: Error Creating ADODB.Connection Connection in IIS6
    ... >> Server.CreateObject, which gets MTS involved. ... VBScript also has its own CreateObject method. ... In IIS 5+, the pendulum has swung towards the VBScript ... Please reply to the newsgroup. ...
    (microsoft.public.inetserver.asp.db)
  • ASP script debugging XMLHTTP component issue
    ... pagethrough MSXML2.XMLHTTP or MSXML2.ServerXMLHTTP in ASP scripts. ... IIS 5.0 (Windows 2000 standart server) ... IIS 5.1 (Windows XP Professional) ...
    (microsoft.public.inetserver.iis.activeserverpages)