dsn-less connection problem
Hi, I was wondering if you could help me with this.
I am trying to set up a dsn-less connection from my asp page. I'm using the following code and I get this error. Am I making any strange mistakes? Is there something else I should be doing? I appreciate any ideas you may have.
Data source name not found and no default driver specified.
myDSN="Driver={SQL server};Server=prod;Database=web_code;Uid=web_code ;Pwd=webpwd"
Set conn = Server.CreateObject("ADODB.Connection")
conn.open myDSN,"",""
|