CreateOrder4

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

CreateOrder4

Post by lbrewerandassoc » Fri Dec 11, 2009 2:29 pm

I can't compile my site. Did I miss something w/ 7.0.3 upgrade?

I have 36 errors all on admin/orders/createorder4.aspx.cs.

Most errors are related to:

Error 1 The type or namespace name 'admin_orders_create_creditcardpaymentform_ascx' does not exist in the namespace 'ASP' (are you missing an assembly reference?)

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: CreateOrder4

Post by AbleMods » Fri Dec 11, 2009 8:31 pm

I'm assuming you mean "won't compile" in Visual Studio correct?

If you did an upgrade from a previous version, there are two possible causes:

1. certain pages were left behind and do not get removed during the upgrade process. Then once the data classes were changed with the upgrade, Visual Studio starts throwing errors on certain pages. The old pages have invalid parameter references because they're still pointing to the old page code.

2. certain pages did not get overwritten by the upgrade. Probably due to a read-only flag set on the files. Compare the offending file to your downloaded copy from Able and see if they match.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

cmorganmcp
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 36
Joined: Mon Dec 08, 2008 10:41 am

Re: CreateOrder4

Post by cmorganmcp » Wed Sep 22, 2010 8:27 am

I have a new 7.0.4 installation, not an upgrade, and I'm getting these errors as well. Thoughts?

-chad

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: CreateOrder4

Post by AbleMods » Wed Sep 22, 2010 9:42 am

Have you checked permissions on those files to ensure they are correct?
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

cmorganmcp
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 36
Joined: Mon Dec 08, 2008 10:41 am

Re: CreateOrder4

Post by cmorganmcp » Wed Sep 22, 2010 3:01 pm

What permissions are needed?

Oddly enough, if I just build then there are no compilation errors, but when I try to publish (right-click, Publish Web Site) ,which causes a build, that is when I get those compilation errors. I can use copy website instead and it works but I'm still curious.

All errors are within a few lines of each other in CreateOrder4.aspx and they all have to do with the payment form user controls (admin_orders_create_checkpaymentform_ascx, admin_orders_create_purchaseorderpaymentform_ascx, etc.)

-chad

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: CreateOrder4

Post by AbleMods » Thu Sep 23, 2010 11:27 am

I have never used the publish feature in VS - I'm always testing the site in a local IIS install and then just use FTP to load up the files I want to the live site.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

Post Reply