One more thing is not clear
in the original connection string there is the following:
Code:
<add name="LocalSqlServer" connectionString="Data Source=ADEVELOPMENT\SQLEXPRESS;Initial Catalog=PTOPersonalization;User ID=V2Application;Password=wrox" providerName=""/>
The initial Catalog PTOPersonalization does not exist in the book code and is not mentioned in the book.
What do you think about this?
The machine configuration file has the LocalSqlServer connection string as follow
<add name="LocalSqlServer" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspn etdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
Shall i put in the web.config file the original database instead of Initial PTOPersonalization or shall i remove from the machine configuration file and the web.config file the SQLServer connection string?
The reason i am asking this is because i want to add a role in the Authorization Rules of IIS and associate this with V2Application but it does not allow me to do so when i remove the LocalSqlServer connection string from the configuration file with initial catalog as PTOpersonalization which does not exist aniway and is not mentioned in the book.
Am i on the right direction in adding a role in the IIS Authorization rules to the V2Application?
Hope is clear