Udostępnij za pośrednictwem


Troubleshooting Office Solution Security (2007 System)

Applies to

The information in this topic applies only to the specified Visual Studio Tools for Office projects and versions of Microsoft Office.

Project type

  • Document-level projects

  • Application-level projects

Microsoft Office version

  • 2007 Microsoft Office system

For more information, see Features Available by Application and Project Type.

This section contains tips for solving common problems that you might encounter when you work with Visual Studio Tools for Office security.

Trusted Solutions Cannot Be Installed from Restricted Sites

Users cannot install a solution from a Web location if the Web site is listed in the Internet Explorer restricted sites zone. This is true even if the solution is signed with a trusted certificate.

The URL of the deployment manifest can be categorized into one of five zones:

  • My Computer

  • Internet

  • Local intranet

  • Trusted sites

  • Restricted sites

If the location of the deployment manifest has been assigned to the restricted sites zone, Visual Studio Tools for Office does not install the solution. If the location is known and can be trusted, the user can remove the location from the restricted sites zone and install the solution. For information about how to manage zones, see Configuring ClickOnce Trusted Publishers.

Solutions Cannot Be Installed from Network File Shares or Web Locations when Internet Explorer Enhanced Security Configuration or Internet Explorer 7 Is Installed

Internet Explorer Enhanced Security Configuration (IEESC) in Windows Server 2003 and Internet Explorer 7 significantly restricts the ability of users to browse the Internet. When users try to install Visual Studio Tools for Office solutions from a network file share or Web location, they might get the following error message: "Customized functionality in this application will not work because the certificate used to sign the deployment manifest for SolutionName is not trusted. Contact your administrator for further assistance."

With IEESC and Internet Explorer 7, if the URL of the deployment manifest is categorized in the Internet zone, the manifest must have a certificate from a trusted publisher or the solution cannot be installed. Without IEESC, the default behavior is to prompt the end user to make a trust decision.

To manage the effect of IEESC and Internet Explorer 7, identify Web sites and UNC paths that you trust and add them to one of the trusted security zones (Local intranet or Trusted sites).For information about how to manage zones, see Configuring ClickOnce Trusted Publishers.

See Also

Concepts

Security in Office Solutions (2007 System)

Change History

Date

History

Reason

July 2008

Added information about IEESC for IE7.