Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Mar 21, 2012 02:17 PM by assafg2
Member
211 Points
330 Posts
Mar 21, 2012 02:17 PM|LINK
By default any new mvc 4 generate this 2 errors
Warning 1 The 'connectionStringName' attribute is not allowed.
Warning 2 The 'applicationName' attribute is not allowed.
It is referring to this line in the web. config
<providers> <add name="DefaultSessionProvider" type="System.Web.Providers.DefaultSessionStateProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" applicationName="/" /> </providers>
Any idea why?
assafg2
Member
211 Points
330 Posts
Mvc 4 connectionstring (default) Errors?
Mar 21, 2012 02:17 PM|LINK
By default any new mvc 4 generate this 2 errors
Warning 1 The 'connectionStringName' attribute is not allowed.
Warning 2 The 'applicationName' attribute is not allowed.
It is referring to this line in the web. config
<providers> <add name="DefaultSessionProvider" type="System.Web.Providers.DefaultSessionStateProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" applicationName="/" /> </providers>Any idea why?