Another error when trying to use catalog or marketing manager refersh site cache option

hi,

Error message from event viewer listed (below):

System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> There was an error generating the XML document. ---> Instance validation error: '0' is not a valid value for System.Net.HttpStatusCode.
at Microsoft.CommerceServer.ServiceAgent.TryHandleWebMethodException(Exception ex, SoapHttpClientProtocol serviceProxy)
at Microsoft.CommerceServer.Internal.Marketing.MarketingServiceProxy.AuthorizedInvoke(String methodName, Object[] parameters)
at Microsoft.CommerceServer.Internal.Marketing.MarketingServiceProxy.RefreshCache(String cacheName)
at Microsoft.CommerceServer.Internal.Marketing.AgentMarketingSystemImpl.RefreshCache(String cacheName)
at Microsoft.CommerceServer.Marketing.MarketingContext.RefreshAllMarketingCaches()
at Microsoft.CommerceServer.UI.MarketingManager.PrimaryController.RefreshSiteCache()



Maybe this time someone will support me with solution,

regards

Maciej


Answer this question

Another error when trying to use catalog or marketing manager refersh site cache option

  • Amitai

    Would you mind posting your fix We are experiencing the same problem and would like to know what you did to correct this. Thank you!

  • Pikker1981

    Hi

    First of all thanks for your help.

    I've added windows forms authentication in the system.web section as you described (xml tags bellow):

    <authorization>
    <allow roles="BUILTIN\Administrators" />
    <allow roles="VORDEFINIERT\Administratoren" />
    <allow roles="BUILTIN\Administrateurs" />
    <allow users="BIURO\MaciejK" />
    </authorization>

    It looks like that your solution partly have helped me.

    but I still get error when trying to use refresh site cache option (from event viewer)

    System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> There was an error generating the XML document. ---> Instance validation error: '0' is not a valid value for System.Net.HttpStatusCode.
    at Microsoft.CommerceServer.ServiceAgent.TryHandleWebMethodException(Exception ex, SoapHttpClientProtocol serviceProxy)
    at Microsoft.CommerceServer.Catalog.WebService.Proxies.CatalogWebService.AuthorizedInvoke(String methodName, Object[] parameters)
    at Microsoft.CommerceServer.Catalog.WebService.Proxies.CatalogWebService.RefreshSiteCache()
    at Microsoft.CommerceServer.Catalog.CatalogAgentContext.RefreshSiteCache()
    at Microsoft.CommerceServer.Catalog.CatalogContext.RefreshSiteCache()
    at Microsoft.CommerceServer.UI.CatalogManager.CatalogManager.cntxtMenuRefreshSiteCache_Click(Object sender, EventArgs e)


    ps. I have integrated windows security enabled. anonymous access is disabled.

    Maciej,




  • wgundaker

    Hi,

    thanks for help

    I've applied mentioned hotfix, restarted server but nothing changed. :( .

    What should i do now.

    Maciej.

  • Ranier

    Hi,

    first of all, I would like to thank everybody for help.

    Finally, After couple days of fight. Ive managed to solve problem on my own :).

    Regards,

    Maciej

  • Mgrondin345

    Hi maciej,

    First did you apply my recommendations regarding the site cache refresh

    In IIS interface for those two webservices, do you have defined users that access those two webservices on windows integrated authentification mode and note anaonymous

    Regards,



  • mkruer

    Would you mind posting your solution I am also having the same problem. I have the correct users in the web.config.

  • Kamii47

    Maciej,

    You should contact product support using the case number that you were given to follow up on this issue if the hotfix did not resolve the issue. That way the Commerce Server team can track trends and related issues to the scenario addressed by the hotfix.

    Thanks,
    Colin



  • Islam Imam

    Hi

    I'm not sure as I didn't go any further when I found out I needed the hotfix. I suggest you post another thread saying the hotfix didn't work, and hope the CS developers pick it up.

    Paul


  • Ken Villines

    Hi Maciej,

    Unfortunately the answer is Yes,

    Every time you change the informations in the Business Management Applications, you have to refresh the site cache,

    This mechanizm permits to activate your modifications.

    Regards,



  • maglor_elf

    ok. Thanks for help again.

    ps. Does the refresh site cache option have influence on discounts mechanizms in commerce

  • Phil Winstanley ASP.NET MVP

    Hi

    Sounds like you need the hotfix outlined in this thread:

    http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1069888&SiteID=1

    Regards

    Paul


  • Another error when trying to use catalog or marketing manager refersh site cache option