Tuesday 31 October 2017

XStandard Zip

Overview

The Zip component provides industry-standard Zip archive functionality. It is designed to be easy to use. You can pack/unpack a file or folder with a single line of code. If you need to create or extract Zip files on the fly, this component is for you. This component can be used in environments that support COM such as Active Server Pages, Windows Scripting Host, Visual Basic, etc.

License
    Freeware
Type
    32-bit ActiveX DLL
Version
    2.5
File Name
    XZip.dll
Download Package
    x-zip.zip

Download

Download Zip Component

Visual C++ users can download header files.
Installation Instructions

    Move the dll to a directory like: C:\Program Files\XStandard\Bin\.
    Open a command prompt and cd to the directory where the dll is located.
    Type regsvr32 XZip.dll or on 64-bit OS type C:\Windows\SysWOW64\regsvr32.exe XZip.dll
    Grant "Read & Execute" file permissions on this dll to Everyone.

Note, the command prompt must be "Run as administrator" as shown in the screen shot below.

Context menu for the command prompt showing the option to run as administrator.
Uninstall Instructions

    Open a command prompt and cd to the directory where the dll is located.
    Type regsvr32 -u XZip.dll or on 64-bit OS type C:\Windows\SysWOW64\regsvr32.exe -u XZip.dll

Usage from 64-bit OS

Please see instructions for 64-bit OS usage.

Friday 27 October 2017

Persits.MailSender 'Access is denied'

If you happen to be using the Persits mail component and you get the 'Access is denied' exception:
Persits.MailSender.4 error '800a0011'
Access is denied.
/pages/somepage.asp, line 208
You'll probably find, from the Persits support site or elsewhere, that the queue folder needs to have increased permissions. It doesn't however tell you where this is. So here is the default install path for version 4:
C:\Program Files\Persits Software\AspEmail\Queue
As far as the permissions go I have found that granting Read and Write permissions to the accessing account on that folder is sufficient. In IIS 6 the accessing account for .NET will be the identity of the App Pool assigned to the site (if you are not doing impersonation) which is the NetworkService account by default. For Classic ASP it will be the anon account (Which by default is the IUSR_xxx) for anon access or the user/group if you are doing other types of auth.