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 November 27, 2012 Software Development Kits No Comments

This article explains how to configure your system to allow an ASP application to use the Softek Barcode Reader SDK to process PDF Documents on an x64 system.

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 dcomcnfg.exe

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

← The difference between a BITMAP and a DIB
Softek Barocde Reader SDK Troubleshooting →
admin

  • Copyright © 2023 Softek Software Ltd. All Rights Reserved