Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Ado Data RDS > error! Please H...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 243 of 305
Post > Topic >>

error! Please Help... :(

by "=?Utf-8?B?Z29kdHJpeA==?=" <godtrix@[EMAIL PROTECTED] > Apr 23, 2005 at 12:15 PM

i'm using vb.net, ado 2.8, rds 2.8, win xp sp2

my simple code:
Dim cn As ADODB.Connection
cn.Open("Provider=MS Remote;Remote Server=http://server;Data
Source=pubs;")

it gives me an error:
An unhandled exception of type 'System.NullReferenceException' occurred in

testConn.exe

Additional information: Object reference not set to an instance of an
object.

please help me... i'm exhuasted researching and trying... i just dont know

what goes wrong...

NOTE: below's code can work perfectly, but above's cant... so i believe
i'd 
setup every basic things correctly...
code:
Dim DS As New RDS.DataSpace
Dim DF As Object
Dim RS As ADODB.Recordset

DF = DS.CreateObject("RDSServer.DataFactory", "http://server")

RS = DF.Query("Data Source=pubs;User ID=name;Password=pwd", "SELECT * FROM

authors")
 




 3 Posts in Topic:
error! Please Help... :(
"=?Utf-8?B?Z29kdHJpe  2005-04-23 12:15:01 
Re: error! Please Help... :(
"Brian Muth" &l  2005-04-24 08:40:16 
Re: error! Please Help... :(
"=?Utf-8?B?Z29kdHJpe  2005-04-24 10:16:01 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 15:16:18 CST 2008.