Hi I am always getting some errors to connect to the sql server...pls give me a idea whats the correct syntax of connection string
i am getting the error
Error Type:
Microsoft OLE DB Provider for SQL Server (0x80040E4D)
Login failed for user WIN2000\IUSR_WIN.
/anand/sqlcon.asp, line 11
i am using the connection string
con1.connectionstring="Provider=SQLOLEDB;Data Source=WIN2000\ANASQL;Initial Catalog=pubs;Integrated Security=SSPI"
pls give me a idea what mistake i did...
Thanks
Satya
i am getting the error
Error Type:
Microsoft OLE DB Provider for SQL Server (0x80040E4D)
Login failed for user WIN2000\IUSR_WIN.
/anand/sqlcon.asp, line 11
i am using the connection string
con1.connectionstring="Provider=SQLOLEDB;Data Source=WIN2000\ANASQL;Initial Catalog=pubs;Integrated Security=SSPI"
pls give me a idea what mistake i did...
Thanks
Satya