ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  ChartDirector for ASP/COM/VB on Windows Server 2019 Core possible?
Posted by Franky on Jun-05-2020 16:32
Hello Peter,

Our hostingprovider just told us that it is not possible to install ChartDirector for ASP/COM/VB on Windows Server 2019 Core. Is that true? Is there a work-around or an update of that specific version of Chartdirector possible?

Kind regards,

Franky

  Re: ChartDirector for ASP/COM/VB on Windows Server 2019 Core possible?
Posted by Peter Kwan on Jun-05-2020 22:10
Hi Franky,

Does your hosting provide mention why it cannot be installed? Any error message?

We have not tested "ChartDirector for ASP/COM/VB" on Windows Server 2019 "Core". However, we have tested in an older version of Windows Server "Core". The "Core" edition of Windows Server does not have any GUI, so naturally it cannot run the GUI based installer "chartdir_com.exe". But we can still install ChartDirector by copying the DLLs to the server and register them manually. The steps are description in the Installation chapter of the ChartDirector documentation, under the heading "Installing ChartDirector without Using the Installer". In brief, the steps are:

(a) Install ChartDirector on a computer with a GUI. You can then find the DLLs and other files in the "c:Program Files (x86)ChartDirectorlib" folder.

(b) Copy the above folder to a directory of your choice on the server. Depending on how it is copied to the server, the server may block the files from running. Please unblock them first. Then use "Run As Administrator" to run the "regdll.bat" to register the DLLs.

In our previous testing, after the above steps, ChartDirector can create charts but there is no text. It is because the "Core" edition of Windows Server does not have fonts. (Normally, the fonts are in the "Windows/fonts" folder.) Without fonts, we cannot draw any text. It happens the fonts are an optional component and can be installed afterwards. After that, everything works normally. I hope Windows Server 2019 Core is similar. Please ask your hosting provide to install the fonts option if is not already installed.

If the hosting provide still cannot install ChartDirector on Windows Server 2019 Core by copying and registering the DLLs manually, please let me know. I will need to download the Windows 2019 from Microsoft, and try to install the "Core" edition for testing.

Regards
Peter Kwan

  Re: ChartDirector for ASP/COM/VB on Windows Server 2019 Core possible?
Posted by Franky on Jun-06-2020 20:17
Thank you, Peter. We will ask our hostingprovider to install it the way you explained it in detail and will let you know the aftermath.

Kind regards,

Franky

  Re: ChartDirector for ASP/COM/VB on Windows Server 2019 Core possible?
Posted by Franky on Jun-17-2020 22:07
Hello Peter,

Thank you so much for your help, we have two follow-up-questions. Our hosting Provider is in the process of trying to register the dll's on the core-server.

1. Are these the files they need?
-aspapi.dll
-cdinfo.hta
-cdreg64.exe
-chardir60.dll
-comchartdir.dll
-regdll.bat

2. If they don't install the fonts, is there a way for us to copy the fonts to our (non-www)-directory ourselves and make Chartdirector look for the font-files in that specific directory?

Thank you,

Franky.

  Re: ChartDirector for ASP/COM/VB on Windows Server 2019 Core possible?
Posted by Peter Kwan on Jun-17-2020 23:49
Hi Franky,

1. Are these the files they need?

-aspapi.dll
-cdinfo.hta
-cdreg64.exe
-chardir60.dll
-comchartdir.dll
-regdll.bat

Yes. The 3 DLLs are the ChartDirector DLLs and are mandatory. The cdreg64.exe and regdll.bat are for registering the DLLs. The cdinfo.hta is for displaying diagnostic information. It can verify if the DLLs have been registered or not. If you have a license file "chartdir.lic", please include it to the list of files as well.

You can copy the above files to any folder you like. The key step is to register them. Normally, registration can only be performed using an account for admin rights.

If your hosting company permits, it is better to put the files in a directory that you can write to. In this way, you can upgrade the DLLs, install the license file and the fonts yourself. (See (2) below for the fonts.)

2. As far as I know, fonts are included in Windows without additional licensing cost, but for Windows Server, it is an optional install. If for some reason, the Windows fonts are not installed, ChartDirector will also look for a "fonts" folder in the same directory that contains the DLLs. That means in addition to the above files and the license file, you can include a fonts folder which contains the font files you need. Please make sure the security of the font files are configured to be readable by the web server. (The web server often runs under a restricted account representing the anonymous user. It may be unable to read files owned by the administrator outside the web document directory. For simplicity, you may configure the fonts files to be readable by "everyone".)

Regards
Peter Kwan