Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

WebBrowser ActiveX will not print in Windows Server 2008

Posted on 2010-11-10
1
Medium Priority
?
1,044 Views
Last Modified: 2012-05-10
We run a Microsoft Access application on a Windows Server 2008 R2 box.
One particular form is used for printing HTML-coded documents. This features a webbrowser activex control.
The control's navigate method will load the page correctly. When calling the print method, nothing actually prints out:
Me.WebBrowser1.Object.ExecWB 6, 2, 0, 0

The URL are in the trusted sites zone, protected mode is turned off. "Initialize and script ActiveX controls not marked as safe" is enabled, as is "Run ActiveX controls and plugins"
I tried it on a sample html document with a very simple structure:
<html>
<body>
<h1>test print</h1>
</body>
</html>
If I open the document in a regular browser window, it prints no problem, so clearly the server environment is imposing a security restriction on the the ActiveX control.
It is not only the ExecWB method that is failing. If I right-click in the window using the context-sensitive menu, and select Print, it will give me the dialog box to print, but when clicking "Print" nothing comes out the printer.

Any suggestions to turn off this security on my ActiveX control? Is there an alternative ActiveX control that people know of that doesn't incur the same lock-down in Windows Server 2008?

This behaviour only happens in Windows Server 2008 R2. The form works correctly on all desktops and Windows 2003 server boxes (where the IE group policy lock-down isn't so secure).

thanks for any advice
0
Comment
Question by:Billy_London
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 3

Accepted Solution

by:
Billy_London earned 0 total points
ID: 34119171
microsoft investigated and advised turning off UAC.
this does resolve the issue, although it sounds like a sledgehammer approach.
0

Featured Post

Looking for the Wi-Fi vendor that's right for you?

We know how difficult it can be to evaluate Wi-Fi vendors, so we created this helpful Wi-Fi Buyer's Guide to help you find the Wi-Fi vendor that's right for your business! Download the guide and get started on our checklist today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How does someone stay on the right and legal side of the hacking world?
An overview of cyber security, cyber crime, and personal protection against hackers. Includes a brief summary of the Equifax breach and why everyone should be aware of it. Other subjects include: how cyber security has failed to advance with technol…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question