New Update on ASP.NET 2.0 Commerce Starter Kit!!

Discussion in 'ASP.NET Starter Kits' started by Bruce, Dec 3, 2005.

  1. Bruce

    Bruce DiscountASP.NET Staff

    During past few days, we worked with Commerce Starter Kit's developer (who happens to be a DiscountASP.NET customer for more than 2 years) to get the CSK working.

    The problem that cause the kit to fail on our server has to do w/ the cryptoAPI which is necessary to connect to PayPal. By default, the API constuctor will attempt to use the key container for the currently logged in user. Since the ASPNET user is never logged in, the operation will fail. To resolve the problem, we recommended a minor change to the CSK code based to change the default keystore to the machine Keystore.

    See http://forums.commercestarterkit.org/forums/642/ShowPost.aspx for more details on the fix.

    We are also working directly w/ Microsoft's ASP.NET team regarding other Starter kits issues. More update will be posted!!

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  2. Here is something I think is useful:

    If some one needs to run Commerce Starter Kit 1.0.2 with "Medium Trust" you have to changethe web.config in the configSections and add requirePermission="false". This is the samemethod used in DNN 4.0.1

    Note: It's doesn't matter the intellisense says: The 'requirePermission' attribute is not declared.




    <configSections>


    <section name="CommerceDataProvider" requirePermission="false" type="Commerce.Providers.DataProviderConfigurationHandler, Commerce.DataProvider"/>


    <section name="CommerceOrdersProvider" requirePermission="false" type="Commerce.Providers.OrdersProviderConfigurationHandler, Commerce.OrdersProvider"/>


    <section name="CommerceShoppingCartProvider" requirePermission="false" type="Commerce.Providers.ShoppingCartConfigurationHandler, Commerce.ShoppingCartProvider"/>


    <section name="CommerceCatalogProvider" requirePermission="false" type="Commerce.Providers.CatalogProviderConfigurationHandler, Commerce.CatalogProvider"/>


    <section name="CommerceTaxProvider" requirePermission="false" type="Commerce.Providers.TaxProviderConfigurationHandler, Commerce.TaxProvider"/>


    <section name="CommerceShippingProvider" requirePermission="false" type="Commerce.Providers.ShippingProviderConfigurationHandler, Commerce.ShippingProvider"/>


    <section name="CommercePaymentProvider" requirePermission="false" type="Commerce.Providers.PaymentProviderConfigurationHandler, Commerce.PaymentProvider"/>


    </configSections>





    Best Regards.


    Juan Carlos.
     

Share This Page