Contact Info

Crumbtrail

ActiveXperts.com » Support » All » Network Component

ActiveXperts Network Component Support Pages

[ NETWORK COMPONENT - INSTALLATION ]

Q1000010 - When I run Setup, I get the following error message: "Error installing iKernel.exe (0xa00)". What's wrong?
A:

Most probably, you don't have administrative privileges on the machine where you install the product. You must have local administrator rights to install ActiveXperts Network Component on the computer.

Q1000012 - When trying to register your component DLL from the command line, REGSVR32.EXE returns the following error: 0x80070005
A:

This is not a problem of the ActiveXperts component, but is related to the security settings of your Windows computer.

Please try the following:

To start the command prompt, start it from the start menu by locating the "Command Prompt" in the start menu. Then, right-click on this item and select "Run as Administrator".

Then, issue the following command from the command prompt:

REGSVR32.EXE AxNetwork64.dll

or

REGSVR32.EXE AxNetwork32.dll

You can also try to turn off UAC (User Account Control)

Q1000016 - On 64-bit Operating Systems, can I also register the 32-bit component for my 32-bit applications?
A:

Yes, on 64-bit systems, you can register both the 64-bit component (for 64-bit applications) and the 32-bit component (for 32-bit applications). You can use the same REGSVR32.EXE command for that:

REGSVR32 AxNetwork64.dll
REGSVR32 AxNetwork32.dll
Q1000017 - I want to re-install ActiveXperts Network Component. I uninstalled first, but now the installation tells me that I cannot install it in the same destination directory as before. Am I doing something wrong?
A:

You are right: you cannot install the product in an existing directory.

At uninstall, the original directory (default: C:\Program Files\ActiveXperts\Network Component\) is NOT deleted in case there are files created/modified after the previous installation. You must delete these files/directories manually.

Once the directory (C:\Program Files\ActiveXperts\Network Component\) is deleted, you can re-install it in that directory.

Q1000020 - How can I uninstall ActiveXperts Network Component?
A:

You can simple uninstall the software by using the 'Add/Remove' applet in the control panel. It will delete all files, except two: AxNetwork64.dll and AxNetwork32.dll. This article explains how to uninstall these files manually.

The core of ActiveXperts Network Component is two DLL's: AxNetwork64.dll (to be used by 64-bit applications) and AxNetwork32.dll (to be used by 32-bit applications). These DLL's are shared components, which means that they might be required by other software vendors. Therefore, these DLL's are NOT unregistered/deleted from the system using the 'Add/Remove' applet automatically!

To uninstall AxNetwork32.dll manually on a 32-bit operating system:

To uninstall AxNetwork64.dll and AxNetwork32.dll manually on a 64-bit operating system:

Q1000025 - I manually registered the ActiveXperts Network Component DLL file on another machine, and now I want to unregister. How can I do this?
A:

To uninstall the 64-bit component, issue the following command from the command prompt:

REGSVR32 -u <path>\AxNetwork64.dll

To uninstall the 32-bit component, issue the following command from the command prompt:

REGSVR32 -u <path>\AxNetwork32.dll
Q1000030 - Does the ActiveXperts Network Component installation overwrite existing Operating System files?
A:

No, it only installs two ActiveX component files: one 32-bit DLL (AxNetwork32.dll) and one 64-bit DLL (AxNetwork64.dll) that both make use of the Operating System.

Q1000035 - Where can I find the ActiveXperts Network Component Release Notes?
A:

You can view the ActiveXperts Network Component Release Notes by using the following URL:
activexperts.com/network-component/releasenotes/


[ NETWORK COMPONENT - USING ACTIVEXPERTS NETWORK COMPONENT ]

Q1100010 - Can I use Visual C++ to include ActiveXperts Network Component?
A:

Yes you can. There's a project included in the sample directory. You need Visual Studio 2008 or higher. Make sure you include 'AxNetwork.h' in all source files where you use the component, and add 'AxNetwork_i.c' to your project so it will be compiled and linked with your project.

Q1100020 - When I do a Wake Up on LAN, the machine doesn't wake up at all. What's wrong?
A:

