i am trying to deploy my website to my host and get following error message on my web. config file:
The configuration section 'connectionStrings' cannot be read because it is missing a section declaration
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
the connectionstring is declared as follows:
<connectionStrings configSource="ConnectionStrings.config"/>
and in corresponding connectionStrings.config file:
<connectionStrings>
<add name="" connectionString="Provider=SQLOLEDB; Data Source=dataSource;Initial Catalog=databaseName;User Id=userName;Password=password;Integrated Security=True;Persist Security Info=False;Connect Timeout=120" />
</connectionStrings>
The web.config file is not encrypted and I am at a loss