04-20-04 03:35 AM
There seems to be a problem with the ADO COM registration on your machine.
You can correct this by executing the following command from the command
prompt:
for %i in ("%CommonProgramFiles%\System\ado\*.dll") do regsvr32.exe /s "%i"
(If you are running the above command from within a script, it might need
to be modified slightly to work).
This problem has been addressed in Commerce Server 2002 Service Pack 2 and
above. Applying (or reapplying) the Service Pack should fix this.
Hope that helps.
Madhur Joshi
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.
© 2004 Microsoft Corporation. All rights reserved.
--------------------
Thread-Topic: CreateObject("ADODB.Connection") failing
thread-index: AcQYOFBnyrL2PShUSjKC1PuSr0vhSw==
X-Tomcat-NG: microsoft.public.commerceserver.general
From: "examnotes" <anonymous@discussions.microsoft.com>
Subject: CreateObject("ADODB.Connection") failing
Date: Thu, 1 Apr 2004 14:26:02 -0800
Lines: 9
Message-ID: <5D818564-48F0-4C9B-92D2-078BFA120643@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.commerceserver.general
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.commerceserver.general:13541
NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
X-Tomcat-NG: microsoft.public.commerceserver.general
Having wierd problem on my m/c . Part of my pipleine working with scriptor.
and trying to Make connection to database.its failing at creating object
and as well context.defaultConnectionstring coming as NULL. Could
somebody help. thanks
Here is my code.
Dim Connection
Set Connection = CreateObject("ADODB.Connection")
Connection.Open context.defaultConnectionString
[ Post a follow-up to this message ]
|