Connection String Question

Posted by Smartestvega under IIS on 3/5/2012 | Points: 10 | Views : 1733 | Status : [Member] | Replies : 2
I have number of web instances in IIS server, where these websites uses connection strings to connect to the SQL Server data.

There is single web.config file for all the website where there resides connection string which used by these websites.

Few websites have its own web.config file where these uses connection string from this rather than using from common web.config.

My doubt it, when we take the properties tab and click on general. We can see Connection Strings over there with the values. We can create and edit those.

Is this related to the connection string in web.config? If we edit it ,,will this effect in web.config? How can we know which web.config this value is showing in IIS setting , whether in common web.config or web.config of individual web instance folders?
can we add a new connection string in IIS rather than adding in Web.config file?




Responses

Posted by: Jayakumars on: 9/30/2012 [Member] [MVP] Bronze | Points: 25

Up
0
Down
hi

webconfig file separate we have put our connection string and use them.

Mark as Answer if its helpful to you

Smartestvega, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Jayakumars on: 9/30/2012 [Member] [MVP] Bronze | Points: 25

Up
0
Down
Please mark as answer if it helpful to you.

Mark as Answer if its helpful to you

Smartestvega, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response