add values below to web.config file appSettings configSource = "App_Data\appSettings.config" connectionStrings configSource ="App_Data\connectionStrings.config" example ?xml version="1.0" encoding="utf-8" ? connectionStrings add name="conn" connectionString="Server=localhost; Initial Catalog=sql_db;Intergrated Security=True" connectionStrings