Re: Error Creating ADODB.Connection Connection in IIS6
- From: "Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx>
- Date: Wed, 15 Jun 2005 13:46:04 -0400
Mark J. McGinty wrote:
> "Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx> wrote in message
> news:O2CxBaQcFHA.132@xxxxxxxxxxxxxxxxxxxxxxx
>>
>> With that version of IIS, you no longer need to use
>> Server.CreateObject, which gets MTS involved. Try getting rid of the
>> "Server." and see what happens.
>
> Ugh you've got to be kidding! Why didn't they just add a method to
> the Server object, I wonder?
>
Huh? I think you misunderstood me. The Server object has a CreateObject
method. VBScript also has its own CreateObject method. The difference is
explained here:
http://blogs.msdn.com/ericlippert/archive/2004/06/01/145686.aspx
> Is there still a compelling reason to use Server.CreateObject vs just
> CreateObject in IIS5? I know the latter works, but seem to remember
> it was once desirable to call the former
>
In IIS4 it was always advised to use the Server's version, becuase it got
MTS involved. In IIS 5+, the pendulum has swung towards the VBScript
version.
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
.
- References:
- Error Creating ADODB.Connection Connection in IIS6
- From: Brad Baker
- Re: Error Creating ADODB.Connection Connection in IIS6
- From: Bob Barrows [MVP]
- Re: Error Creating ADODB.Connection Connection in IIS6
- From: Mark J. McGinty
- Error Creating ADODB.Connection Connection in IIS6
- Prev by Date: Re: SP - output parameter not coming back
- Next by Date: Re: Functions w/n Stored Procedures in Access Database on ASP.net
- Previous by thread: Re: Error Creating ADODB.Connection Connection in IIS6
- Next by thread: RE: Error Creating ADODB.Connection Connection in IIS6
- Index(es):
Relevant Pages
|