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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Connect aspx to local sql server

  • 01-10-2007 12:25pm
    #1
    Registered Users, Registered Users 2 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