473,474 Members | 1,822 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

ADODB.Connection

Bob
Am using VB.net 2003 on a W2K Pro development and target platform

Dim cn as ADODB.Connection = new ADODB.Connectio

Works fine in the IDE and with my test app, but immediately throws an exception on the target box

Both boxes have the .NET Platform installed. Both boxes have MDAC 2.7.1 installed

I've included

Imports System.Dat
Imports ADOD

Is this problem obvious to anyone? Or maybe someone could point me in how to determine what the problem is

Bob Krame

Nov 22 '05 #1
2 1623
Look at your connection string and make sure it's valid. Or check
permissions in the target database. You didn't provide the message of
the exception thown -- that often provides a clue as where the problem
lies.

-- Mary
MCW Technologies
http://www.mcwtech.com

On Fri, 20 Feb 2004 19:41:06 -0800, Bob
<an*******@discussions.microsoft.com> wrote:
Am using VB.net 2003 on a W2K Pro development and target platform.

Dim cn as ADODB.Connection = new ADODB.Connection

Works fine in the IDE and with my test app, but immediately throws an exception on the target box.

Both boxes have the .NET Platform installed. Both boxes have MDAC 2.7.1 installed.

I've included:

Imports System.Data
Imports ADODB

Is this problem obvious to anyone? Or maybe someone could point me in how to determine what the problem is.

Bob Kramer


Nov 22 '05 #2
Joe

Bob,

Give us the exception message, that would help.

Thanks,
JOe

-----Original Message-----
Am using VB.net 2003 on a W2K Pro development and target platform.
Dim cn as ADODB.Connection = new ADODB.Connection

Works fine in the IDE and with my test app, but immediately throws an exception on the target box.
Both boxes have the .NET Platform installed. Both boxes have MDAC 2.7.1 installed.
I've included:

Imports System.Data
Imports ADODB

Is this problem obvious to anyone? Or maybe someone could point me in how to determine what the problem is.
Bob Kramer

.

Nov 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: Patrick | last post by:
I understand that with IIS5.1 on Windows XP Professional SP1, I can 1) Either set under IIS Manager-> Any specific Virtual Directory-> Configuration->Options->ASP Script timeout for all pages...
0
by: Channing Jones | last post by:
Hello everyone, I am trying to store data in a binary field of an SQL-Server table using ADODB. So far, I have managed to store a record but not any data in the binary field. I only get...
1
by: liorh | last post by:
my code is using ADODB connection to connect to SQL (Virtual) Server. the way it being done is (c++): ADODB::_ConnectionPtr m_dbConn; ADODB::_RecordsetPtr m_dbRst;...
5
by: Simone | last post by:
Hello I hope you guys can help me. I am very new to ADO... I am creating a ADODB connection in a module and trying to access it from a command button in a form. Function fxEIDAssgn(plngEID As...
0
by: Andre Azevedo | last post by:
Hi all ! I've created a .net serviced component with only one method. This method receive an ADODB.Command object and execute it. The ADODB.Command object is created in the client process. (VB...
0
by: ASP.Confused | last post by:
The old message looked a little stale, so I am re-posting it here. Anybody have any ideas of what I could do?!? The previous responses to this question are below. If you want to look at the...
4
by: Ames111 | last post by:
Hi I have an application that connects to a SQl database on my computer via an ADODB connection: ADODB.Connection Conn = new ADODB.Connection(); Conn.ConnectionString = ("Driver={SQL...
0
by: dmckenna | last post by:
I've been tasked to upgrade an old system and there's many different versions of VB code that uses MDAC to talk to MSSql. Do you know what the difference is between the two code versions? Is there...
4
by: T | last post by:
-------------------------------------------------------------------------------- I tried this audit trail code, using 2003 and it works great, I try and use it at work w/97 and it blows up:...
2
EYE4U
by: EYE4U | last post by:
Hi all, This is how you can connect to an Access Database using ADODB.. First add a reference to Microsoft ActiveX Data Objects 2.0 Library Now to lets Declare some variables : Private Con...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.