AmirAmiri
دوشنبه 21 تیر 1389, 15:49 عصر
سلام دوستان. من میخوام از تو ASP به SQL متصل بشم و کد زیر رو نوشتم اما خطا میده.
dnsName = "Provider=SQLOLEDB.1; Persist Security Info=False; Data Source=.\SQLEXPRESS; Initial Catalog=LIB;"
Set Connection = Server.CreateObject("ADODB.Connection")
Connection.Open dnsName
خطایی که میده اینه :
An error occurred on the server when processing the URL. Please contact the system administrator. If you are the system administrator please click here (http://go.microsoft.com/fwlink/?LinkID=82731) to find out more about this error.
در ضمن بانک SQL پسورد نداره و با خود ویندوز وارد میشه هیچ نیازی به User و Pass نداره.
لطفا کمکم کنید پروژم داره عقب میمونه.
dnsName = "Provider=SQLOLEDB.1; Persist Security Info=False; Data Source=.\SQLEXPRESS; Initial Catalog=LIB;"
Set Connection = Server.CreateObject("ADODB.Connection")
Connection.Open dnsName
خطایی که میده اینه :
An error occurred on the server when processing the URL. Please contact the system administrator. If you are the system administrator please click here (http://go.microsoft.com/fwlink/?LinkID=82731) to find out more about this error.
در ضمن بانک SQL پسورد نداره و با خود ویندوز وارد میشه هیچ نیازی به User و Pass نداره.
لطفا کمکم کنید پروژم داره عقب میمونه.