473,756 Members | 1,842 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Response.CodePa ge

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.CodePa ge 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 7560
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******** **********@TK2M SFTNGP12.phx.gb l...
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.CodePa ge 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.CodeP age'

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******** ******@TK2MSFTN GP12.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******** **********@TK2M SFTNGP12.phx.gb l...
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.CodePa ge 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******** ******@TK2MSFTN GP12.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.CodeP age'

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******* *******@TK2MSFT NGP11.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.Codepag e, 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.co m
Jul 19 '05 #5

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

Similar topics

1
3768
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 know how can I change the codepage (<% code=936%>) dynamically? THank you for all of your help. Alex Yung
10
687
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 codepage system wide. As much as it sounds good, UTF/Unicode encoding is not an option, nor is changing the codepage. Tackling the first is easy via Encoding.Default.GetBytes and shoving it over the network. However, Encoding.Default is the...
5
6558
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" CODEPAGE="1252"%> <!--#include file="../Connections/cnn_intra.asp" --> <!--#include file="../connections/cnn_intra_shaped.asp" -->
8
8395
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' converted to Ascii X'A4', but with V8 I get it converted to Ascii X'80'. I use Ebcdic codepage/ccsid 277 and client codepage 1252. It looks like a problem with Windows Latin-1 1252/5348 - the Euro codepage,
4
7122
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 to 708) I am able to convert a file from codepage ASMO 708 to windows based file and it is perfect. The following is the code I tried. i used 20420 codepage which is the nearest match for 00420. but no luck. //Open file for reading and set...
0
1828
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 codepage. However, the DB I got is now already in Access 2002 / 2003 file format, thus should be already converted to Unicode. When I open the DB on my PC with Western European codepage, it runs
0
2214
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 JDBC for java application that run in windows
0
1455
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 for a way to ask .NET given a character set for it to return the correct codepage or encoding. How do I map the character set 128 to the correct codepage?
6
7995
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 = Server.CreateObject("MSXML2.DOMDocument.3.0")
0
9456
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9275
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10034
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9713
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6534
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5142
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3805
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3358
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2666
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.