Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 1559

codepage Unicode (UTF-8) error after saving codebehind page

$
0
0

Another error:

An exception of type 'MicroFocus.COBOL.COBOLRuntimeException' occurred in MicroFocus.COBOL.Runtime.dll but was not handled in user code

Additional information: 198     Load failure [Program has an incompatible codepage dependency
 "ClassLibrary1.GET_ENVIRONMENT_VARIABLE" is using codepage Unicode (UTF-8)
 but the main program "ASP.logon_aspx" is using Western European (Windows)
 Please see documentation for more information.]

I have opened LOGON.aspx in Visual Studio, selected Advanced Save Options in the File menu, and changed the character set to UTF-8. this was also done to all other cbl files in the solution. I also set the compiler directive SOURCE-ENCODING"UTF8" in the project. I am still getting the error on ASP.LOGON_aspx, which I am assuming is the generated aspx page.

I am using the default asp.net server with Visual Studio 2010, if that helps.


Viewing all articles
Browse latest Browse all 1559

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>