ONE Active Server Pages Product Home Page Developer Site Version


DB2 and Locale

You must connect to a DB2 database that was created in the same locale in which the Web server and the Sun ONE ASP Server are running. If you do not, upon attempting to make the database connection from an ASP page, you might receive the following error message:

"There is no available conversion for the source code page "932" to the target code page "1252." Reason Code "1". SQLSTATE=57017"

To address this problem, create and connect to a database that is in the appropriate locale.

See also:

Understanding Code Pages