Connection String in Enterprise Library RRS feed

  • Question

  • User1138442046 posted

    Hi Guys

    I am using Enterprise Library June 2005. I write a configuration file using its configuration tool for connection string. But I got that my hosting server is using a different port that is 1786, but the sql server default port 1433.

    So how can i mention this port in connection string?
    How can i connect to sql server using that port?

    Hoping a quick response from you.



    Monday, May 29, 2006 2:54 PM

All replies

  • User-1355649840 posted
    When specifying the name of the server, the supported options are:


    So all you have to do is add a comma and the port number, like this example:

    Monday, May 29, 2006 10:13 PM