who can help me in regard to web.config hi, when I publish my website. I got this "Parser Error Message: The connection name 'LocalSqlServer' was not found in the applications configuration or the connection string is empty." Winhost Knowledge Base says, http://support.Winhost.com/KB/a813/parser-error-message-connection-name-localsqlserver.aspx The solution is to modify my application's web.config as follows ============== <connectionStrings> <remove name="LocalSqlServer" /> <add name="LocalSqlServer" connectionString="Data Source=DBServerName;Integrated Security=false;Initial Catalog=DBName;User ID=DBLogin;Password=DBPassword" providerName="System.Data.SqlClient" /> </connectionStrings> ================ the problem is I don't know how to modify,this is my web.config ================ <connectionStrings> <add name="MvcMusicStoreEntities" connectionString="metadata=res://*/Models.StoreDB.csdl|res://*/Models.StoreDB.ssdl|res://*/Models.StoreDB.msl;provider=System.Data.SqlClient;provider connection string="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\MvcMusicStore.mdf;Integrated Security=True;User Instance=True;MultipleActiveResultSets=True"" providerName="System.Data.EntityClient" /> </connectionStrings> ==================== Who can tell me how to modify it according as my web.config? Thanks very much!
Try looking at this kb article. http://support.Winhost.com/KB/a813/parser-error-message-connection-name-localsqlserver.aspx