מאגרי מידע

כיצד ליצור ולהגדיר Machine Key ב Web.Config?


אם אתם נתקלים בשגיאות בדפי ASP.NET כגון אלה:

Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.

רצוי להגדיר MachineKey ב Web.Config.

לחצו כאן על מנת ליצור MachineKey ייחודי.

את ה key שיצרתם יש להכניס לתוך ה web.config מתחת ל <System.Web>



נכתב ע"י: LiveDns Ltd - אחסון אתרים  אחסון אתרים | תאריך: 5/13/2007
צפיות: 6526

חזרה לדף קודם