Welcome to Mediachase Community Sign in | Join | Help    
in Search   

Your request contains an invalid value for HMAC. Please check your HMAC and retry your request

Last post Fri, Sep 25 2009, 9:26 AM by truthbrother. 45 replies.
Page 2 of 4 (46 items)   < Previous 1 2 3 4 Next >
Sort Posts: Previous Next
  •  Wed, Jan 09 2008, 10:56 AM 7406 in reply to 7405

    Re: Your request contains an invalid value for HMAC. Please check your HMAC and retry your request

    I recieved a reply that you recieved the configuration file. Let me know if you find anything usual.
  •  Wed, Jan 09 2008, 11:12 AM 7407 in reply to 7405

    Re: Your request contains an invalid value for HMAC. Please check your HMAC and retry your request

    Ok I got it, I have responded via email.

    Thanks,

    Gary L Cox Jr
  •  Wed, Jan 09 2008, 1:41 PM 7414 in reply to 7407

    Re: Your request contains an invalid value for HMAC. Please check your HMAC and retry your request

    Have you checked it yet?
  •  Wed, Jan 09 2008, 1:43 PM 7415 in reply to 7414

    Re: Your request contains an invalid value for HMAC. Please check your HMAC and retry your request

    You didn't get my email?

    Gary L Cox Jr
  •  Wed, Jan 09 2008, 2:07 PM 7416 in reply to 7415

    Re: Your request contains an invalid value for HMAC. Please check your HMAC and retry your request

    No I did not, just a reply you recieved it but no answer.
  •  Wed, Jan 09 2008, 2:10 PM 7417 in reply to 7416

    Re: Your request contains an invalid value for HMAC. Please check your HMAC and retry your request

    Ok let me look at our stack, for some reason your email gets stuck in the queue.

    Gary L Cox Jr
  •  Wed, Jan 09 2008, 2:23 PM 7418 in reply to 7417

    Re: Your request contains an invalid value for HMAC. Please check your HMAC and retry your request

    Well not sure, your not stuck in our queue, here is the email:

    Thanks Mike,

      I see your missing the following handlers:

    <add verb="*" path="*.aspx" type="Mediachase.eCF.Web.Handlers.PageHandler, Mediachase.eCommerce.WebUtility"></add>

    <add verb="*" path="ajaxpro/*.ashx" type="AjaxPro.AjaxHandlerFactory, AjaxPro.2"/>

     

     

    Along with:

    <appSettings>

                                    <add key="FCKeditor:UserFilesPath" value="~/images/assets"/>

                    </appSettings>

                    <connectionStrings>

                                    <add name="MembershipSqlConnection" connectionString=""/>

                                    <add name="EcfSqlConnection" connectionString=""/>

                                    <add name="EcfStatSqlConnection" connectionString=""/>

                    </connectionStrings>

     

    <ajaxNet>

                                    <ajaxSettings>

                                                    <urlNamespaceMappings>

                                                                    <add type="Mediachase.eCF.PublicStore.SharedModules.ProductRatingModule" path="ECF"/>

                                                    </urlNamespaceMappings>

                                                    <jsonConverters>

                                                    </jsonConverters>

                                    </ajaxSettings>

                    </ajaxNet>

     

    Im not sure how your site is connecting to the database.  Is there a second web.config file?

     

    Thank you,


    Gary L Cox Jr
  •  Wed, Jan 09 2008, 2:30 PM 7419 in reply to 7418

    Re: Your request contains an invalid value for HMAC. Please check your HMAC and retry your request

    The connection strings are in there.  I just replaced the credentials for privacy issues.  I will look over this stuff and get back to you.
  •  Mon, Jan 14 2008, 8:08 AM 7462 in reply to 7419

    Re: Your request contains an invalid value for HMAC. Please check your HMAC and retry your request

    Still recieving same error on GetCart below on the response back.

    public static Cart GetCart()
            {
                if (ClientContext.Context.Session.IsInitialized)
                {
                    CartGet cartGet = new CartGet();
                    CartGetRequest request = new CartGetRequest();
                    request.CurrencyCode = ClientContext.Context.CurrentCurrencyCode;

                    cartGet.SubscriptionId = ClientConfig.SubscriptionId;

                    Session session = ClientContext.Context.Session.BaseSession;
                    if (ClientContext.Context.Session.IsInitialized)
                        request.Session = session;

                    cartGet.Request = new CartGetRequest[] { request };

                    // Get the response
                    CartGetResponse response = null;

                    try
                    {
                        response = CartManager.CartGet(cartGet);
                    }
                    catch (Exception ex)
                    {
                        throw new ClientException(ClientExceptionType.DataStoreError, ex);
                    }

                    // Check for errors
                    ClientContext.CheckForErrors(response.OperationRequest.Errors);

                    if (response == null)
                        throw new ClientException(ClientExceptionType.DataStoreError, "Server Error - no response recieved!");

                    Cart[] cartArray = response.Cart;

                    // Check for errors, stop at first error
                    if (cartArray == null)
                        throw new ClientException(ClientExceptionType.DataStoreError, "Server Error - empty response!");

                    // Examine response for errors
                    ClientContext.CheckForErrors(cartArray[0].Request.Errors);

                    return cartArray[0];
                }

                return null;
            }
  •  Mon, Jan 14 2008, 8:25 AM 7463 in reply to 7462

    Re: Your request contains an invalid value for HMAC. Please check your HMAC and retry your request

    When I add something to the cart the HMAC I get back is

    2PmDmn13anuoxNB3EClkspzbv+I=

    On adding something to the cart.

    Then when I log in it is null, and returns the error. 

    What would cause this error to be thrown. 

    The second run I do the same thing and the HMAC is

    mTg7+78/nnqV2HEes3I7txpU9po=

    Then when I log in, I log in fine.  It happens every other time.
  •  Tue, Jan 15 2008, 7:08 AM 7476 in reply to 7463

    Re: Your request contains an invalid value for HMAC. Please check your HMAC and retry your request

    Anyone?
  •  Tue, Jan 15 2008, 12:01 PM 7489 in reply to 7476

    Re: Your request contains an invalid value for HMAC. Please check your HMAC and retry your request

    I am not using your ajax or url rewriting modules.  So having those added to my web.config isnt really necessary.  This is keeping us from deploying this project and need this fixed.
  •  Wed, Jan 16 2008, 10:57 AM 7513 in reply to 7489

    Re: Your request contains an invalid value for HMAC. Please check your HMAC and retry your request

    When you login, check the CustomerInfo object's Status and see if it is marked as AccountStatus.Authenticated.  If not, that may be the reason your not getting an HMAC when you login.  The HMAC gets set when the Customer is being Authenticated in the Facade layer.  The HMAC also gets created in CreateCart if your not already logged in.  When you login you should get a different HMAC assigned.  I hope this helps, I have tried many different scenarios to replicate your issue and have not been successful in a null HMAC.

    Thanks,

    Gary L Cox Jr
  •  Wed, Jan 16 2008, 1:18 PM 7519 in reply to 7513

    Re: Your request contains an invalid value for HMAC. Please check your HMAC and retry your request

    Where is this AccountStatus.Authenticated?  I see it in ClientAdmin and ClientCustomer but it is commented out.
  •  Wed, Jan 16 2008, 1:33 PM 7521 in reply to 7519

    Re: Your request contains an invalid value for HMAC. Please check your HMAC and retry your request

    Attachment: Authenticated.JPG
    I am getting authenticated in validate user.  Attached is a screen shot to see the page I am on, and the code.
Page 2 of 4 (46 items)   < Previous 1 2 3 4 Next >
View as RSS news feed in XML
Site Terms | Privacy Policy | About Us | Contact Us
Running on Mediachase eCommerce Framework 4.0.
  Copyright © Mediachase, LTD. 1997-2006. All Rights Reserved

E-commerce, HelpDesk, Service Desk & Project Management Software, alternatives to Microsoft Project Server & Sharepoint Collaboration Server
project management software | microsoft project server | sharepoint collaboration server | issues management, helpdesk & service desk
Powered by Community Server, by Telligent Systems