No definition for BasketItemKitProducts

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
lbrewerandassoc
Ensign (ENS)
Ensign (ENS)
Posts: 13
Joined: Wed May 27, 2009 4:17 pm

No definition for BasketItemKitProducts

Post by lbrewerandassoc » Sat Aug 22, 2009 7:28 am

I just upgraded from 7.0.2 to 7.0.3 & getting these Build Errors. I also downloaded the latest commercebuilder.dll from 7/22 ( CommerceBuilder.DLL for 7.0.3 build 12624)

What am I missing? Even if I comment these areas out, I continue to receive CommerceBuilder.Orders & .Products errors.


'CommerceBuilder.Orders.BasketItem' does not contain a definition for 'BasketItemKitProducts' and no extension method 'BasketItemKitProducts' accepting a first argument of type 'CommerceBuilder.Orders.BasketItem' could be found (are you missing a using directive or an assembly reference?)
Admin\Orders\BasketItemDetail.ascx.cs 95


'ProductHelper' does not contain a definition for 'HasAssets'
Admin\Orders\BasketItemDetail.ascx.cs 136


No overload for method 'GetAssets' takes '4' arguments
Admin\Orders\BasketItemDetail.ascx.cs 142

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: No definition for BasketItemKitProducts

Post by jmestep » Sat Aug 22, 2009 7:43 am

It looks like your installation procedure didn't delete/replace old files. Admin/Orders/BasketItemDetail was included in the 7.0.2 build, but not in the 7.0.3 build. Try deleting it.
You might get other errors because of an incomplete upgrade.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

lbrewerandassoc
Ensign (ENS)
Ensign (ENS)
Posts: 13
Joined: Wed May 27, 2009 4:17 pm

Re: No definition for BasketItemKitProducts

Post by lbrewerandassoc » Sat Aug 22, 2009 7:57 am

If I continue my Build (w/ errors), then my error is:


Object reference not set to an instance of an object.
Description: 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.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

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.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
CommerceBuilder.Services.AbleCommerceHttpModule.Init(HttpApplication context) +85
System.Web.HttpApplication.InitModulesCommon() +65
System.Web.HttpApplication.InitModules() +43
System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +729
System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +298
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +107
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +289

lbrewerandassoc
Ensign (ENS)
Ensign (ENS)
Posts: 13
Joined: Wed May 27, 2009 4:17 pm

Re: No definition for BasketItemKitProducts

Post by lbrewerandassoc » Sat Aug 22, 2009 6:56 pm

Thank you jmestep.

You are correct - I need to delete some old 7.0.2 files left over. That solved my first issue.

My 2nd issue (last post) was caused because I'm trying to make too many changes at once! I have moved my development platform to a new PC & the SQLEXPRESS db was not set up for mixed mode security.

To solve problem "[NullReferenceException: Object reference not set to an instance of an object.]" last post --> I changed my db security settings from Windows Authenication only to SQL/Windows (Mixed Mode).

In Sql Server 2005 go to Management studio > In object explorer right click on the server name >> go to properties >> Click on the security tab >> Choose Sql Server and Windows Authentication mode and restart the Sql services.

Post Reply