Products

Solutions

Resources

Partners

Community

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStorePayPal & dnnPayPal & dnn
Previous
 
Next
New Post
4/12/2010 2:39 PM
 

Hi Giles,

I tried updating one of the sites using DNN 05.01.04 (3) , by installing the new store module, perhaps I need to make other changes it seems to have a problem. If I click on any item (existed before update) buy now or add to cart I get this message ;

Error A critical error has occurred.
The type initializer for 'DotNetNuke.Modules.Store.Components.SymmetricHelper' threw an exception.


Product Detail

 

Did anyone else have this issue ?

 
New Post
4/13/2010 6:54 AM
 

Hi Vikas,

Try to clear your browser cache.

Gilles


We (team members) are Humans offering their knowledge, their work and their spare time FOR FREE to benefit the community. It would be so particularly appreciated that your messages begin with "Hello" and end with "Thank you" or any other form of politeness. Ask yourself what your reaction would be, if you were approached by me (a total stranger) on the street to ask you something without saying "Hello" nor "Thank you"? After several years of services dedicated to the community, I begin to be tired to read requests without any form of politeness.
 
New Post
4/13/2010 6:28 PM
 

Hi Giles, didnt help though Id already tried it, its not the browser this time IE and Firefox on different computers do the same.

I took a new site which is is getting ready to launch (latest DNN release) , it had store module 2.01.00 installed though never configured or used.  I removed that installation through host interface then removed the remaining store directory altogether. Then installed 2.01.31 and still the same issue.

When I press buy now or add to cart, I have this same message about DotNetNuke.Modules.Store.Components.SymmetricHelper throwing an exception. Is there any other log I can supply or enable that may be useful to debug it ? I have 2 sites in this state and several other in 2.01.00 limbo , as I can neither make work a fresh 2.01.31 or update from 2.01.00 ... yikes !

BR,

Vikas 

 
New Post
4/13/2010 6:31 PM
 

Hi Giles,

This might help - Just going to the checkout page regardless (shows the store account module), leads to this error also.  Bit more explanation this time hope it means something useful :)

An unexpected error has occurred!
DotNetNuke.Services.Exceptions.ModuleLoadException: The type initializer for 'DotNetNuke.Modules.Store.Components.SymmetricHelper' threw an exception. ---> System.TypeInitializationException: The type initializer for 'DotNetNuke.Modules.Store.Components.SymmetricHelper' threw an exception. ---> System.Configuration.ConfigurationErrorsException: An error occurred loading a configuration file: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. (machine.config) ---> System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) at System.Security.CodeAccessPermission.Demand() at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at System.Configuration.Internal.InternalConfigHost.StaticOpenStreamForRead(String streamName) at System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.OpenStreamForRead(String streamName, Boolean assertPermissions) at System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.OpenStreamForRead(String streamName) at System.Configuration.Internal.DelegatingConfigHost.OpenStreamForRead(String streamName) at System.Configuration.UpdateConfigHost.OpenStreamForRead(String streamName) at System.Configuration.BaseConfigurationRecord.InitConfigFromFile() The action that failed was: Demand The type of the first permission that failed was: System.Security.Permissions.FileIOPermission The Zone of the assembly that failed was: MyComputer --- End of inner exception stack trace --- at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal) at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors) at System.Configuration.Configuration..ctor(String locationSubPath, Type typeConfigHost, Object[] hostInitConfigurationParams) at System.Configuration.Internal.InternalConfigConfigurationFactory.System.Configuration.Internal.IInternalConfigConfigurationFactory.Create(Type typeConfigHost, Object[] hostInitConfigurationParams) at System.Web.Configuration.WebConfigurationHost.OpenConfiguration(WebLevel webLevel, ConfigurationFileMap fileMap, VirtualPath path, String site, String locationSubPath, String server, String userName, String password, IntPtr tokenHandle) at System.Web.Configuration.WebConfigurationManager.OpenWebConfigurationImpl(WebLevel webLevel, ConfigurationFileMap fileMap, String path, String site, String locationSubPath, String server, String userName, String password, IntPtr userToken) at System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration(String path) at DotNetNuke.Modules.Store.Components.SymmetricHelper.Initialize() at DotNetNuke.Modules.Store.Components.SymmetricHelper..cctor() --- End of inner exception stack trace --- at DotNetNuke.Modules.Store.Components.SymmetricHelper.Encrypt(String unicodeValue) at DotNetNuke.Modules.Store.Cart.CurrentCart.setCartID(Int32 portalID, String cartID) at DotNetNuke.Modules.Store.Cart.CurrentCart.getCartID(Int32 portalID) at DotNetNuke.Modules.Store.Cart.CurrentCart.GetItems(Int32 portalID) at DotNetNuke.Modules.Store.WebControls.CustomerCart.CheckStateButton() at DotNetNuke.Modules.Store.WebControls.CustomerCart.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 DotNetNuke.Modules.Store.Components.StoreControlBase.OnLoad(EventArgs e) --- End of inner exception stack trace ---

 
New Post
4/14/2010 5:41 AM
 

It DID help for me! 

I am sorry I was to much in a hurry to minimize the downtime to realize that I should clear the cache.

It works great now - thank you giles !!!!

AND best of all paypal is displaying in Swedish now - it didnt before

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStorePayPal & dnnPayPal & dnn


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out