473,395 Members | 1,457 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Response.CodePage

I originally posted this in the internet.iis group and it was suggested that
I repost it here.

I am trying to use the Response.CodePage method on a Windows 2000 IIS
Server. The MSDN clearly states that this property is available under
Windows 2K and IIS5.0. But the call throws an"Object doesn't support this
property" error. Is this a version problem, SP problem or what? Any ideas
would be appreciated.

Thanks,
Steve

Jul 19 '05 #1
4 7541
Are you sure it isn't a typo issue?
..CodePage is a property (Long) of both the response and session object.

Ray at work

"Steve Kushubar" <sk*******@msn.com> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl...
I originally posted this in the internet.iis group and it was suggested that I repost it here.

I am trying to use the Response.CodePage method on a Windows 2000 IIS
Server. The MSDN clearly states that this property is available under
Windows 2K and IIS5.0. But the call throws an"Object doesn't support this
property" error. Is this a version problem, SP problem or what? Any ideas would be appreciated.

Thanks,
Steve

Jul 19 '05 #2
Definitely not a typo. I've re-typed it from scratch several times. I also
changed the Response to Session which works fine. Here is the error:

Object doesn't support this property or method: 'Response.CodePage'

I rechecked the MSDN documentation and it specifically states this property
exists under Win2K and IIS 5.0

Steve


"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:uy**************@TK2MSFTNGP12.phx.gbl...
Are you sure it isn't a typo issue?
.CodePage is a property (Long) of both the response and session object.

Ray at work

"Steve Kushubar" <sk*******@msn.com> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl...
I originally posted this in the internet.iis group and it was suggested

that
I repost it here.

I am trying to use the Response.CodePage method on a Windows 2000 IIS
Server. The MSDN clearly states that this property is available under
Windows 2K and IIS5.0. But the call throws an"Object doesn't support this property" error. Is this a version problem, SP problem or what? Any

ideas
would be appreciated.

Thanks,
Steve


Jul 19 '05 #3
Oops. It appears that .CodePage is part of the response object in IIS5.1
and up.

Ray at work

"Steve Kushubar" <sk*******@msn.com> wrote in message
news:ug**************@TK2MSFTNGP12.phx.gbl...
Definitely not a typo. I've re-typed it from scratch several times. I also changed the Response to Session which works fine. Here is the error:

Object doesn't support this property or method: 'Response.CodePage'

I rechecked the MSDN documentation and it specifically states this property exists under Win2K and IIS 5.0

Steve

Jul 19 '05 #4
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message news:<uB**************@TK2MSFTNGP11.phx.gbl>...
Oops. It appears that .CodePage is part of the response object in IIS5.1
and up.

Ray at work


Ray,
do you know of any fix or workaround for the problem, besides using
ASP Stream, recoding function or custom component? I need to provide
data in different encodings from the sessionless page and now thinking
how to achieve this easier. At present I'm using Session.Codepage, but
I'm being asked (by Microsoft funnily who is one of our clients) to
avoid setting any cookies.

Thanks in advance

Egor Shokurov
Netreflector.com
Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Alex | last post by:
Dear all, I am now creating an CMS which support 3 languages (English, Traditional Chinese and Simplified Chinese). The user can change their languages dynamically; however, I would like to...
10
by: Christopher H. Laco | last post by:
Long story longer. I need to get web user input into a backend system that a) only grocks single byte encoding, b) expectes the data transer to be 1 bytes = 1 character, and c) uses the HP Roman-6...
5
by: Niall Porter | last post by:
Hi All, Using Win2k SP4, no .NET stuff just plain ASP using JScript as serverside scripting language. Early in my .asp file I have this bit of code : <%@LANGUAGE="JAVASCRIPT"...
8
by: Kim Bundgaard | last post by:
Hi Anyone know where I can look for problem with codepage conversion between DB2 UDB Connect EE V8.2 (fixpak 3) and DB2 UDB z/OS V7. With DB2 UDB Connect EE V7.2 (fixpak 7) i get Ebcdic X'5A'...
4
by: Ram | last post by:
Dear All, Good Day I am trying to convert a file which is generated on AS400 with codepage 00420 (arabic & English data combination) with no success. But using the same code( and changing 20420...
0
by: asklucas | last post by:
Hi there, I got an MS Access DB, which is causing problems when the client PC is running using a Traditional Chinese codepage. The DB was probably created with Access 97, Western European...
0
by: Guido/RM/ITALY | last post by:
Hi ! i need configure codepage for DB2 Connect. i have this environment: - DB2 Server on Z/OS with codepage 500 - DB2 Connect personal Edition 8.2 on Windows 2003 - connection to DB2 via...
0
by: SiliconJaltz | last post by:
Hi, I'm trying to convert some RTF text to Unicode UTF-16. The characters I'm converting are double byte Japanese. The character set is fcharset128 which should be codepage 932. I am looking...
6
by: Anthony Jones | last post by:
People, Anyone else got an IIS7 server out there that they can test this little ASP file:- <% Set xml = Server.CreateObject("MSXML2.DOMDocument.3.0") xml.loadXML "<root />" Set xsl =...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.