Forum  Discuss AliComm...  Payment and Shi...  Newbie Help with Oops Error
Previous Previous
 
Next Next
New Post 11/18/2008 11:38 AM
  cajazzer
14 posts
No Ranking


Newbie Help with Oops Error 

 I am using Paypal Payments Pro in test mode and I am getting the following error when I select the Review Order button:

Oops, an error occurred and checkout can't be continued! Please contact store for more details.

I have looked at the Tools | Event Viewer but it is blank.  I assume that all I have to do is get the API info from the PayPal Sandbox and enter it directly in the AliCommerce payment setup.  Am I missing something?

Any help would be greatly appreciated.



 
New Post 11/18/2008 5:21 PM
  AliCommerce
1156 posts
1st Level Poster


Re: Newbie Help with Oops Error 

What's in DNN event log?


Frank Wang
Software Architect
AliCommerce.com
The best DNN eCommerce, shopping cart and store modules. 100% satisfaction guaranteed.
 
New Post 11/18/2008 5:23 PM
  AliCommerce
1156 posts
1st Level Poster


Re: Newbie Help with Oops Error 

Also you should make it work in test mode if you use API info from the PayPal Sandbox.


Frank Wang
Software Architect
AliCommerce.com
The best DNN eCommerce, shopping cart and store modules. 100% satisfaction guaranteed.
 
New Post 11/18/2008 5:47 PM
  cajazzer
14 posts
No Ranking


Re: Newbie Help with Oops Error 

I am in test mode, and theDNN event log has:

 

AssemblyVersion: 04.09.00
PortalID: 0
PortalName: SheGotDrive.com
UserID: 2
UserName: brazosd
ActiveTabID: 60
ActiveTabName: Your Cart
RawURL: /YourCart/tabid/60/Control/ShippingPayment/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.shegotdrive.com/YourCart/tabid/60/Control/ShippingPayment/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 450774fd-01c3-470a-8f12-e5533558de1b
InnerException: The handle is invalid.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Security.Cryptography.Utils.CreateProvHandle
StackTrace:
Message: System.Security.Cryptography.CryptographicException: The handle is invalid. at System.Security.Cryptography.Utils.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer) at System.Security.Cryptography.Utils.GetKeyPairHelper(CspAlgorithmType keyType, CspParameters parameters, Boolean randomKeyContainer, Int32 dwKeySize, SafeProvHandle& safeProvHandle, SafeKeyHandle& safeKeyHandle) at System.Security.Cryptography.RSACryptoServiceProvider.GetKeyPair() at System.Security.Cryptography.RSACryptoServiceProvider..ctor(Int32 dwKeySize, CspParameters parameters, Boolean useDefaultKeySize) at AliSuite.Commerce.AliServices.EncryptionService.Encrypt(String data, Boolean boolDoPadding, Int32 portalId) at AliSuite.Commerce.DomainModel.Orders.PaymentBase.set_CreditCardNumber(String value) at AliSuite.Commerce.Web.StoreFront.CheckoutBlocks.CreditCardControl.UpdatePayment(PaymentBase payment) at AliSuite.Commerce.Web.StoreFront.CheckoutBlocks.CheckoutPayment.SaveSelectedPaymentInfo(ShoppingCart shoppingCart) at AliSuite.Commerce.Web.StoreFront.CheckoutChoices.StandardShippingPayment.xc0b73a7c4f7561f8(ShoppingCart x5f080c60ee407763) at AliSuite.Commerce.Web.StoreFront.CheckoutChoices.StandardShippingPayment.imgBtnReviewOrder_Click(Object sender, ImageClickEventArgs e)
Source:
Server Name: CLE02WEB06

 
New Post 11/18/2008 6:46 PM
  AliCommerce
1156 posts
1st Level Poster


Re: Newbie Help with Oops Error 

Who is your hosting company?


Frank Wang
Software Architect
AliCommerce.com
The best DNN eCommerce, shopping cart and store modules. 100% satisfaction guaranteed.
 
