[Migrated content. Thread originally posted on 02 August 2010]
We have a website which calls a COBOL program from within an ASP.NET page. The page creates an instance of the CVM (referencing wrunnet.dll), then sets a config file and some linkage items, then does a CALL. The basic premise is that the website has a customer # in the query string, and the COBOL program looks up this customer # and passes back a license code to the web page. At the customer end, we have another COBOL program which use the MSXML object to open the web page, and retrieve their license code automatically (thanks to Gisle and DanM for the info here: http://www.acucorp.com/support/supported/customer_forum/showthread.php?t=234 ). This all worked famously under our Server 2003 web server. Unfortunately that machine went on the fritz, and so we moved everything over to a newer, faster machine running Server 2003 x64. Most everything is running well under IIS 6 64-bit, except this page. We got a 64-bit version of the runtime from our rep (since it didn't seem to want to run the 32-bit version at all), and now we're getting "CS_COBOL_FATAL_ERROR" from the runtime, with "Illegal call" as the value in "LastErrorMsg". I can't find any informaiton anywhere about this error.I have tried launching the program from the command line on the server (works fine, but that worked fine with the 32-bit runtime also, since it was running under the user account, and not the IIS working process account). I also changed the program that gets called to do nothing except exit, to make sure that there isn't some other permissions issue going on.
Any ideas?
-Chris



