HomeHome Product Discus... Product Discus...SmithCartSmithCartInnerException: Bad Data.InnerException: Bad Data.
Previous
 
Next
New Post
11/23/2010 4:17 PM
 
Setting up a testing install to figure out issues on a live cart. Installing the cart 3.6 on a dnn 5.4.4, when adding the BuyNow module errors the page with a Critical error - Bad Data - no way I can see to get around it.

AbsoluteURLReferrer: http://poolspawizard-com.web35.winsvr.net/Store.aspx
UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 807c7e2f-28ba-42d7-85c5-5790435f6334
InnerException: Bad Data.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Bad Data. ---> System.Security.Cryptography.CryptographicException: Bad Data. at System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException(Int32 hr) at System.Security.Cryptography.Utils._DecryptData(SafeKeyHandle hKey, Byte[] data, Int32 ib, Int32 cb, Byte[]& outputBuffer, Int32 outputOffset, PaddingMode PaddingMode, Boolean fDone) at System.Security.Cryptography.CryptoAPITransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount) at System.Security.Cryptography.CryptoStream.Read(Byte[] buffer, Int32 offset, Int32 count) at System.IO.StreamReader.ReadBuffer() at System.IO.StreamReader.ReadToEnd() at Smith.DNN.Modules.BuyNow.ProductsList.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
 
New Post
11/23/2010 6:09 PM
 

Can you upgrade to dnn 5.5.1 and cart 3.93 there are known bugs that have been fixed in the versions of dnn and the cart you are running.

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
11/23/2010 6:19 PM
 
My issue is trying to recreate a site with other issues to test it and then test the upgrade to the newest cart so if something fails here I know what to expect when doing the upgrade on the live site.

However, as it won't work at all for me to do that I'll forego testing and hope the upgrade goes smooth from 3.6 to 3.93.
 
New Post
11/23/2010 6:46 PM
 
I just took down the entire database and dnn install, then installed 5.6 dnn and uploading the 3.93 cart returned the same problem.

Next?
 
New Post
11/23/2010 6:47 PM
 
Here's the entire message:

AssemblyVersion: 5.6.0
PortalID: 0
PortalName: My Website
UserID: 1
UserName: host
ActiveTabID: 60
ActiveTabName: Products
RawURL: /Products.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://poolspawizard-com.web35.winsvr.net/Products.aspx
UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: cd034fb1-1512-4216-89de-4421bc8bb575
InnerException: Bad Data.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Bad Data. ---> System.Security.Cryptography.CryptographicException: Bad Data. at System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException(Int32 hr) at System.Security.Cryptography.Utils._DecryptData(SafeKeyHandle hKey, Byte[] data, Int32 ib, Int32 cb, Byte[]& outputBuffer, Int32 outputOffset, PaddingMode PaddingMode, Boolean fDone) at System.Security.Cryptography.CryptoAPITransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount) at System.Security.Cryptography.CryptoStream.Read(Byte[] buffer, Int32 offset, Int32 count) at System.IO.StreamReader.ReadBuffer() at System.IO.StreamReader.ReadToEnd() at Smith.DNN.Modules.BuyNow.ProductsList.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
 
New Post
11/23/2010 7:04 PM
 

Did you try installing the cart 3.93 on a new dnn install 5.6 install or are you upgrading?


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
11/24/2010 10:13 AM
 
I removed the database and complete 5.6 install. Installed a fresh 5.5.1, logged in and installed the 3.93 version of the cart - exactly the same Bad Data error. I've attached the screen shot. Apparently it's not the 5.6 problem. Next idea to get this cart started?
 
 Login to download attachment
New Post
11/24/2010 10:17 AM
 

DNN 5.6 was just released a couple days ago and the cart has not been tested on dnn 5.6.


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
11/24/2010 10:20 AM
 
I know, read the post again. I removed 5.6 and installed a fresh 5.5.1. Same thing.
 
New Post
11/24/2010 10:21 AM
 

So you get this error just adding the buynow module to the page? If you have the 2 license key files in your dnn root folder try deleting them, resetting iis, clearing your browser cache and adding the buynow module to your page again.

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
11/24/2010 10:51 AM
 
At least we're on to something.

1. Removed the license key - suddenly the cart error disappeared.
2. Cleared Cache
3. Rebooted IIS
4. Went back and added an item to the products.
5. Put the key files back in - the error came back.

Something is wrong with the keys.
 
 Login to download attachment
New Post
11/24/2010 11:08 AM
 

The license key file must have got corrupted. Please send an email to support@smith-consulting.com and request your license key be regenerated make sure you include your test and live domains to create the license key for.

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
11/24/2010 11:14 AM
 
Done - after 4 DNN installs of various versions and about 4 hours of mucking around... Just glad to have it figured out. Thanks.
 
New Post
11/24/2010 11:41 AM
Accepted Answer 

Great news! Glad we figured it out.

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartInnerException: Bad Data.InnerException: Bad Data.