New Post 11/18/2008 7:02 PM
  cajazzer
14 posts
No Ranking


Re: Newbie Help with Oops Error 

IHostAsp.net.  They are super helpful and pretty much give us full access.

 
New Post 11/18/2008 7:12 PM
  AliCommerce
1156 posts
1st Level Poster


Re: Newbie Help with Oops Error 
Modified By AliCommerce  on 11/18/2008 9:07:53 PM)

This is caused by the fact that the user account, which asp.net process is running as, doesn't have enough permission to access server key store.

Which user account is asp.net process running as?


Frank Wang
Software Architect
AliCommerce.com
The best DNN eCommerce, shopping cart and store modules. 100% satisfaction guaranteed.
 
New Post 11/18/2008 7:32 PM
  cajazzer
14 posts
No Ranking


Re: Newbie Help with Oops Error 

Isn't the key store for SSL certificates?  I am in test mode and not yet using certificates.  Also,  I have notified my hosting provider in order to hopefully get the necessary permissions set.

 
New Post 11/18/2008 7:40 PM
  cajazzer
14 posts
No Ranking


Re: Newbie Help with Oops Error 

I found a message thread that looked like what you are talking about, is this similar (see the last reply in the thread)

Thanks

 

http://social.microsoft.com/Forums/en-US/netfxbcl/thread/f7b9f928-a794-47f2-a5bd-9f64ca375040

 
New Post 11/18/2008 7:42 PM
  AliCommerce
1156 posts
1st Level Poster


Re: Newbie Help with Oops Error 

No, it has nothing to do with ssl.

This happened because asp.net process tried to create a key container in server key store, but failed.


Frank Wang
Software Architect
AliCommerce.com
The best DNN eCommerce, shopping cart and store modules. 100% satisfaction guaranteed.
 
New Post 11/19/2008 10:31 AM
  cajazzer
14 posts
No Ranking


Re: Newbie Help with Oops Error 

Thanks Frank,

I am working with my hosting provider (they are willing to do whatever they need to get this working).  I passed along your information to them and this is what they sent me:

The permissions on C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys
are what they should be, we have other users/domains using crypto service machine key store. My Question is what KeyContainerName is used to invoke cryptography service, do you have access to the source code or config parameter to change this string to some other value?

IHOST, LLC
Customer Support

 

Back to me:

Are we looking in the wrong place?

thanks

 

 
New Post 11/19/2008 1:27 PM
  cajazzer
14 posts
No Ranking


Re: Newbie Help with Oops Error 

Just received this from the hosting provider when I mentioned about the asp.net account:

 

Thats possible. That is why I asked if you can change the "KeyContainerName" value. By changing that value the cryptography service will generate new key file for your application. We cannot easily locate your key file and delete it, these files use windows GUID for their names and we have several thousand of them on the server that belong to various applications and users.

Let us know what the module vendor suggests. I know we have decent amount of users using AliCommerce modules and this is the first time I have witnessed this particular issue. In fact we have another domain on the very same server you are hosted on that uses AliCommerce, their crypto keys are all intact right where they belong.

 
New Post 11/19/2008 8:55 PM
  AliCommerce
1156 posts
1st Level Poster


Re: Newbie Help with Oops Error 

I think Slavic Kozyuk from IHostAsp fixed the issue. Am I right?


Frank Wang
Software Architect
AliCommerce.com
The best DNN eCommerce, shopping cart and store modules. 100% satisfaction guaranteed.
 
New Post 11/20/2008 4:21 AM
  LarryD
15 posts
No Ranking


Re: Newbie Help with Oops Error 

 See my Oct. 20, 2008 post in the thread Can AliCommerce be installed on a PowerDNN account? for more details about the iHostASP.net solution. 

 
Previous Previous
 
Next Next
  Forum  Discuss AliComm...  Payment and Shi...  Newbie Help with Oops Error
Copyright 2008 by CandoSuite Terms Of Use Privacy Statement