Wake up on LAN (WOL) means that you can power on a computer by sending a sequence of packets over the network to that specific NIC card. Three conditions must be met:

Q1100025 - I'm implementing a client server application. Is it possible to transmit binary data?
A:

Yes. You should use the SendBytes method to transmit the bytes to the remote party.

Q1100030 - Is Network Component thread-safe?
A:

Yes, Network Component is 100% thread-safe. It can be used by multiple applications simultaneously, and each individual application can have multiple simultaneous threads using Network Component. This applies to all Network Component object, i.e. the Icmp object, the Http object, the Ssh object, etc..

Q1100035 - We are using the component within HTML/Javascript code. The browser is Internet Explorer. Each time the ActiveX control is loaded by the browser, a security warning is displayed. Have you any suggestion to remove this message?
A:

There are basically two ways to avoid prompting:

Q1100040 - How can I receive binary data from a remote client?
A:

You should call ReceiveBytes to get a stream of binary data.


[ NETWORK COMPONENT - HTTP(S) ]

Q1140010 - Which HTTP versions are supported?
A:

HTTP versions 1.0 and 1.1 are supported by the component. The 0.9 version of the protocol is not supported. In version 0.9 of the HTTP protocol, responses without an HTTP header are allowed.

Q1140020 - Is it possible to send HTTP POST requests using your component?
A:

Yes this is possible. Just set the 'UsePost' property to TRUE, and fill the 'PostData' property with the data you want to send. You could also have a look at the Manual, HTTP-POST section.

Q1140030 - Which security protocols are supported using HTTPs ?
A:

The following security protocols are supported using HTTPs: SSL2, SSL3 and TLS1 including support for client certificates. By default, only SSL3 and TLS1 are enabled. To enable/disable HTTPs procols, make changes through the registry, where 0 means: disabled, and 1 means: enabled:

Q1140040 - Which authentication schemes can be used by password protected websites and proxy servers?
A:

The following authentications schemes are supported:

Q1140100 - Is there some kind of tracing possible with Network Component? I want this for troubleshooting purposes.
A:

You can use the 'LogFile' property of the Http object, to enable Network Component's trace option.

If you need further logging, you can enable the logging option of the WinHTTP library of the OS. You can do this by using the 'winhttptracecfg.exe' resource utility:

WINHTTPTRACECFG.EXE -e 1 - l c:\temp\winhttptrace.log
Q1140200 - I Want to send the HTTP requests through a proxy server. Can I use the Microsoft Internet Explorer connections settings for this?
A:

No, the Http object makes use of the WINHTTP libraries which do not support these settings. You have to specifiy the setting either manually using the 'ProxyServer', 'ProxyAccount' or 'ProxyPassword' or using the 'proxycfg.exe' system tool.

Q1140210 - Can I use an alternate port to access the proxy server?
A:

You can specify the port number directly after the hostname of the proxy server in the 'ProxyServer' property like this: proxy.introweb.nl:3128.


[ NETWORK COMPONENT - IPTOCOUNTRY ]

Q1160020 - How does Network Component map a country to an IP address? Does it connect to an external database for that?
A:

Network Component uses an IP to Country database. This database is stored as a data segment inside the ActiveXperts Network Component core component: AxNetwork32.dll. This database doesn't change frequently. Read FAQ #1280040 to learn how to make use of the latest IP-to-Country database.

Q1160030 - What is the accuracy of the IP-to-Country database used by Network Component?
A:

The accuracy is over 95%. The inaccuracy is due to dynamic IP address allocation by large ISPs such as AOL and MSN TV. It is also due to the use of proxy servers.

Q1160040 - How can I make sure that the IPtoCountry object makes use of a recent IP-to-Country database?
A:

The IP-to-Country database is stored as a data segment inside the ActiveXperts Network Component core component: AxNetwork32.dll. The IP-to-Country data doesn't change often. However, to make sure you make use of the latest IP-to-Country database, you can download Network Component's core component (AxNetwork32.dll) at any time to make sure that the IP-to-Country data is up-to-date. You can download AxNetwork32.dll directly from here: activexperts.com/files/network-component/AxNetwork32.dll.

