locked
Web cong - Time Tracker Starter Kit 2.0 RRS feed

  • Question

  • User-1692707529 posted
    This is curosity as it actually works and it was written (?) by Microsoft.

    The web.config file has these lines:

     <connectionStrings>
      <add name="aspnet_staterKits_TimeTracker" connectionString="Data Source=.\SQLExpress;Integrated Security=True;AttachDBFilename=|DataDirectory|TimeTracker.mdf;User Instance=true" />
      <remove name="LocalSqlServer"/>
      <add name="LocalSqlServer" connectionString="Data Source=.\SQLExpress;Integrated Security=True;AttachDBFilename=|DataDirectory|TimeTracker.mdf;User Instance=true" />
     </connectionStrings>

    Why is there duplication, except for the name attribute they are the same. Why can't the data access routine look at 'LocalSqlServer' or is this all to do with the new .net roles and authorisation etc.

    Robert T Turner
    Tuesday, November 22, 2005 3:43 AM

All replies

  • User555306248 posted

    There is no as such special purpose..

    It indicated that you defined 2 connectionString

    Monday, April 30, 2007 12:52 AM
  • User555306248 posted
    Got ??
    Wednesday, May 2, 2007 2:52 AM