CreateObject("ADODB.Connection") failing
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Commerce Server > Commerce Server General > CreateObject("ADODB.Connection") failing




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    CreateObject("ADODB.Connection") failing  
Venu Rao


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-01-04 10:47 PM

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 somebod
y help. thanks

Here is my code.

Dim Connection
Set Connection = CreateObject("ADODB.Connection")
Connection.Open context.defaultConnectionString







[ Post a follow-up to this message ]



    RE: CreateObject("ADODB.Connection") failing  
Madhur Joshi


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 05:10 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register