Q1160050 - I'm looking for a list of valid country codes and country names returned by the IPtoCountry object. Where can I find it?
A:

There's a list of valid country codes and country names in a CSV file on the ActiveXperts Support Site:

activexperts.com/support/network-component/iptocountry/countries.csv


[ NETWORK COMPONENT - RSH ]

Q1180010 - I have a UNIX machine, but when using Network Component's RSH object, I cannot connect to the UNIX machine ('Unable to connect to remote computer'). What's wrong?
A:

Most probably, RSH is not configured properly on the remote UNIX machine. Be sure to setup your .rhosts file correctly on your UNIX server.

The .rhosts file typically permits network access on UNIX/LINUX systems. The .rhosts file lists computer names and associated logon names that have access to remote computers. When you run rcp, rexec, or rsh commands remotely with a correctly configured .rhosts file, you do not need to provide logon and password information for the remote computer. The .rhosts file is a text file in which each line is an entry. An entry consists of the local computer name, the local user name, and any comments about the entry. Each entry is separated by a tab or space, and comments begin with a pound sign (#). For example:

host7 #This computer is in room 31A

The .rhosts file must be in the user's home directory on the remote computer. For more information about the specific implementation of the .rhosts file on a remote computer, see the remote system documentation.

When troubleshooitingb RSH, also try the Windows built-in RSH client command utility to test if the RSH configuration is working fine.


[ NETWORK COMPONENT - SNMP AND SNMPTRAPS ]

Q1200010 - Is the Windows SNMP Service required to perform SNMP Get/GetNext/Set operations using your component?
A:

No, there are no Windows SNMP Services required for the ActiveXperts Network Component SNMP operations. ActiveXperts does not rely on the SNMP Services of Windows.

If you need the Windows SNMP Service for other applications, ActiveXperts will still be able to perform its SNMP Get/GetNext/Set operations.

Q1200030 - I want to test Network Component's SNMP features, but I don't want to use our internal Cisco switches for that. Is there any simulation software available for testing?
A:

ActiveXperts doesn't deliver simulation software. However, there are some good SNMP simulation software products available. A recommended product is AdventNet Simulation Toolkit. For details, click here.

Q1200035 - Is the Windows SNMP Trap Service required to send and/or receive SNMP Traps with your Network Component?
A:

No, there is no Windows SNMP Traps Servics required for the ActiveXperts Network Component SNMP Trap operations.

If you have the Windows SNMP Traps Service running, Network Component will NOT be able to receive incoming SNMP Traps. Network Component will still be able to send out SNMP Traps.

To listen, Network Component opens an UDP socket (default port 162) to listen for incoming traps; only one process at a time can listen for packets on such port. For that reason, the Windows SNMP Trap Service should not be running.

Q1200040 - Is possible to define specific and generic traps using Network Component SnmpTrapManager Object?
A:

Yes this is possible. In SNMP V1, there is an extra field in the SNMP PDU, in SNMP V2, the generic trap is represented by an OID. You only have to set the 'GenericTrap' property of the SnmpTrap object as demonstrated in the code snippet below:

Option Explicit

' Declare objects
Dim objSnmpTrapManager, objSnmpTrap, objSnmpConstants, objSnmpObject

' Create object
Set objSnmpTrapManager = CreateObject ( "ActiveXperts.SnmpTrapManager" )
Set objSnmpTrap        = CreateObject ( "ActiveXperts.SnmpTrap" )
Set objSnmpObject      = CreateObject ( "ActiveXperts.SnmpObject" )
Set objSnmpConstants   = CreateObject ( "ActiveXperts.ASConstants" )

' Start manager
objSnmpTrapManager.Initialize
objSnmpTrapManager.ProtocolVersion = objSnmpConstants.asSNMP_VERSION_V2C

' Set trap properties 
objSnmpTrap.Clear()

objSnmpTrap.Host	      = "192.168.31.98"
objSnmpTrap.Community   = "public"
objSnmpTrap.GenericTrap = objSnmpConstants.asSNMP_TRAP_LINKUP

' Send the trap
objSnmpTrapManager.Send objSnmpTrap

' Shutdown the manager
objSnmpTrapManager.Shutdown
Q1220010 - I can't receive SNMP traps on the machine where Network Component is installed. I'm sure I have configured the remote trap sender well. What can be the reason?
A:

The following Windows service should NOT run: 'SNMP Trap Service'. This service is available on any Windows installation, as an additional feature. There can only be one process at a time receiving SNMP traps on a particular UDP port.

Q1220030 - I want to change the displayname and description of the ActiveXperts SNMP Trap Service. Is this possible ?
A:

Yes, it can be done. You only have to modify two registry entries.

Start the registry editor and look for the following key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ASTrpSvc

In this key, you can change the value of the Description and DisplayName. Do not change any of the other values. After modifying this values you have to restart your PC.


[ NETWORK COMPONENT - SSH ]

Q1230010 - Why are remote sessions not closed ?
A:

This can happen when the command started is a background process which keeps current stdout or stderr open. The solution is to redirect stdout and stderr. Click here for more information.

The other possibility is that you are running a version of OpenSSH which is older than 4.9. These versions contain a bug which causes it to never close sessions for root users. More information in the release notes for version 4.9 under (bz#926).

Q1230020 - I get the following error when rusing Ssh: "22480 Failed to create temporary file". I'm using your ASP sample. What's wrong?
A:

The SSH component needs read/write access to a temporary folder. There will be three temp files written to it, indicated by the following three undocumented properties:

Make sure that the anonymous ASP user has read/write access to the directory where the files will be written. You can even change the paths for the above three properties and assign different file locations.


[ NETWORK COMPONENT - TCP ]

Q1260010 - Is there any way I set the timeout that is used with the 'Connect' function?
A:

It is not possible through Network Component. Network Component makes use of the IP layers of the Operating System. Connection time-out properties can be modified, but only system-wide, by changing the local system registry through the following registry hive:

'HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters'

For instance, set the 'TcpMaxConnectRetransmissions' entry to change the number of connection retries.


[ NETWORK COMPONENT - VISUAL BASIC AND VBSCRIPT ]

Q1320010 - How do I use the ActiveXperts Network Component object in my Visual Basic project?
A:

Please read the following document: Using Network Component with Visual Basic 6.x. This document describes how to refer to the ActiveXperts Network Component library, and how to declare, create and use the objects.

Q1320020 - How do I use the ActiveXperts Network Component object in my VBScript program?
A:

Please read the following document: Using Network Component with VBScript. This document describes how to refer to the ActiveXperts Network Component library, and how to declare, create and use the objects.

Q1320030 - When running the Visual Basic sample project, I get an error: "User-defined type not defined". What's wrong?
A:

You must refer to the object before you can declare and create it. Go to the 'Project' menu, choose 'References...' and put the checkbox near 'ActiveXperts Network Component Type Library'.

Q1320040 - I get the following error message when running a VBScript sample: "Microsoft VBScript runtime error: ActiveX component can't create object: 'AxNetwork.Tcp'"
A:

You have not installed and registered the ActiveXperts Network Component ActiveX component. This component can be installed and registered automatically by running the ActiveXperts Network Component installation. You can download the installation file from the ActiveXperts download site.

To install the component manual, see the manual, chapter Installation (Manual).

Q1320100 - I'm using Windows 64bit and I'm getting the following error when using your VBScript sample:
    "Microsoft VBScript runtime error: ActiveX component can't create object: 'ActiveXperts.Tcp'".
This applies toall other Network Component objects, and applies for both CSCRIPT.EXE (command-line VBScript interpreter) and WSCRIPT.EXE (GUI VBScript interpreter)

A:

This is due to the fact that Windows uses the 64bit VBScript interpreter (C:\WINDOWS\SYSTEM32\CSCRIPT.EXE or C:\WINDOWS\SYSTEM32\WSCRIPT.EXE) by default. Since the ActiveXperts Network Component control is a 32bit control, you should invoke the WOW64 subsystem. This means C:\WINDOWS\SYSTEM32\WOW64\CSCRIPT.EXE or C:\WINDOWS\SYSTEM32\WOW64\WSCRIPT.EXE.


[ NETWORK COMPONENT - HTML AND JAVASCRIPT ]

Q1380010 - How do I use the ActiveXperts Network Component object in my HTML form?
A:

Please read the following document: Using Network Component with HTML. This document describes how to refer to the ActiveXperts Network Component library, and how to declare, create and use the objects.

Q1380020 - Is it possible to use the component in an HTML page? Do you have an HTML sample available?
A:

Yes it is possible. There is an online sample that shows how to use the component inside an HTML page.

In this sample, the ActiveXperts Network Component ActiveX component is downloaded and installed automatically from the following location: activexperts.com/files/network-component/AxSerial32.dll. You get prompted to trust the activexperts.com site. You can customize this HTML sample, and let the ActiveX source point to another location by changing the 'codebase' reference inside this HTML file.

To avoid prompting, please read article FAQ Article 1380025.

Q1380025 - We are using the component within HTML/JavaScript code. The browser is Internet Explorer. Each time the ActiveX control is loaded by the browser, a security warning is displayed. Have you any suggestion to avoid this message?
A:

There are basically three ways to avoid prompting:

Q1380040 - I want to sign the ActiveXperts Network Component module so it can be used by any browser in our network without any security alerts. How can I digitally sign the module?
A:

Please read the following article: How to digitally sign an ActiveXperts software component.


[ NETWORK COMPONENT - VISUAL C++ ]

Q1420010 - Which Visual Studio version is required to compile the Visual C++ samples?
A:

You need Microsoft Visual Studio 2015 or higher. All sample projects are created in Visual Studio 2015 and Visual Studio 2019. If you use a newer version of Visual Studio, then Visual Studio will prompt you to convert the project file.

If you use an older version of Visual Studio, you must recreate the sample projects yourself and add the source files.

In all C++ files that make use of an ActiveXperts Network Component object, you must include 'AxNetwork.h' and 'AxNetworkConstants.h'. Also add 'AxNetwork_i.c' to the project, so it will be compiled and linked.

Q1420020 - Can I use Visual Studio Express Edition to build the Visual C++ samples?
A:

Yes, you can, but you can only compile the Console Applications. The Forms applications make use of the Microsoft MFC framework, which is not supported by Microsoft Visual Studio Express.

Q1420030 - I want to create a new Visual C++ project. Which files do I need to include in my project to make use of ActiveXperts Network Port Component?
A:

In all C++ files that make use of an ActiveXperts Network Component object, you must include 'AxNetwork.h' and 'AxNetworkConstants.h'. Also add 'AxNetwork_i.c' to the project, so it will be compiled and linked.


[ NETWORK COMPONENT - VB.NET,VC#.NET ]

Q1480005 - How can I use ActiveXperts Network Component objects in my Visual Basic .NET project?
A:

Please read the following document: Using ActiveXperts Network Component with Visual Basic .NET. This document describes how to refer to the SMS Component library, and how to declare, create and use the objects.

Q1480007 - How can I use ActiveXperts Network Component objects in my Visual C# .NET project?
A:

Please read the following document: Using ActiveXperts Network Component with Visual C# .NET. This document describes how to refer to the SMS Component library, and how to declare, create and use the objects.

Q1480025 - Why am I getting the following error message when compiling your Visual Basic .NET sample: "Namespace or type specified in the Imports 'AxNetwork' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. "
A:

You haven't installed and registered the ActiveXperts Network Component ActiveX component properly. This component can be installed and registered automatically by running the ActiveXperts Network Component installation, or by registring manually (see also FAQ Q1000015).

Q1480030 - Why am I getting the following error message when compiling your Visual Csharp .NET sample: "Cannot load type library for reference "AxNetwork". Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)"
A:

You haven't installed and registered the ActiveXperts Network Component ActiveX component properly. This component can be installed and registered automatically by running the ActiveXperts Network Component installation, or by registring manually (see also FAQ Q1000015).


[ NETWORK COMPONENT - ASP.NET ]

Q1520002 - Which Visual Studio version is required to compile the ASP .NET samples?
A:

See FAQ 1480002.

Q1520003 - What .NET framework version is required to run the ASP .NET sample projects?
A:

See FAQ 1480003.

Q1520005 - How can I use the ActiveXperts Network Component objects in ASP .NET with Visual Basic .NET?
A:

See FAQ 1480003.


[ NETWORK COMPONENT - ASP ]

Q1580010 - How do I use the ActiveXperts Network Component objects in my ASP project?
A:

Please read the following document: Using Network Component with ASP. This document describes how to refer to the ActiveXperts Network Component library, and how to declare, create and use the objects.


[ NETWORK COMPONENT - DELPHI ]

Q1620010 - How do I use the ActiveXperts Network Component objects in my Borland Delphi project?
A:

Please read the following document: Using Network Component with Delphi. This document describes how to refer to the ActiveXperts Network Component library, and how to declare, create and use the objects.


[ NETWORK COMPONENT - PHP ]

Q1660010 - How do I use the ActiveXperts Network Component objects in my PHP code?
A:

Please read the following document: Using Network Component with PHP. This document describes how to refer to the ActiveXperts Network Component library, and how to declare, create and use the objects.


[ NETWORK COMPONENT - COLDFUSION ]

Q1670010 - How do I use the ActiveXperts Network Component objects in my ColdFusion project?
A:

Please read the following document: Using Network Component with ColdFusion. This document describes how to refer to the ActiveXperts Network Component library, and how to declare, create and use the objects.


[ NETWORK COMPONENT - ERRORS ]

Q1700010 - When running the Visual Basic sample project, I get an error: "User-defined type not defined". What's wrong?
A:

The problem is, that you must refer to the object before you can declare and create it. Go to the 'Project' menu, choose 'References...' and put the checkbox near 'ActiveXperts Network Component Type Library'.

Q1700015 - Why am I getting the following error message when compiling your Visual Basic .NET sample:
    "Namespace or type 'AxNetwork' for the Imports 'AxNetwork' cannot be found."

A:

You haven't installed and registered the ActiveXperts Network Component ActiveX component. This component can be installed and registered automatically by running the ActiveXperts Network Component installation, or can be downloaded from our website and registered manually by running the following command:

REGSVR32 AxNetwork32.dll
Q1700020 - Why am I getting the following error message when compiling the Visual C# .NET sample:
    "The type or namespace name 'AxNetwork' could not be found (are you missing a using directive or an assembly reference?)"

A:

You haven't installed and registered the ActiveXperts Network Component ActiveX component. This component can be installed and registered automatically by running the ActiveXperts Network Component installation, or can be downloaded fron our website and registered manually by running the following command:

REGSVR32 AxNetwork32.dll

[ NETWORK COMPONENT - LICENSING ]

Q1800005 - Where can I find detailed information about licensing?
A:

To learn about the different license options for ActiveXperts Network Component, click here.

Q1800010 - What happens after the 30-day trial period?
A:

After 30 days of evaluation, you won't be able to call the Connect methods anymore. If you call this function, nothing happens and LastError will be set.

Q1800015 - What is the difference between a 'Standard License' and a 'Professional License'?
A:

Click here for more information about the ActiveXperts Network licensing options.

Q1800020 - What is a 'Distribution License'?
A:

The 'Distribution License' allows you to 'bundle' the component with your own software. It allows you to ship the product to an unlimited number of customers for an unlimited period of time. There are no limitations to functionality of the software.

Click here for more information about the ActiveXperts Network Component licensing options.

Once you have obtained a Distribution License, you receive a key that you can use on the target computers. Click here to read more about how to distribute this key with the core product DLL on the target computers.

Q1800022 - How to deploy the component to multiple computers once the Distribution License is purchased?
A:

Please read the following online article: How to distribute an ActiveXperts Component.

Q1800025 - If I buy a license, do I have to pay for future releases?
A:

ActiveXperts' Maintenance Agreement entitles customers to use ActiveXperts' technical support services, and to receive all product upgrades, free of charge, during a specified Agreement duration. The Maintenance Agreement applies to all ActiveXperts products.

After purchase, you get 1 year Maintenance for free

After this free Maintenance period, Licensee may purchase Maintenance. The price for the Maintenance Agreement is 15% of the price that was payed for the product.

Read our Maintenance Agreement in PDF format.

Q1800030 - Where can I purchase the product?
A:

For detailed sales information, check the Sales webpage.

Q1800035 - I received an activation key. How do I activate the product now?
A:

Please read the manual, chapter: Purchase and Product Activation.

Q1800050 - Can I renew maintenance contract after maintenance has expired?
A:

Renewals that come in after the maintenance has expired will be backdated to start from the old expiry date. Also, you are only able to get Technical Support and Software Maintenance when your support contract is valid.

Q1800070 - Is it possible to obtain the sourcecode of your product?
A:

No, we do not ship or sell the source code of our products.

The only source code that is included with our products are code samples shipped, to show how to use the component in various programming languages.


[ NETWORK COMPONENT - VB.NET,VC#.NET ]

Q1480002 - Which Visual Studio version is required to compile the Visual Studio .NET samples?
A:

You need Microsoft Visual Studio 2008 or higher. All sample projects are created in Visual Studio 2008. If you use a newer version of Visual Studio, then Visual Studio will prompt you to convert the project file.

All .NET samples make use of .NET framework 2.0


[ NETWORK COMPONENT - PHP ]

Q1660030 - I'm using XAMPP to run your ActiveX component. I get the error: "Uncaught com_exception: Failed to create COM object 'AxNetwork.DnsServer': Invalid syntax in C:\Xampp\htdocs\networkcomponent\index.php". What's wrong?
A:

First of all, COM is enabled on Xampp, so there's no need to modify PHP.INI. The problem is that the ActiveXperts COM component is not registered. Best is to register both 32-bit and 64-bit DLL's, so you're not dependent on the type of web-application or Xampp version (32/64 bit). The 32-bit and 64-bit ActiveX controls can both be registered at the same time without a conflict.

So, make sure you register both 32-bit and 64-bit DLL's from the command line in Admin mode:
REGSVR32 AxNetwork32.dll
REGSVR32 AxNetwork64.dll


[ NETWORK COMPONENT - VISUAL C++ ]

Q1420015 - On compiling your C++ Forms demo, I get the following error: "error MSB8041: MFC libraries are required for this project. Install them from the Visual Studio installer (Individual Components tab) for any toolsets and architectures being used.". What's wrong?
A:

This means, that you have not included the MFC libraries in your Visual Studio installation.

Solution:

After that, rebuild the C++ MFC Forms project


[ NETWORK COMPONENT - HTML AND JAVASCRIPT ]

Q1380005 - Which browsers are supported with your HTML sample?
A:

The sample ONLY runs on Microsoft Internet Explorer (64/32 bit). Microsoft Edge is NOT supported. Mozilla Firefox, Google Chrome and Safari are NOT supported either.


[ NETWORK COMPONENT - VB.NET,VC#.NET ]

Q1480003 - What .NET framework version is required to run the .NET sample projects?
A:

The samples require .NET Framework 2.0 or higher.


[ NETWORK COMPONENT - ASP.NET ]

Q1520007 - How can I use ActiveXperts Network Component objects in ASP .NET with Visual C# .NET?
A:

See FAQ 1480007.

Q1520025 - Why am I getting the following error message when compiling your ASP .NET Visual Basic sample: "Namespace or type specified in the Imports 'AxNetwork' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. "
A:

See FAQ 1480025.

Q1520030 - Why am I getting the following error message when compiling your ASP .NET Visual Csharp sample: "Cannot load type library for reference "AxNetwork". Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)"
A:

See FAQ 1480030.


[ NETWORK COMPONENT - RSH ]

Q1180020 - I want to use the built-in RSH command utility to check the results against ActiveXperts Network Component, but when I type 'RSH' from the command line, the command seems to be missing. What's wrong?
A:

The RSH client command line utility is part of Windows until Windows 7 and Windows 2008. To use RSH from the command line in Windows 7 (or Windows 2008) and higher, download rshclient.zip, extract the files in a new directory, and follow the instructions listed in the extracted README.TXT.


[ NETWORK COMPONENT - SNMP AND SNMPTRAPS ]

Q1220015 - When I try to start listening for incoming traps, I get an error on the StartListening method: "Failed to listen for incoming SNMP traps. Either the port is in use, or the Windows SNMP trap service is started". I'm pretty sure that no other SNMP process is running.
A:

Please double check on your system, to make sure no other SNMP receiver is running. By default SNMP receiver listen on port 162.

To do so, start a new command prompt, and type 'netstat -a -p udp'. In the resulting list, make sure that port 162 is not listed.


[ NETWORK COMPONENT - SSH ]

Q1230030 - Is OpenSSL used in the SSH implementation of ActiveXperts Network Component?
A:

No. ActiveXperts Network Component has its own implementation of all cryptographic functions. The OpenSSL open-source implementation is not used.


[ NETWORK COMPONENT - SCP ]

Q1240030 - Is OpenSSL used in the SCP implementation of ActiveXperts Network Component?
A:

No. ActiveXperts Network Component has its own implementation of all cryptographic functions. The OpenSSL open-source implementation is not used.


[ NETWORK COMPONENT - DNS ]

Q1100010 - When performing a DNS query with the 'ANY' command, no records are returned. But if I specify 'A' for instance, records are returned. What is the problem?
A:

With most DNS servers, using a DSN query with the 'ANY' type should return all known DNS records for the specified host.

However, in some rare cases, DNS servers only return a 'CNAME' record which results in the Network Component returning an error 22355 (No more records available).

In these cases, you should retrieve all records one by one, by specifying one of the 'A', 'AAAA', 'NS', 'MX' or other DNS types.

One example of DNS servers suffering from this problem is the public Google DNS server (8.8.8.8).


[ NETWORK COMPONENT - INSTALLATION ]

Q1000003 - How do I know what's new in the latest version of ActiveXperts Network Component?
A:

For a list of new features and fixes, see ActiveXperts Network Component Release Notes.


[ NETWORK COMPONENT - SSH ]

Q1230040 - I want to use Private Key File authentication. What private key file file format is supported by ActiveXperts?
A:

The Private Key File should be PuTTY compatible. PuTTY is a free and open-source terminal emulator, and very popular under Windows.

This means that your Linux private key file should be converted to a PuTTY compatible format using the PuttyGen.exe utility. Download PuttyGen.exe from the PuTTY web site. After conversion, you can use it in ActiveXperts.
Click here for more information.


[ NETWORK COMPONENT - PHP ]

Q1660020 - I'm using XAMPP to run your ActiveX component. I get the error: "Uncaught Error: Class "COM" not found in C:\Xampp\htdocs\networkcomponent\index.php". What's wrong?
A:

By default, COM is disabled in Xampp. You must enable COM in your PHP.INI file:
extension=php_com_dotnet.dll

Besides that, make sure you register both 32-bit and 64-bit DLL's to avoid errors like "Uncaught com_exception: Failed to create COM object 'AxNetwork.DnsServer': Invalid syntax in C:\Xampp\htdocs\networkcomponent\index.php".
To do so, please register both 32-bit and 64-bit DLL's from the command line in Admin mode:
REGSVR32 AxNetwork32.dll
REGSVR32 AxNetwork64.dll


[ NETWORK COMPONENT - SSH ]

Q1230050 - When I use the Ssh class, I get an error saying: 'ERROR 22473: Unable to instantiate Ssh provider DLL". What's wrong?
A:

The Microsoft C and C++ (MSVC) Runtime Libraries are missing on your Windows operating system. These libraries are required by the following ActiveXperts Network Component classes:

The above classes are built by using Microsoft C and C++ tools.

Solution

Please download the Microsoft Visual C++ Redistributable package from the Microsoft site, and run the setup.
Please visit the Microsoft Visual C++ Redistributable downloads page and download/install the latest supported x64/x86 version.


[ NETWORK COMPONENT - SCP ]

Q1240050 - When I use the Scp class, I get an error saying: 'ERROR 22903: Unable to instantiate Scp provider DLL". What's wrong?
A:

See: FAQ Q1230050


[ NETWORK COMPONENT - SFTP ]

Q1250050 - When I use the SFtp class, I get an error saying: 'ERROR 22903: Unable to instantiate SFtp provider DLL". What's wrong?
A:

See: FAQ Q1230050