Hello Everyone,

I have SQL Server 2008 in VM (Oracle Virtual box)

I am trying to execute query from windows local host on Database which is 
present in VM using below code

*Set oConn = CreateObject("ADODB.Connection")*
*oConn.Open "Driver={SQL 
Server};Server=153.123.123.12;Database=XXXX;Uid=XXXX;Pwd=XXXX"*
*MsgBox oConn.Execute("Select * From TableName").GetString*
*
*
I am getting below error

*[Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or 
access denied.*
*
*
Could anyone please help me regarding this

*Best Regards,*
*Manoj Kapuganti*

-- 
-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

--- 
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to