bardecode.com
barcode reading software
  • Home
  • Download
  • Purchase
  • SDK Licensing
  • Pricing
    • Windows SDK Price List
    • Windows SDK with PDF Extension Price List
    • Linux SDK Price List
    • Linux SDK with PDF Extension Price List
    • PDF Extension For Windows Price List
    • Multi-Platform Toolkit for .NET Price List
    • BardecodeFiler Desktop Only Price List
    • BardecodeFiler Windows Service Price List
    • DOS Command Prompt Barcode Tool Price List
    • Terms and Conditions
    • Refund Policy
  • Products
    • Softek Barcode Reader Toolkit for Windows
    • Softek Barcode Reader Toolkit for Linux
    • BardecodeFiler Desktop App
    • BardecodeFiler Windows Service
    • Windows DOS Command Prompt Tool
    • Multi-platform barcode reader toolkit for .NET
    • Aquaforest’s Autobahn DX
  • Knowledge Base
    • Documentation
    • Specifications
  • News
  • Contact
    • About Us
    • Terms and Conditions
    • Resellers
    • Links
Select Page ...

News

Handling PDF Documents in ASP on x64 Systems

admin August 19, 2013 Knowledge Base, Settings, Software Development Kits No Comments

We’ve updated the manual page that covers the configuration of DCOM on a 64-bit Windows 2012 Server. The key change is to run “MMC comexp.msc /32” on a 64-bit system rather than dcomcnfg.exe

Anyhow, here is the new page…

 

This section describes a problem that can be seen on ASP applications that handle PDF documents on x64 systems.

Symptom:

ScanBarCode returns -1 and GetLastError returns 3001.

Description:

CoCreateInstance is failing and is probably returning E_ACCESSDENIED. This is because IIS_IUSRS does not have permission for Local Launch or Local Activation of either the PDF2Image or PDF2TIFCom COM servers which are used by the SDK to convert PDF documents.

Solution:

Grant access for the IIS_IUSRS user to launch and activate the above COM servers:

Run (as Administrator from the command prompt):

dcomcnfg.exe

…on a 32-bit system Or

MMC comexp.msc /32

…on a 64-bit system

From Console Root, expand Component Services/Computers/My Computer/DCOM Config Scroll down to locate PDF2Image.CPDF2Image, right click on the item and select Properties. Click on the Security tab
In Launch and Activate Permissions select Customize and click on Edit.

If IIS_IUSRS is not in the list then click on Add and enter IIS_IUSRS before clicking on OK. Grant IIS_IUSRS permission for Local Launch and Local Activation.

Click on OK to exit from Launch and Activate Permissions and then click on OK to exit from Properties.

Repeat for PDF2TIFCom.CPDF2TIFCom

← IOS 7 Beta 5 and ARC Compatibility
QR-Code and UTF-8 encoding →
admin

  • Copyright © 2023 Softek Software Ltd. All Rights Reserved