ramakotaiah patti

ramakotaiah patti

  • NA
  • 64
  • 11.5k

mvc related connection invalid problem

Mar 14 2017 10:05 AM
 i am  developing mvc project and i am writting this connection but still i am not connected....
<ConnectionStrings>
<add name="NorthWindConnection" providerName="Sytem.Data.SqlClient" ConnectionString="DataSource=RAM-PC;Initial Catalog=NorthWindDb; User id=sa;password=ramakoti"/>
</ConnectionStrings>
...................................................................................................
Detailed Error Information:
Module IIS Web Core
Notification Unknown
Handler Not yet determined
Error Code 0x80070032
Config Error The configuration section 'ConnectionStrings' cannot be read because it is missing a section declaration
Config File \\?\D:\dotnetpractice\EFCodeFirst\EFCodeFirst\web.config
Requested URL http://localhost:2669/NorthWind/Index
Physical Path
Logon Method Not yet determined
Logon User Not yet determined
Request Tracing Directory C:\Users\user\Documents\IISExpress\TraceLogFiles\
Config Source:
</configSections>
<ConnectionStrings>
<add name="NorthWindConnection" providerName="Sytem.Data.SqlClient" ConnectionString="DataSource=.;Initial Catalog=NorthWindDb; User id=sa;password=xxxxx"/>
 

Answers (2)