<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>TheBeerHouse Work Item Rss Feed</title><link>http://www.codeplex.com/WorkItem/List.aspx?ProjectName=TheBeerHouse</link><description>TheBeerHouse Work Item Rss Description</description><item><title>Commented Issue: database attachment error [28417]</title><link>http://thebeerhouse.codeplex.com/workitem/28417</link><description>I am using sql server 2008 express edition. when i am trying to attach the mdf file i am getting the error which is in attachment.&lt;br /&gt;&lt;br /&gt;if any one can give me a solution&lt;br /&gt;&lt;br /&gt;Thanks in advacne&lt;br /&gt;Comments: ** Comment from web user: Tuvshuu ** &lt;p&gt;me too i&amp;#39;m trying to use beer house mvc code.&lt;br /&gt;Even i used sql server 2008 express edition &lt;br /&gt;Error msg is &amp;#34;beer house .MDF&amp;#39; cannot be opened because it is version 655. This server supports version 612 and earlier. A downgrade path is not supported.Could not open new database&amp;#34;&lt;br /&gt;someone pls provide me published sql file&lt;/p&gt;</description><author>Tuvshuu</author><pubDate>Tue, 28 Sep 2010 05:46:23 GMT</pubDate><guid isPermaLink="false">Commented Issue: database attachment error [28417] 20100928054623A</guid></item><item><title>Created Issue: database attachment error [28417]</title><link>http://thebeerhouse.codeplex.com/workitem/28417</link><description>I am using sql server 2008 express edition. when i am trying to attach the mdf file i am getting the error which is in attachment.&lt;br /&gt;&lt;br /&gt;if any one can give me a solution&lt;br /&gt;&lt;br /&gt;Thanks in advacne&lt;br /&gt;</description><author>nkaryan</author><pubDate>Thu, 05 Aug 2010 00:58:00 GMT</pubDate><guid isPermaLink="false">Created Issue: database attachment error [28417] 20100805125800A</guid></item><item><title>Created Issue: License has expired name [28020]</title><link>http://thebeerhouse.codeplex.com/workitem/28020</link><description>The license that this project is under should be updated to be displayed as Microsoft Reciprocal License &amp;#40;Ms-RL&amp;#41;. More information can be found on http&amp;#58;&amp;#47;&amp;#47;en.wikipedia.org&amp;#47;wiki&amp;#47;Shared_source&amp;#35;Microsoft_Enterprise_Source_Licensing_Program&lt;br /&gt;&lt;br /&gt;This should be updated so it is easier for potential users to research the license as I had difficulties researching the licensing as the page stands currently where as if it was identified as the Ms-RL license I would have found information immediately.&lt;br /&gt;</description><author>dotnetchris</author><pubDate>Thu, 08 Jul 2010 16:40:25 GMT</pubDate><guid isPermaLink="false">Created Issue: License has expired name [28020] 20100708044025P</guid></item><item><title>Created Issue: The BEER HOUSE CS Version "Remember Me" not working in IE [27822]</title><link>http://thebeerhouse.codeplex.com/workitem/27822</link><description>The BEER HOUSE CS Version &amp;#34;Remember Me&amp;#34; not working in IE&lt;br /&gt;&lt;br /&gt;please help me&lt;br /&gt;</description><author>AMahendra</author><pubDate>Tue, 22 Jun 2010 08:31:41 GMT</pubDate><guid isPermaLink="false">Created Issue: The BEER HOUSE CS Version "Remember Me" not working in IE [27822] 20100622083141A</guid></item><item><title>Commented Issue: DB Error... Cannot open database... [26992]</title><link>http://thebeerhouse.codeplex.com/workitem/26992</link><description>This is my first look at this sample and from what I have read about it its perfect for teh base of my new WEB project.&lt;br /&gt;&lt;br /&gt;BUT&lt;br /&gt;&lt;br /&gt;I am getting the following error...&lt;br /&gt;Cannot open database &amp;#34;TheBeerHouseVB&amp;#34; requested by the login. The login failed.&lt;br /&gt;Login failed for user &amp;#39;AnnePerry-PC&amp;#92;Phill&amp;#39;. &lt;br /&gt;&lt;br /&gt;I changed the web.config file to reflect the following...&amp;#9;&amp;#60;add name&amp;#61;&amp;#34;LocalSqlServer&amp;#34; connectionString&amp;#61;&amp;#34;Data Source&amp;#61;&amp;#126;&amp;#47;App_Data&amp;#47;ASPNETDB.MDF&amp;#59;Initial Catalog&amp;#61;TheBeerHouseVB&amp;#59;Integrated Security&amp;#61;True&amp;#59;&amp;#34; providerName&amp;#61;&amp;#34;System.Data.SqlClient&amp;#34;&amp;#47;&amp;#62;&lt;br /&gt;&lt;br /&gt;I am not sure what I have missed&amp;#63;  I have put the DB in the App_Data folder as usual... I have connected to it in the Server Explorer.  I even went outside to my SWL Manager to check that it could see it too.  I tried to open the DB using the ASP.NET Configuration tool and it failed to connect to the DB also.  That is a first for me&amp;#33;&lt;br /&gt;&lt;br /&gt;I am greateful for any assistance I can get... thanks&lt;br /&gt;Phill&lt;br /&gt;&lt;br /&gt;Stack Trace...&lt;br /&gt;&lt;br /&gt;&amp;#91;SqlException &amp;#40;0x80131904&amp;#41;&amp;#58; Cannot open database &amp;#34;TheBeerHouseVB&amp;#34; requested by the login. The login failed.&lt;br /&gt;Login failed for user &amp;#39;AnnePerry-PC&amp;#92;Phill&amp;#39;.&amp;#93;&lt;br /&gt;   System.Data.SqlClient.SqlInternalConnection.OnError&amp;#40;SqlException exception, Boolean breakConnection&amp;#41; &amp;#43;4849719&lt;br /&gt;   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning&amp;#40;TdsParserStateObject stateObj&amp;#41; &amp;#43;194&lt;br /&gt;   System.Data.SqlClient.TdsParser.Run&amp;#40;RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj&amp;#41; &amp;#43;2392&lt;br /&gt;   System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin&amp;#40;Boolean enlistOK&amp;#41; &amp;#43;35&lt;br /&gt;   System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin&amp;#40;ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject&amp;#41; &amp;#43;144&lt;br /&gt;   System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover&amp;#40;String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart&amp;#41; &amp;#43;342&lt;br /&gt;   System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist&amp;#40;SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance&amp;#41; &amp;#43;221&lt;br /&gt;   System.Data.SqlClient.SqlInternalConnectionTds..ctor&amp;#40;DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance&amp;#41; &amp;#43;189&lt;br /&gt;   System.Data.SqlClient.SqlConnectionFactory.CreateConnection&amp;#40;DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection&amp;#41; &amp;#43;185&lt;br /&gt;   System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection&amp;#40;DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options&amp;#41; &amp;#43;31&lt;br /&gt;   System.Data.ProviderBase.DbConnectionPool.CreateObject&amp;#40;DbConnection owningObject&amp;#41; &amp;#43;433&lt;br /&gt;   System.Data.ProviderBase.DbConnectionPool.UserCreateRequest&amp;#40;DbConnection owningObject&amp;#41; &amp;#43;66&lt;br /&gt;   System.Data.ProviderBase.DbConnectionPool.GetConnection&amp;#40;DbConnection owningObject&amp;#41; &amp;#43;499&lt;br /&gt;   System.Data.ProviderBase.DbConnectionFactory.GetConnection&amp;#40;DbConnection owningConnection&amp;#41; &amp;#43;65&lt;br /&gt;   System.Data.ProviderBase.DbConnectionClosed.OpenConnection&amp;#40;DbConnection outerConnection, DbConnectionFactory connectionFactory&amp;#41; &amp;#43;117&lt;br /&gt;   System.Data.SqlClient.SqlConnection.Open&amp;#40;&amp;#41; &amp;#43;122&lt;br /&gt;   System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf&amp;#40;Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean&amp;#38; closeStoreConnectionOnFailure&amp;#41; &amp;#43;47&lt;br /&gt;&lt;br /&gt;&amp;#91;EntityException&amp;#58; The underlying provider failed on Open.&amp;#93;&lt;br /&gt;   System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf&amp;#40;Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean&amp;#38; closeStoreConnectionOnFailure&amp;#41; &amp;#43;168&lt;br /&gt;   System.Data.EntityClient.EntityConnection.Open&amp;#40;&amp;#41; &amp;#43;96&lt;br /&gt;   System.Data.Objects.ObjectContext.EnsureConnection&amp;#40;&amp;#41; &amp;#43;81&lt;br /&gt;   System.Data.Objects.ObjectQuery&amp;#96;1.GetResults&amp;#40;Nullable&amp;#96;1 forMergeOption&amp;#41; &amp;#43;46&lt;br /&gt;   System.Data.Objects.ObjectQuery&amp;#96;1.System.Collections.Generic.IEnumerable&amp;#60;T&amp;#62;.GetEnumerator&amp;#40;&amp;#41; &amp;#43;44&lt;br /&gt;   System.Linq.Enumerable.FirstOrDefault&amp;#40;IEnumerable&amp;#96;1 source&amp;#41; &amp;#43;203&lt;br /&gt;   System.Data.Objects.ELinq.ObjectQueryProvider.&amp;#60;GetElementFunction&amp;#62;b__1&amp;#40;IEnumerable&amp;#96;1 sequence&amp;#41; &amp;#43;40&lt;br /&gt;   System.Data.Objects.ELinq.ObjectQueryProvider.ExecuteSingle&amp;#40;IEnumerable&amp;#96;1 query, Expression queryRoot&amp;#41; &amp;#43;59&lt;br /&gt;   System.Data.Objects.ELinq.ObjectQueryProvider.System.Linq.IQueryProvider.Execute&amp;#40;Expression expression&amp;#41; &amp;#43;109&lt;br /&gt;   System.Linq.Queryable.FirstOrDefault&amp;#40;IQueryable&amp;#96;1 source&amp;#41; &amp;#43;269&lt;br /&gt;   BLL.SiteMapRepository.GetSiteMapInfoByURL&amp;#40;String URL&amp;#41; in C&amp;#58;&amp;#92;Application Projects&amp;#92;BeerHouse&amp;#92;C&amp;#92;TBHBLL&amp;#92;Navigation&amp;#92;SiteMapRepository.cs&amp;#58;137&lt;br /&gt;   TheBeerHouse.URLRewrite.Rewrite&amp;#40;HttpApplication app&amp;#41; in C&amp;#58;&amp;#92;Application Projects&amp;#92;BeerHouse&amp;#92;C&amp;#92;TBHBLL&amp;#92;Modules&amp;#92;URLRewrite.cs&amp;#58;56&lt;br /&gt;   TheBeerHouse.URLRewrite.BeginRequest&amp;#40;Object sender, EventArgs e&amp;#41; in C&amp;#58;&amp;#92;Application Projects&amp;#92;BeerHouse&amp;#92;C&amp;#92;TBHBLL&amp;#92;Modules&amp;#92;URLRewrite.cs&amp;#58;39&lt;br /&gt;   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute&amp;#40;&amp;#41; &amp;#43;68&lt;br /&gt;   System.Web.HttpApplication.ExecuteStep&amp;#40;IExecutionStep step, Boolean&amp;#38; completedSynchronously&amp;#41; &amp;#43;75&lt;br /&gt;Comments: ** Comment from web user: Mokshad ** &lt;p&gt;hi&lt;/p&gt;</description><author>Mokshad</author><pubDate>Wed, 09 Jun 2010 11:12:44 GMT</pubDate><guid isPermaLink="false">Commented Issue: DB Error... Cannot open database... [26992] 20100609111244A</guid></item><item><title>Commented Issue: keyur [27442]</title><link>http://thebeerhouse.codeplex.com/workitem/27442</link><description>hi&lt;br /&gt;Comments: ** Comment from web user: Mokshad ** &lt;p&gt;hello&lt;/p&gt;</description><author>Mokshad</author><pubDate>Wed, 09 Jun 2010 11:03:29 GMT</pubDate><guid isPermaLink="false">Commented Issue: keyur [27442] 20100609110329A</guid></item><item><title>Commented Issue: keyur [27442]</title><link>http://thebeerhouse.codeplex.com/workitem/27442</link><description>hi&lt;br /&gt;Comments: ** Comment from web user: Mokshad ** &lt;p&gt;hi&lt;/p&gt;</description><author>Mokshad</author><pubDate>Wed, 09 Jun 2010 11:01:02 GMT</pubDate><guid isPermaLink="false">Commented Issue: keyur [27442] 20100609110102A</guid></item><item><title>Created Issue: keyur [27442]</title><link>http://thebeerhouse.codeplex.com/workitem/27442</link><description>hi&lt;br /&gt;</description><author>Mokshad</author><pubDate>Wed, 09 Jun 2010 11:00:14 GMT</pubDate><guid isPermaLink="false">Created Issue: keyur [27442] 20100609110014A</guid></item><item><title>Commented Issue: Bug (and fix) in ShoppingCart.aspx [26730]</title><link>http://thebeerhouse.codeplex.com/workitem/26730</link><description>The UpdateTotals&amp;#40;&amp;#41; routine does not work if you have 2 or more items with the first item having more than 1 quantity in the shopping cart.&lt;br /&gt;The problem is the cartItems enumerator is in the for loop so it gets reset back to the beginning of the enumeration for each item.&lt;br /&gt;&lt;br /&gt;Also the int i &amp;#61; 0&amp;#59; and i &amp;#43;&amp;#61; 1&amp;#59; in the routine serves no purpose and can be deleted.&lt;br /&gt;&lt;br /&gt;The fix is remove the cartItems enumerator out of the for loop and paste it above the for loop instead. Below is the fixed code&amp;#58;&lt;br /&gt;&lt;br /&gt;protected void UpdateTotals&amp;#40;&amp;#41;&lt;br /&gt;    &amp;#123;&lt;br /&gt;&lt;br /&gt;        IEnumerator cartItems &amp;#61; lShoppingCart.Items.GetEnumerator&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;        foreach &amp;#40;ListViewDataItem lvdi in lvOrderItems.Items&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;&lt;br /&gt;            ShoppingCartItem lCartItem &amp;#61; null&amp;#59; &amp;#47;&amp;#47; &amp;#61; &amp;#40;ShoppingCartItem&amp;#41;lShoppingCart.Items.ElementAtOrDefault&amp;#40;i&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;            &lt;br /&gt;            while &amp;#40;cartItems.MoveNext&amp;#40;&amp;#41;&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                lCartItem &amp;#61; &amp;#40;ShoppingCartItem&amp;#41;cartItems.Current&amp;#59;&lt;br /&gt;                break&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;&lt;br /&gt;            if &amp;#40;lCartItem &amp;#33;&amp;#61; null&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;&lt;br /&gt;                int id &amp;#61; lCartItem.ID&amp;#59;&lt;br /&gt;                int quantity &amp;#61; int.Parse&amp;#40;&amp;#40;&amp;#40;TextBox&amp;#41;lvdi.FindControl&amp;#40;&amp;#34;txtQuantity&amp;#34;&amp;#41;&amp;#41;.Text&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;                lShoppingCart.UpdateItemQuantity&amp;#40;id, quantity&amp;#41;&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;&lt;br /&gt;        &amp;#125;&lt;br /&gt;Comments: ** Comment from web user: sisnaz ** &lt;p&gt;I posted the fix above - The cartItems enumeration should not be in the for loop.... additionally the problem isn&amp;#39;t just with deleting items.&lt;/p&gt;</description><author>sisnaz</author><pubDate>Thu, 03 Jun 2010 23:13:03 GMT</pubDate><guid isPermaLink="false">Commented Issue: Bug (and fix) in ShoppingCart.aspx [26730] 20100603111303P</guid></item><item><title>Commented Issue: Bug (and fix) in ShoppingCart.aspx [26730]</title><link>http://thebeerhouse.codeplex.com/WorkItem/View.aspx?WorkItemId=26730</link><description>The UpdateTotals&amp;#40;&amp;#41; routine does not work if you have 2 or more items with the first item having more than 1 quantity in the shopping cart.&lt;br /&gt;The problem is the cartItems enumerator is in the for loop so it gets reset back to the beginning of the enumeration for each item.&lt;br /&gt;&lt;br /&gt;Also the int i &amp;#61; 0&amp;#59; and i &amp;#43;&amp;#61; 1&amp;#59; in the routine serves no purpose and can be deleted.&lt;br /&gt;&lt;br /&gt;The fix is remove the cartItems enumerator out of the for loop and paste it above the for loop instead. Below is the fixed code&amp;#58;&lt;br /&gt;&lt;br /&gt;protected void UpdateTotals&amp;#40;&amp;#41;&lt;br /&gt;    &amp;#123;&lt;br /&gt;&lt;br /&gt;        IEnumerator cartItems &amp;#61; lShoppingCart.Items.GetEnumerator&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;        foreach &amp;#40;ListViewDataItem lvdi in lvOrderItems.Items&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;&lt;br /&gt;            ShoppingCartItem lCartItem &amp;#61; null&amp;#59; &amp;#47;&amp;#47; &amp;#61; &amp;#40;ShoppingCartItem&amp;#41;lShoppingCart.Items.ElementAtOrDefault&amp;#40;i&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;            &lt;br /&gt;            while &amp;#40;cartItems.MoveNext&amp;#40;&amp;#41;&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                lCartItem &amp;#61; &amp;#40;ShoppingCartItem&amp;#41;cartItems.Current&amp;#59;&lt;br /&gt;                break&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;&lt;br /&gt;            if &amp;#40;lCartItem &amp;#33;&amp;#61; null&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;&lt;br /&gt;                int id &amp;#61; lCartItem.ID&amp;#59;&lt;br /&gt;                int quantity &amp;#61; int.Parse&amp;#40;&amp;#40;&amp;#40;TextBox&amp;#41;lvdi.FindControl&amp;#40;&amp;#34;txtQuantity&amp;#34;&amp;#41;&amp;#41;.Text&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;                lShoppingCart.UpdateItemQuantity&amp;#40;id, quantity&amp;#41;&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;&lt;br /&gt;        &amp;#125;&lt;br /&gt;Comments: ** Comment from web user: vanbach1304 ** &lt;p&gt;You can fix this by adding code to commerce.js file for after delete item the page will reload.&lt;br /&gt;&amp;#36;&amp;#40;&amp;#34;.delete-item-button&amp;#34;&amp;#41;.click&amp;#40;function &amp;#40;&amp;#41; &amp;#123;&lt;br /&gt;    var productId &amp;#61; &amp;#36;&amp;#40;this&amp;#41;.attr&amp;#40;&amp;#34;meta&amp;#58;id&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;    var form &amp;#61; &amp;#36;&amp;#40;this&amp;#41;.parent&amp;#40;&amp;#34;form&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;    &amp;#36;.post&amp;#40;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#34;&amp;#47;Commerce&amp;#47;DeleteShoppingCartItem&amp;#34;,&lt;br /&gt;&amp;#9;&amp;#9;&amp;#123; id&amp;#58; productId &amp;#125;,&lt;br /&gt;&amp;#9;&amp;#9;function &amp;#40;data&amp;#41; &amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;    &amp;#36;&amp;#40;&amp;#34;&amp;#35;item-&amp;#34; &amp;#43; data.object.id&amp;#41;.remove&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;            &amp;#47;&amp;#47;Reload whole page&lt;br /&gt;&amp;#9;&amp;#9;    location.reload&amp;#40;form&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#125;,&lt;br /&gt;&amp;#9;&amp;#9;&amp;#34;json&amp;#34;&lt;br /&gt;&amp;#9;&amp;#41;&amp;#59;&lt;br /&gt;    return false&amp;#59;&lt;br /&gt;&amp;#125;&amp;#41;&amp;#59;&lt;/p&gt;</description><author>vanbach1304</author><pubDate>Fri, 14 May 2010 09:27:20 GMT</pubDate><guid isPermaLink="false">Commented Issue: Bug (and fix) in ShoppingCart.aspx [26730] 20100514092720A</guid></item><item><title>Created Issue: DB Error... Cannot open database... [26992]</title><link>http://thebeerhouse.codeplex.com/WorkItem/View.aspx?WorkItemId=26992</link><description>This is my first look at this sample and from what I have read about it its perfect for teh base of my new WEB project.&lt;br /&gt;&lt;br /&gt;BUT&lt;br /&gt;&lt;br /&gt;I am getting the following error...&lt;br /&gt;Cannot open database &amp;#34;TheBeerHouseVB&amp;#34; requested by the login. The login failed.&lt;br /&gt;Login failed for user &amp;#39;AnnePerry-PC&amp;#92;Phill&amp;#39;. &lt;br /&gt;&lt;br /&gt;I changed the web.config file to reflect the following...&amp;#9;&amp;#60;add name&amp;#61;&amp;#34;LocalSqlServer&amp;#34; connectionString&amp;#61;&amp;#34;Data Source&amp;#61;&amp;#126;&amp;#47;App_Data&amp;#47;ASPNETDB.MDF&amp;#59;Initial Catalog&amp;#61;TheBeerHouseVB&amp;#59;Integrated Security&amp;#61;True&amp;#59;&amp;#34; providerName&amp;#61;&amp;#34;System.Data.SqlClient&amp;#34;&amp;#47;&amp;#62;&lt;br /&gt;&lt;br /&gt;I am not sure what I have missed&amp;#63;  I have put the DB in the App_Data folder as usual... I have connected to it in the Server Explorer.  I even went outside to my SWL Manager to check that it could see it too.  I tried to open the DB using the ASP.NET Configuration tool and it failed to connect to the DB also.  That is a first for me&amp;#33;&lt;br /&gt;&lt;br /&gt;I am greateful for any assistance I can get... thanks&lt;br /&gt;Phill&lt;br /&gt;&lt;br /&gt;Stack Trace...&lt;br /&gt;&lt;br /&gt;&amp;#91;SqlException &amp;#40;0x80131904&amp;#41;&amp;#58; Cannot open database &amp;#34;TheBeerHouseVB&amp;#34; requested by the login. The login failed.&lt;br /&gt;Login failed for user &amp;#39;AnnePerry-PC&amp;#92;Phill&amp;#39;.&amp;#93;&lt;br /&gt;   System.Data.SqlClient.SqlInternalConnection.OnError&amp;#40;SqlException exception, Boolean breakConnection&amp;#41; &amp;#43;4849719&lt;br /&gt;   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning&amp;#40;TdsParserStateObject stateObj&amp;#41; &amp;#43;194&lt;br /&gt;   System.Data.SqlClient.TdsParser.Run&amp;#40;RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj&amp;#41; &amp;#43;2392&lt;br /&gt;   System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin&amp;#40;Boolean enlistOK&amp;#41; &amp;#43;35&lt;br /&gt;   System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin&amp;#40;ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject&amp;#41; &amp;#43;144&lt;br /&gt;   System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover&amp;#40;String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart&amp;#41; &amp;#43;342&lt;br /&gt;   System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist&amp;#40;SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance&amp;#41; &amp;#43;221&lt;br /&gt;   System.Data.SqlClient.SqlInternalConnectionTds..ctor&amp;#40;DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance&amp;#41; &amp;#43;189&lt;br /&gt;   System.Data.SqlClient.SqlConnectionFactory.CreateConnection&amp;#40;DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection&amp;#41; &amp;#43;185&lt;br /&gt;   System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection&amp;#40;DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options&amp;#41; &amp;#43;31&lt;br /&gt;   System.Data.ProviderBase.DbConnectionPool.CreateObject&amp;#40;DbConnection owningObject&amp;#41; &amp;#43;433&lt;br /&gt;   System.Data.ProviderBase.DbConnectionPool.UserCreateRequest&amp;#40;DbConnection owningObject&amp;#41; &amp;#43;66&lt;br /&gt;   System.Data.ProviderBase.DbConnectionPool.GetConnection&amp;#40;DbConnection owningObject&amp;#41; &amp;#43;499&lt;br /&gt;   System.Data.ProviderBase.DbConnectionFactory.GetConnection&amp;#40;DbConnection owningConnection&amp;#41; &amp;#43;65&lt;br /&gt;   System.Data.ProviderBase.DbConnectionClosed.OpenConnection&amp;#40;DbConnection outerConnection, DbConnectionFactory connectionFactory&amp;#41; &amp;#43;117&lt;br /&gt;   System.Data.SqlClient.SqlConnection.Open&amp;#40;&amp;#41; &amp;#43;122&lt;br /&gt;   System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf&amp;#40;Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean&amp;#38; closeStoreConnectionOnFailure&amp;#41; &amp;#43;47&lt;br /&gt;&lt;br /&gt;&amp;#91;EntityException&amp;#58; The underlying provider failed on Open.&amp;#93;&lt;br /&gt;   System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf&amp;#40;Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean&amp;#38; closeStoreConnectionOnFailure&amp;#41; &amp;#43;168&lt;br /&gt;   System.Data.EntityClient.EntityConnection.Open&amp;#40;&amp;#41; &amp;#43;96&lt;br /&gt;   System.Data.Objects.ObjectContext.EnsureConnection&amp;#40;&amp;#41; &amp;#43;81&lt;br /&gt;   System.Data.Objects.ObjectQuery&amp;#96;1.GetResults&amp;#40;Nullable&amp;#96;1 forMergeOption&amp;#41; &amp;#43;46&lt;br /&gt;   System.Data.Objects.ObjectQuery&amp;#96;1.System.Collections.Generic.IEnumerable&amp;#60;T&amp;#62;.GetEnumerator&amp;#40;&amp;#41; &amp;#43;44&lt;br /&gt;   System.Linq.Enumerable.FirstOrDefault&amp;#40;IEnumerable&amp;#96;1 source&amp;#41; &amp;#43;203&lt;br /&gt;   System.Data.Objects.ELinq.ObjectQueryProvider.&amp;#60;GetElementFunction&amp;#62;b__1&amp;#40;IEnumerable&amp;#96;1 sequence&amp;#41; &amp;#43;40&lt;br /&gt;   System.Data.Objects.ELinq.ObjectQueryProvider.ExecuteSingle&amp;#40;IEnumerable&amp;#96;1 query, Expression queryRoot&amp;#41; &amp;#43;59&lt;br /&gt;   System.Data.Objects.ELinq.ObjectQueryProvider.System.Linq.IQueryProvider.Execute&amp;#40;Expression expression&amp;#41; &amp;#43;109&lt;br /&gt;   System.Linq.Queryable.FirstOrDefault&amp;#40;IQueryable&amp;#96;1 source&amp;#41; &amp;#43;269&lt;br /&gt;   BLL.SiteMapRepository.GetSiteMapInfoByURL&amp;#40;String URL&amp;#41; in C&amp;#58;&amp;#92;Application Projects&amp;#92;BeerHouse&amp;#92;C&amp;#92;TBHBLL&amp;#92;Navigation&amp;#92;SiteMapRepository.cs&amp;#58;137&lt;br /&gt;   TheBeerHouse.URLRewrite.Rewrite&amp;#40;HttpApplication app&amp;#41; in C&amp;#58;&amp;#92;Application Projects&amp;#92;BeerHouse&amp;#92;C&amp;#92;TBHBLL&amp;#92;Modules&amp;#92;URLRewrite.cs&amp;#58;56&lt;br /&gt;   TheBeerHouse.URLRewrite.BeginRequest&amp;#40;Object sender, EventArgs e&amp;#41; in C&amp;#58;&amp;#92;Application Projects&amp;#92;BeerHouse&amp;#92;C&amp;#92;TBHBLL&amp;#92;Modules&amp;#92;URLRewrite.cs&amp;#58;39&lt;br /&gt;   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute&amp;#40;&amp;#41; &amp;#43;68&lt;br /&gt;   System.Web.HttpApplication.ExecuteStep&amp;#40;IExecutionStep step, Boolean&amp;#38; completedSynchronously&amp;#41; &amp;#43;75&lt;br /&gt;</description><author>SquireDude</author><pubDate>Thu, 06 May 2010 22:27:35 GMT</pubDate><guid isPermaLink="false">Created Issue: DB Error... Cannot open database... [26992] 20100506102735P</guid></item><item><title>Created Issue: Server Error in '/' Application [26805]</title><link>http://thebeerhouse.codeplex.com/WorkItem/View.aspx?WorkItemId=26805</link><description>I&amp;#39;ve recently upgraded ASP.NET MVC TheBeerHouse from MVC 1.0 to MVC 2.0 and get the following error&amp;#58; &lt;br /&gt;&lt;br /&gt;Method not found&amp;#58; &amp;#39;System.Collections.Generic.IDictionary&amp;#96;2&amp;#60;System.String,System.Web.Mvc.ValueProviderResult&amp;#62; System.Web.Mvc.ModelBindingContext.get_ValueProvider&amp;#40;&amp;#41;&amp;#39;. &lt;br /&gt;Description&amp;#58; An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;br /&gt;&lt;br /&gt;Exception Details&amp;#58; System.MissingMethodException&amp;#58; Method not found&amp;#58; &amp;#39;System.Collections.Generic.IDictionary&amp;#96;2&amp;#60;System.String,System.Web.Mvc.ValueProviderResult&amp;#62; System.Web.Mvc.ModelBindingContext.get_ValueProvider&amp;#40;&amp;#41;&amp;#39;.&lt;br /&gt;&lt;br /&gt;Source Error&amp;#58; &lt;br /&gt;&lt;br /&gt;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  &lt;br /&gt;&lt;br /&gt;If any come across this error and find it&amp;#39;s solution please let&amp;#39;s me know.&lt;br /&gt;&lt;br /&gt;Thanks you&lt;br /&gt;</description><author>vanbach1304</author><pubDate>Sun, 18 Apr 2010 15:23:03 GMT</pubDate><guid isPermaLink="false">Created Issue: Server Error in '/' Application [26805] 20100418032303P</guid></item><item><title>Created Issue: Helpers.CleanForUrl missing in 35 version [26791]</title><link>http://thebeerhouse.codeplex.com/WorkItem/View.aspx?WorkItemId=26791</link><description>Sometime after or in build 59969, the Helpers.CleanForURL was introduced in several classes &amp;#40;like Admin&amp;#47;ManageAlbums.aspx.cs&amp;#41; but has not been added to Helpers.&lt;br /&gt;</description><author>dalej</author><pubDate>Fri, 16 Apr 2010 17:21:23 GMT</pubDate><guid isPermaLink="false">Created Issue: Helpers.CleanForUrl missing in 35 version [26791] 20100416052123P</guid></item><item><title>Commented Issue: Object reference not set to an instance of an object. [26771]</title><link>http://thebeerhouse.codeplex.com/WorkItem/View.aspx?WorkItemId=26771</link><description>The variable which is likely cause of this error is not an object reference but I still got this error and really don&amp;#39;t know how to deal with it. I&amp;#39;ve attach a file contains error detail in IE . Please help me to solve it .&lt;br /&gt;&lt;br /&gt;Thank you in advance.&lt;br /&gt;Comments: ** Comment from web user: vanbach1304 ** &lt;p&gt;I&amp;#39;ve already solved this problem. &lt;/p&gt;</description><author>vanbach1304</author><pubDate>Fri, 16 Apr 2010 07:54:14 GMT</pubDate><guid isPermaLink="false">Commented Issue: Object reference not set to an instance of an object. [26771] 20100416075414A</guid></item><item><title>Created Issue: Object reference not set to an instance of an object. [26771]</title><link>http://thebeerhouse.codeplex.com/WorkItem/View.aspx?WorkItemId=26771</link><description>The variable which is likely cause of this error is not an object reference but I still got this error and really don&amp;#39;t know how to deal with it. I&amp;#39;ve attach a file contains error detail in IE . Please help me to solve it .&lt;br /&gt;&lt;br /&gt;Thank you in advance.&lt;br /&gt;</description><author>vanbach1304</author><pubDate>Wed, 14 Apr 2010 13:44:50 GMT</pubDate><guid isPermaLink="false">Created Issue: Object reference not set to an instance of an object. [26771] 20100414014450P</guid></item><item><title>Created Issue: Bug (and fix) in ShoppingCart.aspx [26730]</title><link>http://thebeerhouse.codeplex.com/WorkItem/View.aspx?WorkItemId=26730</link><description>The UpdateTotals&amp;#40;&amp;#41; routine does not work if you have 2 or more items with the first item having more than 1 quantity in the shopping cart.&lt;br /&gt;The problem is the cartItems enumerator is in the for loop so it gets reset back to the beginning of the enumeration for each item.&lt;br /&gt;&lt;br /&gt;Also the int i &amp;#61; 0&amp;#59; and i &amp;#43;&amp;#61; 1&amp;#59; in the routine serves no purpose and can be deleted.&lt;br /&gt;&lt;br /&gt;The fix is remove the cartItems enumerator out of the for loop and paste it above the for loop instead. Below is the fixed code&amp;#58;&lt;br /&gt;&lt;br /&gt;protected void UpdateTotals&amp;#40;&amp;#41;&lt;br /&gt;    &amp;#123;&lt;br /&gt;&lt;br /&gt;        IEnumerator cartItems &amp;#61; lShoppingCart.Items.GetEnumerator&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;        foreach &amp;#40;ListViewDataItem lvdi in lvOrderItems.Items&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;&lt;br /&gt;            ShoppingCartItem lCartItem &amp;#61; null&amp;#59; &amp;#47;&amp;#47; &amp;#61; &amp;#40;ShoppingCartItem&amp;#41;lShoppingCart.Items.ElementAtOrDefault&amp;#40;i&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;            &lt;br /&gt;            while &amp;#40;cartItems.MoveNext&amp;#40;&amp;#41;&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                lCartItem &amp;#61; &amp;#40;ShoppingCartItem&amp;#41;cartItems.Current&amp;#59;&lt;br /&gt;                break&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;&lt;br /&gt;            if &amp;#40;lCartItem &amp;#33;&amp;#61; null&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;&lt;br /&gt;                int id &amp;#61; lCartItem.ID&amp;#59;&lt;br /&gt;                int quantity &amp;#61; int.Parse&amp;#40;&amp;#40;&amp;#40;TextBox&amp;#41;lvdi.FindControl&amp;#40;&amp;#34;txtQuantity&amp;#34;&amp;#41;&amp;#41;.Text&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;                lShoppingCart.UpdateItemQuantity&amp;#40;id, quantity&amp;#41;&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;&lt;br /&gt;        &amp;#125;&lt;br /&gt;</description><author>sisnaz</author><pubDate>Fri, 09 Apr 2010 02:41:30 GMT</pubDate><guid isPermaLink="false">Created Issue: Bug (and fix) in ShoppingCart.aspx [26730] 20100409024130A</guid></item><item><title>Commented Issue: unable to get mvc project to build [26541]</title><link>http://thebeerhouse.codeplex.com/WorkItem/View.aspx?WorkItemId=26541</link><description>Using both http&amp;#58;&amp;#47;&amp;#47;thebeerhouse.codeplex.com&amp;#47;releases&amp;#47;view&amp;#47;27519  and the latest build 61392, I&amp;#39;m getting the following error&amp;#58;&lt;br /&gt;&lt;br /&gt;Error 17 The type or namespace name &amp;#39;TheBeerHouse&amp;#39; could not be found &amp;#40;are you missing a using directive or an assembly reference&amp;#63;&amp;#41; c&amp;#58;&amp;#92;Users&amp;#92;user&amp;#92;AppData&amp;#92;Local&amp;#92;Temp&amp;#92;Temporary ASP.NET Files&amp;#92;thebeerhouse&amp;#92;99881345&amp;#92;6e083a0b&amp;#92;App_Code.kxnv yswn.0.cs 124&lt;br /&gt;&lt;br /&gt;Also the project files don&amp;#39;t seem to work for me. I have had to open the website using the Open -&amp;#62; website, and selecting the folder.&lt;br /&gt;&lt;br /&gt;When I try and open the project file with VS2008 I get&lt;br /&gt;&lt;br /&gt;The project file &amp;#42;Path&amp;#42;&amp;#92;TheBeerHouse.csproj cannot be opened.&lt;br /&gt;The project type is not supported by this installation.&lt;br /&gt;&lt;br /&gt;And in VS2010 it opens project conversion wizard which fails and the source comes up unavailable.&lt;br /&gt;&lt;br /&gt;Any ideas what is causing this&amp;#63; I am having the same problems on both a windows 7 x64 machine and a xp x64 machine.&lt;br /&gt;Comments: ** Comment from web user: sanderst ** &lt;p&gt;I found the solution. This seems to be an issue that occurs when MVC 2 is installed, running this tool solved the problem for me. &lt;/p&gt;&lt;p&gt;http&amp;#58;&amp;#47;&amp;#47;weblogs.asp.net&amp;#47;leftslipper&amp;#47;archive&amp;#47;2010&amp;#47;03&amp;#47;10&amp;#47;migrating-asp-net-mvc-1-0-applications-to-asp-net-mvc-2-rtm.aspx&lt;/p&gt;</description><author>sanderst</author><pubDate>Fri, 26 Mar 2010 16:17:57 GMT</pubDate><guid isPermaLink="false">Commented Issue: unable to get mvc project to build [26541] 20100326041757P</guid></item><item><title>Created Issue: unable to get mvc project to build [26541]</title><link>http://thebeerhouse.codeplex.com/WorkItem/View.aspx?WorkItemId=26541</link><description>Using both http&amp;#58;&amp;#47;&amp;#47;thebeerhouse.codeplex.com&amp;#47;releases&amp;#47;view&amp;#47;27519  and the latest build 61392, I&amp;#39;m getting the following error&amp;#58;&lt;br /&gt;&lt;br /&gt;Error 17 The type or namespace name &amp;#39;TheBeerHouse&amp;#39; could not be found &amp;#40;are you missing a using directive or an assembly reference&amp;#63;&amp;#41; c&amp;#58;&amp;#92;Users&amp;#92;user&amp;#92;AppData&amp;#92;Local&amp;#92;Temp&amp;#92;Temporary ASP.NET Files&amp;#92;thebeerhouse&amp;#92;99881345&amp;#92;6e083a0b&amp;#92;App_Code.kxnv yswn.0.cs 124&lt;br /&gt;&lt;br /&gt;Also the project files don&amp;#39;t seem to work for me. I have had to open the website using the Open -&amp;#62; website, and selecting the folder.&lt;br /&gt;&lt;br /&gt;When I try and open the project file with VS2008 I get&lt;br /&gt;&lt;br /&gt;The project file &amp;#42;Path&amp;#42;&amp;#92;TheBeerHouse.csproj cannot be opened.&lt;br /&gt;The project type is not supported by this installation.&lt;br /&gt;&lt;br /&gt;And in VS2010 it opens project conversion wizard which fails and the source comes up unavailable.&lt;br /&gt;&lt;br /&gt;Any ideas what is causing this&amp;#63; I am having the same problems on both a windows 7 x64 machine and a xp x64 machine.&lt;br /&gt;</description><author>sanderst</author><pubDate>Mon, 22 Mar 2010 16:11:21 GMT</pubDate><guid isPermaLink="false">Created Issue: unable to get mvc project to build [26541] 20100322041121P</guid></item><item><title>Created Issue: Immediate Information and help required?? [26460]</title><link>http://thebeerhouse.codeplex.com/WorkItem/View.aspx?WorkItemId=26460</link><description>I have downloaded and unzipped the thebeerhouse mvc version . When I compile the codeafter unzipping and adding the required resources to the project the following error has occured&lt;br /&gt;&lt;br /&gt;&amp;#34; Error&amp;#9;1&amp;#9;The type or namespace name &amp;#39;TheBeerHouse&amp;#39; could not be found &amp;#40;are you missing a using directive or an assembly reference&amp;#63;&amp;#41;&amp;#9;c&amp;#58;&amp;#92;WINDOWS&amp;#92;Microsoft.NET&amp;#92;Framework&amp;#92;v2.0.50727&amp;#92;Temporary ASP.NET Files&amp;#92;thebeerhouse&amp;#92;1149d7c9&amp;#92;de4a17d0&amp;#92;App_Code.9myakymm.0.cs&amp;#9;142&amp;#9;&lt;br /&gt; &amp;#34;&lt;br /&gt;Please help me as soon as possible&lt;br /&gt;thanks and regard &lt;br /&gt;Hamid&lt;br /&gt;</description><author>razzahamid</author><pubDate>Fri, 12 Mar 2010 06:32:04 GMT</pubDate><guid isPermaLink="false">Created Issue: Immediate Information and help required?? [26460] 20100312063204A</guid></item><item><title>Commented Issue: Failed to update database "TheBeerHouseVB" because the database is read-only. [25333]</title><link>http://thebeerhouse.codeplex.com/WorkItem/View.aspx?WorkItemId=25333</link><description>I received this message error &lt;br /&gt; &amp;#34;Failed to update database &amp;#34;TheBeerHouseVB&amp;#34; because the database is read-only.&amp;#34;&lt;br /&gt;&lt;br /&gt;I have VS2008 Team suite&lt;br /&gt;Sql 2008 Developer&lt;br /&gt;&lt;br /&gt;I did try to change the DB in ReadOnly &amp;#61; False &lt;br /&gt;But I do not have permissions&amp;#63;&amp;#63;&lt;br /&gt;&lt;br /&gt;Can anybodo help please&amp;#63;&amp;#63;&lt;br /&gt;Comments: ** Comment from web user: dreamcheater ** &lt;p&gt;I don&amp;#39;t know the technical reasons behind getting the database is read only error however, I can tell you that the database is full accessable when you execute the Beerhouse website. Assuming you actually have the Beerhouse up and running, log in as the administrator and it will give you full access to adding and removing articles, polls, users, and whatever else.&lt;/p&gt;</description><author>dreamcheater</author><pubDate>Fri, 05 Mar 2010 22:59:49 GMT</pubDate><guid isPermaLink="false">Commented Issue: Failed to update database "TheBeerHouseVB" because the database is read-only. [25333] 20100305105949P</guid></item></channel></rss>