Microsoft KB Archive/893166

From BetaArchive Wiki

Article ID: 893166

Article Last Modified on 12/3/2007



APPLIES TO

  • Microsoft .NET Framework 1.1 Service Pack 1




SYMPTOMS

You 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.

CAUSE

This 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.

RESOLUTION

Service pack information

To 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 How to obtain the latest service pack for Windows Server 2003


Software update information

Prerequisites

You must have the Microsoft .NET Framework 1.1 SP1 installed to apply this software update.

Restart requirement

You do not have to restart your computer after you apply this software update.

Software update replacement information

This software update does not replace any other software updates.

File information

The 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 

STATUS

Microsoft 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 Description of the standard terminology that is used to describe Microsoft software updates


Keywords: kbwinserv2003sp2fix kbqfe kbhotfixserver kbnetframe110sp2fix kbbug kbfix KB893166