Forum Moderators: open

Message Too Old, No Replies

ASP - Invalid Codepage Error

Active Server Pages error 'ASP 0203'

         

jomoweb

8:28 pm on Oct 25, 2004 (gmt 0)

10+ Year Member



I am switching to a new host, and when I try to call my ASP pages, I get the following error:


Active Server Pages error 'ASP 0203'

Invalid Code Page

/subscribe.asp, line 1

The specified code page attribute is invalid.

Line 1 in the code is:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="CP_ACP"%>

The pages used to work fine on our old host, and they work when I take line 1 out. I am not sure what this codepage line does, except that Dreamweaver has it built into its template for a new ASP page.

MozMan

3:57 pm on Oct 26, 2004 (gmt 0)

10+ Year Member



This is from Macromedia's website:


Issue
When attempting to view an ASP page with a code page directive, the following error is generated:

Active Server Pages error 'ASP 0203'
Invalid Code Page
/mySite/myPage.asp, line 1
The specified code page attribute is invalid.

or

Active Server Pages, ASP 0203 (0x80004005)
The specified code page attribute is invalid

Reason
Internet Information Server 4.0, with Windows NT Service Pack 4 or greater, does not support code pages. This creates a problem with some double-byte character sets that extended beyond 2 bytes in size.

Solution
The web server running Internet Information Server 4.0 must be upgraded to Internet Information Services 5.0. The following Unicode code pages are valid with Internet Information Services 5.0:

UTF-7
UTF-8

HTH

-Moz

jomoweb

6:03 pm on Oct 27, 2004 (gmt 0)

10+ Year Member



Thanks mozman, but I already saw that article. We are on IIS 6.0, so it doesn't apply. Maybe 6.0 doesn't support codepages as well.

Oh well, I will just take the codepage line out and keep trying to figure this out.

hakkekas2

12:55 pm on Dec 3, 2004 (gmt 0)



I seem to have exactly the same problem with IIS 5.1

Isn't there any way to enable codepages in iis?

For now, I just tried to delete the reference from each asp page. If you have found an answer to your problem, please help me!

Thanx