Article ID: 893166 - Last Review: December 3, 2007 - Revision: 3.2 FIX: You receive a System.Security.SecurityException error message when your application calls the PrintDialog.ShowDialog method in the .NET Framework 1.1 SP1On This PageSYMPTOMSYou start an application across computers in the local intranet. When the application calls the PrintDialog.ShowDialog method, you may receive an error message that is similar to the following on a computer that has the Microsoft .NET Framework 1.1 Service Pack 1 (SP1) installed: The application attempted to perform an operation not allowed by the security policy. The operation required the SecurityException.To grant this application the required permission please contact your system administrator, or use the Microsoft .NET security policy administration tool.
If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will be shutdown immediately. Request for the permission of type System.Drawing.Printing.PrintingPermission, System.Drawing, Version=1.0.5000.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a failed. CAUSEThis problem occurs because PrintDialog.ShowDialog method does not have the correct security permissions. By default, the System.Drawing.Printing.PrintingPermission class is granted the DefaultPrinting security level in the Local Intranet zone security policy. RESOLUTIONService pack informationTo resolve this problem, obtain the latest service pack for Windows Server 2003. For more information, click the following article number to view the article in the Microsoft Knowledge Base:889100
(http://support.microsoft.com/kb/889100/
)
How to obtain the latest service pack for Windows Server 2003 Software update informationPrerequisitesYou must have the Microsoft .NET Framework 1.1 SP1 installed to apply this software update.Restart requirementYou do not have to restart your computer after you apply this software update.Software update replacement informationThis software update does not replace any other software updates.File informationThe English version of this software update has the file attributes (or later file attributes) 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 ---------------------------------------------------------------------- 01-Mar-2005 17:12 1.1.4322.2302 2,056,192 System.windows.forms.dll STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in Windows Server 2003 Service Pack 2. MORE INFORMATION
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
824684
(http://support.microsoft.com/kb/824684/
)
Description of the standard terminology that is used to describe Microsoft software updates
| Article Translations
|
Back to the top
