Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Connect aspx to local sql server

Options
  • 01-10-2007 1:25pm
    #1
    Registered Users Posts: 7,541 ✭✭✭


    Right I did this before but can't remember how and I didn't bother making note of how I did it previously.

    Basically I have some aspx running on the localhost via IIS. These aspx need to connect to a sql server, which is also running on the localhost. Now I know I have to configure the connectionstring in web.config to get them to connect but I just can't remember how! :confused:

    SQL Server is 2005 and it's in mixed mode. Anyone able to help?

    EDIT: FFS, as soon as I post I get it to work. <add key = "connectionstring" value="server=localhost; database=myDB;user id=userDB;password=passDB; max pool size =500; Trusted_Connection=TRUE" />


Advertisement