Settings for masterpage issue

Last post 08-31-2010, 3:06 PM by ThomaxVision. 3 replies.
Sort Posts: Previous Next
  •  08-30-2010, 4:48 AM 63720

    Settings for masterpage issue

    the comment system dosent work with asp.net master pageing, I get
     
    Validation of viewstate MAC failed.
     
  •  08-30-2010, 12:34 PM 63732 in reply to 63720

    Re: Does not work with Asp.net master pageing

    I have tested asp.net image gallery in master page, it works fine. This issue is not related to master page.
    Please check http://support.microsoft.com/default.aspx?scid=kb;en-us;970459&sd=rss&spid=8940 , if your issue is still existing, can you create one test project which can reproduce this issue and send it to [email protected]? We will check it. 
  •  08-30-2010, 9:19 PM 63740 in reply to 63720

    Re: Does not work with Asp.net master pageing

    Hi ThomaxVision,
     
    Try add the section below into <system.web></system.web> section in file web.config.
     
    <system.web>
        <pages  enableEventValidation="false" viewStateEncryptionMode="Never" />
    </system.web>
     
    Regards,
     
    ken
  •  08-31-2010, 3:06 PM 63763 in reply to 63740

    Re: Does not work with Asp.net master pageing

    That worked. Thanks. Seems to work with viewstate on to (which i ofc  don` t want to turned off)
     
    using asp.net 3.5
View as RSS news feed in XML