Unknown error, to me?!

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
industry
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 37
Joined: Fri Apr 03, 2009 4:17 am

Unknown error, to me?!

Post by industry » Mon Apr 06, 2009 9:52 am

All i did was amend line 89 of the OnePageCheckout.ascx.cs file to say bool _EnableGiftWrap = false; instead of bool _EnableGiftWrap = true;

Then when i uploaded the file and re-checked the checkout page i got the following error (below). Even if change the file back and re-upload i still get this error

[[ConLib:OnePageCheckout]] g:\websites\geniusnet\htdocs\ConLib\OnePageCheckout.ascx.cs(1162): error CS0433: The type 'ASP.CreditCardPaymentForm' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c5875018\ff46fe29\App_Web_u6lggk1f.dll' and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c5875018\ff46fe29\App_Web_jzzikqu5.dll'

Help :?
(please)

User avatar
nickc
Captain (CAPT)
Captain (CAPT)
Posts: 276
Joined: Thu Nov 29, 2007 3:48 pm

Re: Unknown error, to me?!

Post by nickc » Mon Apr 06, 2009 10:20 am

Ahh, the mystery and wonder of the ASP.NET Cache. Looks like you may be using mapped drives?
This may be helpful: http://stackoverflow.com/questions/3714 ... d-temp2dll.
You can always shut down the website and purge the cache directory specified in the error message.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Unknown error, to me?!

Post by mazhar » Mon Apr 06, 2009 10:23 am

Stop you application and clear following directory
WINDOWS\Microsoft.NET\Framework\{You Framework version}\Temporary ASP.NET Files

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

Re: Unknown error, to me?!

Post by AbleMods » Mon Apr 06, 2009 10:48 am

I just restart IIS - almost always fixes it the first time
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

industry
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 37
Joined: Fri Apr 03, 2009 4:17 am

Re: Unknown error, to me?!

Post by industry » Mon Apr 06, 2009 11:05 am

Hmmm thanks for the replies guys

I tried both methods, adding batch="false" to the web.config file caused an error when i uploaded it so i went to clear the temp files from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files and it was already empty.

Off home now but will pick it up again tomorrow, if you have anything else i can try please let me know.

Regards,
Ian

industry
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 37
Joined: Fri Apr 03, 2009 4:17 am

Re: Unknown error, to me?!

Post by industry » Tue Apr 07, 2009 2:50 am

:|

I deleted the OnePageCheckout.ascx file from the server and re-uploaded it and it fixed the problem!

Strange, but at least its fixed

Thanks guys!

Post Reply