PerkinElmer Informatics Support Forum
Decrease font size
Increase font size
Topic Title: ChemScript in web app
Topic Summary:
Created On: 3/28/2018 12:06 PM
Status Post and Reply
Linear : Threading : Single : Branch
Topic Tools Topic Tools
View topic in raw text format. Print this topic.
 3/28/2018 12:06 PM
User is offline View Users Profile Print this message


Posts: 1
Joined: 3/21/2016

I've written a .NET webservice that uses ChemScript 17. It works perfectly on my local machine, but when I publish to my Win2012 R2 server running IIS I get the error below when I instantiate the StructureData class. Are there restrictions to using ChemScript in a web app? Are there certain permissions I need to give on C:\Program Files (x86)\PerkinElmerInformatics\ChemOffice2017\ChemScript\Lib?

Could not load file or assembly 'CambridgeSoft.ChemScript17, Version=, Culture=neutral, PublicKeyToken=65bb58ea6feffb0a' or one of its dependencies. The system cannot find the file specified.

 4/2/2018 10:37 AM
User is offline View Users Profile Print this message


Posts: 18
Joined: 6/14/2011

Seems like that IIS security is preventing the call to ChemScript working e.g. look for ISAPI here (it's an old page from 1996):
Only the virtual directories that you have marked with Execute access in the Web/Directories tab of Internet Service Manager can be used to hold CGI or ISAPI programs; by default the only program directory is /scripts.
Virtual directories are described here:
and this appears to be the setting required:
If a new virtual directory is added for ChemScript and that has 'physicalPath' set to the server folder: "C:\Program Files (x86)\PerkinElmerInformatics\ChemOffice2017\ChemScript\Lib"
then that should fix it.
If not, then it is likely the ChemScript170.dll file will have to be included in the package published in IIS.

If you need further assistance you can contact our Support Department here:

FuseTalk Basic Edition v4.0 - © 1999-2018 FuseTalk Inc. All rights reserved.