By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,506 Members | 1,891 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,506 IT Pros & Developers. It's quick & easy.

Response.CodePage

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
"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 discussion thread is closed

Replies have been disabled for this discussion.