Microsoft KB Archive/828295

= FIX: Error Message: Security Exception: PermissionToken Index Does Not Match Index into m_unrestrictedPermSet =

Article ID: 828295

Article Last Modified on 4/7/2006

-

APPLIES TO


 * Microsoft .NET Framework 1.1

-





SYMPTOMS
You run a code access security check, and you expect that this security check will succeed. However, the security check does not succeed and you receive the following error message:

Security Exception: PermissionToken Index does not Match Index into m_unrestrictedPermSet.

This problem may occur if you have a class that is derived from the System.MarshalByRefObject class, and if you make a method call on the class that crosses application domain boundaries. For example, this problem may occur if the method call in one application domain is marshaled to another application domain.



RESOLUTION
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next .NET Framework 1.1 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time   Version       Size       File name -  04-Sep-2003  15:33  1.1.4322.940  2,093,056  Mscorlib.dll 04-Sep-2003 00:09  1.1.4322.940  2,498,560  Mscorsvr.dll 04-Sep-2003 00:10  1.1.4322.940  2,490,368  Mscorwks.dll



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Keywords: kbbug kbfix kbqfe kbnetframe100presp3fix kbhotfixserver KB828295

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.