connect to sql server through sql-dmo
Hi,
I am a newbie to VB.Net and sql-dmo. I am trying to connect to an instance
of sql server through my application using sql-dmo. I am having a problem
connecting to sql server. I do the following:
Dim objServer As SQLDMO.SQLServer
objServer = New SQLDMO.SQLServer()
objServer.Connect("(local)", "sa", "")
But I am getting an error when I use the Connect method. The error is
diffiuclt to decipher, something about "unhandled win32 exception".
Any help is appreciated.