Page 1 of 1

Error when Clicks on Check Out Button

Posted: Thu Oct 02, 2008 7:56 pm
by binsuthomas
I am getting the following error when Clicked on Check Out Button. This error is not occurring all the time.

[[ConLib:OnePageCheckout]] \\fsvs02\target02\366812\366816\rockband2.mtv-stuff.com\web\content\ConLib\OnePageCheckout.ascx.cs(979): error CS0433: The type 'ASP.CreditCardPaymentForm' exists in both 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\facc68c6\f1b335a8\App_Web_yaefg9vp.dll' and 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\facc68c6\f1b335a8\App_Web_j3_75n7j.dll'

Any help would be really appreciated.

Re: Error when Clicks on Check Out Button

Posted: Thu Oct 02, 2008 8:10 pm
by Shopping Cart Admin
Hello,

Somehow it looks like there are two sets of temp files for one control, I've never seen it before.

c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\facc68c6\f1b335a8\

App_Web_j3_75n7j.dll
and
App_Web_yaefg9vp.dll

Stop the webserver and delete all the files out of the directory:
c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\facc68c6\f1b335a8\

Then re-start IIS.

How do you think this might have happened?

Re: Error when Clicks on Check Out Button

Posted: Mon Oct 06, 2008 7:51 am
by mazhar
If your are getting this problem on development machine on Visual Studio. Right click on the solution name in visual studio and then select the "Clean Solution" command.

Re: Error when Clicks on Check Out Button

Posted: Tue Dec 02, 2008 12:16 pm
by MarkI
Hi,

I am also getting this and have yet to get past it. The specific error is:

[[ConLib:OnePageCheckout]] c:\Dev\HMW\trunk\src\Web\ConLib\OnePageCheckout.ascx.cs(980): error CS0433: The type 'AbleCommerceProject.Checkout.PaymentForms.CreditCardPaymentForm' exists in both 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ablecommerceproject\8a6b8a48\5f65ff51\App_Web_creditcardpaymentform.ascx.f393e839.dwoyys9f.dll' and 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ablecommerceproject\8a6b8a48\5f65ff51\assembly\dl3\e8ba4e6b\730c456a_a854c901\AbleCommerceProject.DLL'

I have tried everything I've seen recommended:
* Used app_offline.htm to delete all temporary files under ..\Framework\v2.0.50727\Temporary ASP.NET Files
* Restarted IIS
* Cleaned solution.

Any further ideas would be most welcome.

Thanks,

Mark

Re: Error when Clicks on Check Out Button

Posted: Tue Dec 02, 2008 1:03 pm
by mazhar
I am not sure but if you are working on development machine you could give a try by installing again aps.net on iis using the ASPNET_REGIIS.EXE by first giving it -u and then -i switch.