Posted on: 10/11/2012 1:30:03 AM | Views : 296

I am wondering why the config section below references the bold connection string instead of the first one
<add name="DefaultConnection" connectionString="Data Source=ser;Initial Catalog=AspMembership; User ID=User;Password=ser;" providerName="System.Data.SqlClient" />

<add name="TravelDB" connectionString="Data Source=ser;Initial Catalog=Travel;integrated security=True" providerName="System.Data.SqlClient" />
<authentication mode="Forms"> <forms loginUrl="~/Account/Login" timeout="2880" /> </authentication> <profile defaultProvider="DefaultProfileProvider"> <providers> <add name="DefaultProfileProvider" type="System.Web.Providers.DefaultProfileProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" applicationName="/" ...

Go to the complete details ...