Net Express - Setup COBOL Webservice

Welcome to the Tech Share chat forums! Please remember to treat other members fairly - anything that goes against the Forum Rules will be removed.

Alvares

Posted: 15-Feb-2012 at 20:29:17

Hello friends,
I'm trying to setup a webservice to use a sample COBOL program.
I've followed the steps in this page
http://supportline.microfocus.com/documentation/books/nx51ws01/dzdepl.htm

Created the web shares
bin-share /CGI-BIN/
form-share /COBOL/
image-share /COBOL/

Copied the following files to bin-share
Prog.exe

Copied the following files to form-share
cadastro.htm

Tried running the program
http://myipadress/bin-share/Prog.exe

This returns:
HTTP Error 404 - File or directory not found.
Internet Information Services (IIS)

I'm able to open the cadastro.htm however it does nothing when i click in its "Save" button.
I've successfully debugged this program on Solo also via the Prog.exe

I'm doing this correctly? This is totally new territory for me, any help would be appreciated.
Scot NielsenMicro Focus Staff

Posted: 21-Feb-2012 at 12:06:28

Can you confirm IIS is configured to support CGI?

Don't ask me how :) but there's plenty of hits in google on the subject.
Michael WojcikMicro Focus Staff

Posted: 22-Feb-2012 at 17:31:33

What version of IIS are you running?

I'm not sure what a "web share" is, but from your description, it sounds like perhaps your URL should be "http://host/CGI-BIN/Prog.exe", not "http://host/bin-share/Prog.exe".
Alvares

Posted: 28-Feb-2012 at 19:53:20

Scot Nielsen originally wrote:
Can you confirm IIS is configured to support CGI?

Don't ask me how :) but there's plenty of hits in google on the subject.


I've googled about this, and adjusted the server to support CGI with success, however when running the executable it returns:

"CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers."

Chris GlazierMicro Focus Staff

Posted: 28-Feb-2012 at 20:46:00

This IIS error is a general error that can have many causes, including the application not being able to find the run-time system or a valid license does not exist in the license database.

Questions:

Is Application Server installed on the computer where IIS is running?
If it is installed, is it's bin folder available from within the environment variable PATH?
Is there a valid deployment license installed in the license database using Apptrack?

Thanks.
Alvares

Posted: 28-Feb-2012 at 22:27:18

Chris Glazier originally wrote:
This IIS error is a general error that can have many causes, including the application not being able to find the run-time system or a valid license does not exist in the license database.

Questions:

Is Application Server installed on the computer where IIS is running?
If it is installed, is it's bin folder available from within the environment variable PATH?
Is there a valid deployment license installed in the license database using Apptrack?

Thanks.


Application Server is installed.

Are you referring to the Server /bin folder or my application CGI-BIN foler?. I have this on PATH - C:\Program Files\Micro Focus\Server 5.0\Bin

Running Apptrack shows me the following:
Server for COBOL
License Users: 10 users
Duration: Unlimited Server Concurr
And the serial/ license key.

How do i identify if it is a deployment license or not?

Thank you.
Chris GlazierMicro Focus Staff

Posted: 29-Feb-2012 at 01:17:36

It sounds as if the Server 5.0 is setup correctly and you have a valid license.

What happens if you try to execute the .EXE directly from Windows Explorer instead of through IIS?
Does it start or does it display an error?

Thanks.


Alvares

Posted: 29-Feb-2012 at 18:18:00

Running the .exe from explorer, it returns the following error:

"Micro Focus License Manager service is not running."
Alvares

Posted: 29-Feb-2012 at 20:17:34

Does this article apply?
http://kb.microfocus.com/display/4/kb/article.aspx?aid=14083
Chris GlazierMicro Focus Staff

Posted: 29-Feb-2012 at 20:29:13

Yes it most likely would apply.

This means that your Net Express version is probably at 5.0 WS5 level and your Server product is not.
You would need to update the Server product to 5.0 WS5.

If you check your Windows Services using Administrative Tools-->Services you should see Micro Focus License Server running as a service.

Check the product version of Server 5.0 by using Control Panel-->Add Remove Programs and select Micro Focus Server 5.0. If you have Show Updates on then it should display the wrappack or you can click on Support Info to get the product version number. It should show as 5.005.0025 I believe.

If it is not 5.005 then you will need to update to wrappack 5.
You are a guest user  |  Powered by PluggableForum, licensed under the GPL.