Remote SQL connection

Discussion in 'Classic ASP' started by 9key, Feb 15, 2006.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hi,
    I'm attempting tocreate a connection string that will work for my hosted sql 2000 server in any environment.
    I have a local copy of my hosted db that I develop on and it usesODBC:


     
  2. I think it's generally a good idea to avoid DSN's all together. My connection string (which works from any server) looks like this:

    Server=mssql02.discountasp.net</font>;Database=DB_1234</font>;User ID=DB_1234_user</font>;Password=P@ssw0rd</font>;Trusted_Connection=False

    The red</font> text is what you will have to change for your SQL server account.
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page