nr673602
-
9/8/2006 9:22:55 PM
Shopping Cart Question
After every modification made to shopping cart/ThankYou.aspx.cs code I am receiving the following error:
System.InvalidCastException was unhandled by user code Message="Unable to cast object of type 'ASP.shoppingcart_commercereviewitem_ascx' to type 'WebProject.CommerceReviewItem'."
Upon restarting Visual Studio, running, and then clicking on my product which links the user to the shopping cart module I receive this error:
System.IO.FileNotFoundException was unhandled by user code Message="Could not load file or assembly 'App_Web_y4fxieau, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified."
Upon once again restarting Visual Studio, running, and then clicking on my product which links the user to the shopping cart module, everything works as expected. Please note that I am not making any changes between these restarts.
This is the second project in which I have had the same problem with the shopping cart. Everything ends up working, but it is a great annoyance to constantly be restarting the entire project, twice, every time I change code on the page.
The only other changes I have made to anything in the shopping cart module were to comment out the email code, and I have added one column to the COM_Customer Table.
Any assistance would be appreciated.
|