Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

Deployed ASP.NET Web Application displays error "Method not found: MFClrRts.MFClrRts.Disconnect Context(Int16 ByRef)"

Deployed ASP.NET Web Application displays error "Method not found: MFClrRts.MFClrRts.Disconnect Context(Int16 ByRef)"

Problem:

Customer created an ASP.NET Web Application using Visual COBOL 2.1 for Visual Studio 2010. The application runs fine in development but when he deploys it to an IIS Server under Windows Server 2012, on which COBOL Server is installed, when he runs the web site he gets the error:

Method not found:  MFClrRts.MFClrRts.Disconnect Context(Int16 ByRef)

Why?

Resolution:

The problem is that the version of COBOL Server that was installed on the production computer was COBOL Server for Visual Studio 2012 and the application was developed with Visual COBOL for Visual Studio 2010.

The two products are not compatible.

If you develop your application using the Visual COBOL for Visual Studio 2010 product then you must deploy it to a system on which the COBOL Server for Visual Studio 2010 product is installed.

If you develop using the Visual COBOL for Visual Studio 2012 product then you must deploy it to a system on which the COBOL Server for Visual Studio 2012 product is installed.

In this case the customer rebuilt the application with Visual COBOL for Visual Studio 2012 an then redeployed it and everything worked fine.

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2013-09-12 23:54
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.