473,398 Members | 2,113 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,398 software developers and data experts.

ONE person gets an ASP error....

There are several hundred of my client's franchisees happily accessing my
ASP/VBscript web site... but one - just one - has reported the following:
"I have been trying to log onto the LSM since friday and get this message
when I want to go into any of the items on Home Page.
Response object error
'ASP 0156: '80004000'
Header error
/lsm/ListPolls.asp.Line 21
The HTTP header are already written to the client browser. Any HTTP header
modifications must be made before writing page content."
I have tried the page(s) in question and all is well... so have others - no
problem.
So how can ONE person get such a server-side error?

Points:
* She is using IE6 (.1) on W98
* I understand that the 'error' often is produced when a Redirect is issued
after starting to write the page... and that Response.Buffer will solve
that 'problem'. I have used this in the past, when *I* have seen an error
occur, but since she is the only one getting the error, and it (apparently)
happens on several pages), that would seem a silly way to go (since I do NOT
get the problem)
* Line 21 - as indicated the offending line - is ONLY called if
authorisation (via Session var) fails.... but she couldn't have got this far
into the site unless she *had* logged in, and auth. stored.... ???

Can someone provide more insight as to what's happening?

Steve



Jul 19 '05 #1
28 2318
While I imagine you could purposely cause this error for one person if you
really wanted to, i.e.

<%
if request.servervariables("remote_addr") = "192.168.1.50" then
response.flush
response.redirect "elsewhere.asp"
end if
%>

I'll assume you're not doing that. Are you buffering? What version of IIS?
IIS 4 (NT 4 with Option Pack) does not buffer by default, where as IIS5 and
over do. Do you have response.buffer = true for good measure? That should
avoid this for all people. Perhaps others are just getting a 500 error,
whereas this user has friendly errors disabled, and no one is reporting the
500 to you. Turning on buffering should solve the problem. I cannot think
of any reason why it would buffer for everyone but one person.

Ray at home

"Steve Bywaters" <by******@bigpond.net.au> wrote in message
news:OL**************@TK2MSFTNGP12.phx.gbl...
There are several hundred of my client's franchisees happily accessing my
ASP/VBscript web site... but one - just one - has reported the following:
"I have been trying to log onto the LSM since friday and get this message
when I want to go into any of the items on Home Page.
Response object error
'ASP 0156: '80004000'
Header error
/lsm/ListPolls.asp.Line 21
The HTTP header are already written to the client browser. Any HTTP header
modifications must be made before writing page content."
I have tried the page(s) in question and all is well... so have others - no problem.
So how can ONE person get such a server-side error?

Points:
* She is using IE6 (.1) on W98
* I understand that the 'error' often is produced when a Redirect is issued after starting to write the page... and that Response.Buffer will solve
that 'problem'. I have used this in the past, when *I* have seen an error
occur, but since she is the only one getting the error, and it (apparently) happens on several pages), that would seem a silly way to go (since I do NOT get the problem)
* Line 21 - as indicated the offending line - is ONLY called if
authorisation (via Session var) fails.... but she couldn't have got this far into the site unless she *had* logged in, and auth. stored.... ???

Can someone provide more insight as to what's happening?

Steve


Jul 19 '05 #2
No buffering (on these pages)....
I understand your hypothesis, but it's not correct in this case
Other users are *not* getting the error... they get the correct page
display.

In fact it is more subtle than this (as indicated in orig. post).. because
the line no of failure is a line that gets executed only on failure of
access - ie if a session value is not set, they are 'Redirect'ed to a denied
page (which is failing for ONE user)!!
BUT they cannot get to even go to the "failing" page *unless* they ARE
logged in correctly....

Huh (!?)... I don't get this.

Steve

"Ray at <%=sLocation%>" <myFirstNameATlane34dotKOMM> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
While I imagine you could purposely cause this error for one person if you
really wanted to, i.e.

<%
if request.servervariables("remote_addr") = "192.168.1.50" then
response.flush
response.redirect "elsewhere.asp"
end if
%>

I'll assume you're not doing that. Are you buffering? What version of IIS? IIS 4 (NT 4 with Option Pack) does not buffer by default, where as IIS5 and over do. Do you have response.buffer = true for good measure? That should avoid this for all people. Perhaps others are just getting a 500 error,
whereas this user has friendly errors disabled, and no one is reporting the 500 to you. Turning on buffering should solve the problem. I cannot think of any reason why it would buffer for everyone but one person.

Ray at home

"Steve Bywaters" <by******@bigpond.net.au> wrote in message
news:OL**************@TK2MSFTNGP12.phx.gbl...
There are several hundred of my client's franchisees happily accessing my ASP/VBscript web site... but one - just one - has reported the following:

"I have been trying to log onto the LSM since friday and get this message when I want to go into any of the items on Home Page.
Response object error
'ASP 0156: '80004000'
Header error
/lsm/ListPolls.asp.Line 21
The HTTP header are already written to the client browser. Any HTTP header modifications must be made before writing page content."
I have tried the page(s) in question and all is well... so have others -

no
problem.
So how can ONE person get such a server-side error?

Points:
* She is using IE6 (.1) on W98
* I understand that the 'error' often is produced when a Redirect is

issued
after starting to write the page... and that Response.Buffer will solve
that 'problem'. I have used this in the past, when *I* have seen an error occur, but since she is the only one getting the error, and it

(apparently)
happens on several pages), that would seem a silly way to go (since I do

NOT
get the problem)
* Line 21 - as indicated the offending line - is ONLY called if
authorisation (via Session var) fails.... but she couldn't have got this

far
into the site unless she *had* logged in, and auth. stored.... ???

Can someone provide more insight as to what's happening?

Steve





Jul 19 '05 #3
Probably she have disabled her cookies, including session cookies, or she is
behind a firewall or a proxy who block them or she is using some kind of
anonymiser software.

In all these cases, she will be in a session-less state: the IIS will be
unable to retain her session's values when going from one page to another
because her session cookie is blocked or otherwise unavailable.

S. L.
"Steve Bywaters" <by******@bigpond.net.au> wrote in message
news:O8**************@TK2MSFTNGP10.phx.gbl...
No buffering (on these pages)....
I understand your hypothesis, but it's not correct in this case
Other users are *not* getting the error... they get the correct page
display.

In fact it is more subtle than this (as indicated in orig. post).. because
the line no of failure is a line that gets executed only on failure of
access - ie if a session value is not set, they are 'Redirect'ed to a denied page (which is failing for ONE user)!!
BUT they cannot get to even go to the "failing" page *unless* they ARE
logged in correctly....

Huh (!?)... I don't get this.

Steve

"Ray at <%=sLocation%>" <myFirstNameATlane34dotKOMM> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
While I imagine you could purposely cause this error for one person if you
really wanted to, i.e.

<%
if request.servervariables("remote_addr") = "192.168.1.50" then
response.flush
response.redirect "elsewhere.asp"
end if
%>

I'll assume you're not doing that. Are you buffering? What version of

IIS?
IIS 4 (NT 4 with Option Pack) does not buffer by default, where as IIS5

and
over do. Do you have response.buffer = true for good measure? That

should
avoid this for all people. Perhaps others are just getting a 500 error,
whereas this user has friendly errors disabled, and no one is reporting

the
500 to you. Turning on buffering should solve the problem. I cannot

think
of any reason why it would buffer for everyone but one person.

Ray at home

"Steve Bywaters" <by******@bigpond.net.au> wrote in message
news:OL**************@TK2MSFTNGP12.phx.gbl...
There are several hundred of my client's franchisees happily accessing my ASP/VBscript web site... but one - just one - has reported the following:

"I have been trying to log onto the LSM since friday and get this message when I want to go into any of the items on Home Page.
Response object error
'ASP 0156: '80004000'
Header error
/lsm/ListPolls.asp.Line 21
The HTTP header are already written to the client browser. Any HTTP header modifications must be made before writing page content."
I have tried the page(s) in question and all is well... so have others - no
problem.
So how can ONE person get such a server-side error?

Points:
* She is using IE6 (.1) on W98
* I understand that the 'error' often is produced when a Redirect is

issued
after starting to write the page... and that Response.Buffer will
solve that 'problem'. I have used this in the past, when *I* have seen an error occur, but since she is the only one getting the error, and it

(apparently)
happens on several pages), that would seem a silly way to go (since I

do NOT
get the problem)
* Line 21 - as indicated the offending line - is ONLY called if
authorisation (via Session var) fails.... but she couldn't have got
this far
into the site unless she *had* logged in, and auth. stored.... ???

Can someone provide more insight as to what's happening?

Steve




Jul 19 '05 #4
www.adopenstatic.com/faq/headererror.asp explains why you are getting this
error.

Why don't you post lines 1-21 of the page in question?

Cheers
Ken
"Steve Bywaters" <by******@bigpond.net.au> wrote in message
news:O8**************@TK2MSFTNGP10.phx.gbl...
: No buffering (on these pages)....
: I understand your hypothesis, but it's not correct in this case
: Other users are *not* getting the error... they get the correct page
: display.
:
: In fact it is more subtle than this (as indicated in orig. post).. because
: the line no of failure is a line that gets executed only on failure of
: access - ie if a session value is not set, they are 'Redirect'ed to a
denied
: page (which is failing for ONE user)!!
: BUT they cannot get to even go to the "failing" page *unless* they ARE
: logged in correctly....
:
: Huh (!?)... I don't get this.
:
: Steve
:
:
:
: "Ray at <%=sLocation%>" <myFirstNameATlane34dotKOMM> wrote in message
: news:%2****************@TK2MSFTNGP11.phx.gbl...
: > While I imagine you could purposely cause this error for one person if
you
: > really wanted to, i.e.
: >
: > <%
: > if request.servervariables("remote_addr") = "192.168.1.50" then
: > response.flush
: > response.redirect "elsewhere.asp"
: > end if
: > %>
: >
: > I'll assume you're not doing that. Are you buffering? What version of
: IIS?
: > IIS 4 (NT 4 with Option Pack) does not buffer by default, where as IIS5
: and
: > over do. Do you have response.buffer = true for good measure? That
: should
: > avoid this for all people. Perhaps others are just getting a 500 error,
: > whereas this user has friendly errors disabled, and no one is reporting
: the
: > 500 to you. Turning on buffering should solve the problem. I cannot
: think
: > of any reason why it would buffer for everyone but one person.
: >
: > Ray at home
: >
: > "Steve Bywaters" <by******@bigpond.net.au> wrote in message
: > news:OL**************@TK2MSFTNGP12.phx.gbl...
: > > There are several hundred of my client's franchisees happily accessing
: my
: > > ASP/VBscript web site... but one - just one - has reported the
: following:
: > >
: > >
: > > "I have been trying to log onto the LSM since friday and get this
: message
: > > when I want to go into any of the items on Home Page.
: > > Response object error
: > > 'ASP 0156: '80004000'
: > > Header error
: > > /lsm/ListPolls.asp.Line 21
: > > The HTTP header are already written to the client browser. Any HTTP
: header
: > > modifications must be made before writing page content."
: > >
: > >
: > > I have tried the page(s) in question and all is well... so have
others -
: > no
: > > problem.
: > > So how can ONE person get such a server-side error?
: > >
: > > Points:
: > > * She is using IE6 (.1) on W98
: > > * I understand that the 'error' often is produced when a Redirect is
: > issued
: > > after starting to write the page... and that Response.Buffer will
solve
: > > that 'problem'. I have used this in the past, when *I* have seen an
: error
: > > occur, but since she is the only one getting the error, and it
: > (apparently)
: > > happens on several pages), that would seem a silly way to go (since I
do
: > NOT
: > > get the problem)
: > > * Line 21 - as indicated the offending line - is ONLY called if
: > > authorisation (via Session var) fails.... but she couldn't have got
this
: > far
: > > into the site unless she *had* logged in, and auth. stored.... ???
: > >
: > > Can someone provide more insight as to what's happening?
: > >
: > > Steve
: > >
: > >
: > >
: > >
: > >
: > >
: > >
: >
: >
:
:
:
:
Jul 19 '05 #5

"Steve Bywaters" <by******@bigpond.net.au> wrote in message
news:O8**************@TK2MSFTNGP10.phx.gbl...
No buffering (on these pages)....


Don't put redirects in after some response has been written if you're not
buffering. Or, don't not buffer if you're redirecting after some response
has been written - however you want to look at it.

Ray at home
Jul 19 '05 #6
" www.adopenstatic.com/faq/headererror.asp explains why you are getting this
error."

Yes, I know about buffering... I explained that in the post.
But code is not writing the headers BEFORE Line 21 (see below).

In addition, there's the issue of 'authorisation' .. (see prev. post)
FYI: here's lines 1-21... (std. Dreamweaver code)

<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="Connections/EEM1.asp" -->
<!--#include file="Functions.asp" -->
<%
' *** Restrict Access To Page: Grant or deny access to this page
MM_authorizedUsers="1,2,3"
MM_authFailedURL="AccessDenied.asp"
MM_grantAccess=false
If Session("MM_Username") <> "" Then
If (true Or CStr(Session("MM_UserAuthorization"))="") Or _
(InStr(1,MM_authorizedUsers,Session("MM_UserAuthor ization"))>=1)
Then
MM_grantAccess = true
End If
End If
If Not MM_grantAccess Then
MM_qsChar = "?"
If (InStr(1,MM_authFailedURL,"?") >= 1) Then MM_qsChar = "&"
MM_referrer = Request.ServerVariables("URL")
if (Len(Request.QueryString()) > 0) Then MM_referrer = MM_referrer & "?" &
Request.QueryString()
MM_authFailedURL = MM_authFailedURL & MM_qsChar & "accessdenied=" &
Server.URLEncode(MM_referrer)
Response.Redirect(MM_authFailedURL)

"Ken Schaefer" <ke*******@THISadOpenStatic.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
www.adopenstatic.com/faq/headererror.asp explains why you are getting this
error.

Why don't you post lines 1-21 of the page in question?

Cheers
Ken
"Steve Bywaters" <by******@bigpond.net.au> wrote in message
news:O8**************@TK2MSFTNGP10.phx.gbl...
: No buffering (on these pages)....
: I understand your hypothesis, but it's not correct in this case
: Other users are *not* getting the error... they get the correct page
: display.
:
: In fact it is more subtle than this (as indicated in orig. post).. because : the line no of failure is a line that gets executed only on failure of
: access - ie if a session value is not set, they are 'Redirect'ed to a
denied
: page (which is failing for ONE user)!!
: BUT they cannot get to even go to the "failing" page *unless* they ARE
: logged in correctly....
:
: Huh (!?)... I don't get this.
:
: Steve
:
:
:
: "Ray at <%=sLocation%>" <myFirstNameATlane34dotKOMM> wrote in message
: news:%2****************@TK2MSFTNGP11.phx.gbl...
: > While I imagine you could purposely cause this error for one person if
you
: > really wanted to, i.e.
: >
: > <%
: > if request.servervariables("remote_addr") = "192.168.1.50" then
: > response.flush
: > response.redirect "elsewhere.asp"
: > end if
: > %>
: >
: > I'll assume you're not doing that. Are you buffering? What version of : IIS?
: > IIS 4 (NT 4 with Option Pack) does not buffer by default, where as IIS5 : and
: > over do. Do you have response.buffer = true for good measure? That
: should
: > avoid this for all people. Perhaps others are just getting a 500 error, : > whereas this user has friendly errors disabled, and no one is reporting : the
: > 500 to you. Turning on buffering should solve the problem. I cannot
: think
: > of any reason why it would buffer for everyone but one person.
: >
: > Ray at home
: >
: > "Steve Bywaters" <by******@bigpond.net.au> wrote in message
: > news:OL**************@TK2MSFTNGP12.phx.gbl...
: > > There are several hundred of my client's franchisees happily accessing : my
: > > ASP/VBscript web site... but one - just one - has reported the
: following:
: > >
: > >
: > > "I have been trying to log onto the LSM since friday and get this
: message
: > > when I want to go into any of the items on Home Page.
: > > Response object error
: > > 'ASP 0156: '80004000'
: > > Header error
: > > /lsm/ListPolls.asp.Line 21
: > > The HTTP header are already written to the client browser. Any HTTP
: header
: > > modifications must be made before writing page content."
: > >
: > >
: > > I have tried the page(s) in question and all is well... so have
others -
: > no
: > > problem.
: > > So how can ONE person get such a server-side error?
: > >
: > > Points:
: > > * She is using IE6 (.1) on W98
: > > * I understand that the 'error' often is produced when a Redirect is
: > issued
: > > after starting to write the page... and that Response.Buffer will
solve
: > > that 'problem'. I have used this in the past, when *I* have seen an
: error
: > > occur, but since she is the only one getting the error, and it
: > (apparently)
: > > happens on several pages), that would seem a silly way to go (since I do
: > NOT
: > > get the problem)
: > > * Line 21 - as indicated the offending line - is ONLY called if
: > > authorisation (via Session var) fails.... but she couldn't have got
this
: > far
: > > into the site unless she *had* logged in, and auth. stored.... ???
: > >
: > > Can someone provide more insight as to what's happening?
: > >
: > > Steve
: > >
: > >
: > >
: > >
: > >
: > >
: > >
: >
: >
:
:
:
:

Jul 19 '05 #7
Hmmm. Is it possible that this one user is, for whatever reason, going
through a path in your code branching that you don't expect anyone to go
through? So that, for her only, there _is_ content being written to the
browser before a redirect? Maybe some test code that response.writes a
variable, that you never bothered to comment out because nobody takes
that branch? Or a stray "<" outside of your ASP code? Have you checked
all your include files?

"Steve Bywaters" <by******@bigpond.net.au> wrote in message
news:OL**************@TK2MSFTNGP12.phx.gbl...
There are several hundred of my client's franchisees happily accessing my ASP/VBscript web site... but one - just one - has reported the following:

"I have been trying to log onto the LSM since friday and get this message when I want to go into any of the items on Home Page.
Response object error
'ASP 0156: '80004000'
Header error
/lsm/ListPolls.asp.Line 21
The HTTP header are already written to the client browser. Any HTTP header modifications must be made before writing page content."
I have tried the page(s) in question and all is well... so have others - no problem.
So how can ONE person get such a server-side error?

Points:
* She is using IE6 (.1) on W98
* I understand that the 'error' often is produced when a Redirect is issued after starting to write the page... and that Response.Buffer will solve that 'problem'. I have used this in the past, when *I* have seen an error occur, but since she is the only one getting the error, and it (apparently) happens on several pages), that would seem a silly way to go (since I do NOT get the problem)
* Line 21 - as indicated the offending line - is ONLY called if
authorisation (via Session var) fails.... but she couldn't have got this far into the site unless she *had* logged in, and auth. stored.... ???

Jul 19 '05 #8
Is it possible she's bookmarked this page and is going directly there
without going through your login routine?

"Steve Bywaters" <by******@bigpond.net.au> wrote in message
news:uT****************@TK2MSFTNGP10.phx.gbl...
" www.adopenstatic.com/faq/headererror.asp explains why you are getting this error."

Yes, I know about buffering... I explained that in the post.
But code is not writing the headers BEFORE Line 21 (see below).

In addition, there's the issue of 'authorisation' .. (see prev. post)
FYI: here's lines 1-21... (std. Dreamweaver code)

<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="Connections/EEM1.asp" -->
<!--#include file="Functions.asp" -->
<%
' *** Restrict Access To Page: Grant or deny access to this page
MM_authorizedUsers="1,2,3"
MM_authFailedURL="AccessDenied.asp"
MM_grantAccess=false
If Session("MM_Username") <> "" Then
If (true Or CStr(Session("MM_UserAuthorization"))="") Or _
(InStr(1,MM_authorizedUsers,Session("MM_UserAuthor ization"))>=1)
Then
MM_grantAccess = true
End If
End If
If Not MM_grantAccess Then
MM_qsChar = "?"
If (InStr(1,MM_authFailedURL,"?") >= 1) Then MM_qsChar = "&"
MM_referrer = Request.ServerVariables("URL")
if (Len(Request.QueryString()) > 0) Then MM_referrer = MM_referrer & "?" & Request.QueryString()
MM_authFailedURL = MM_authFailedURL & MM_qsChar & "accessdenied=" &
Server.URLEncode(MM_referrer)
Response.Redirect(MM_authFailedURL)

"Ken Schaefer" <ke*******@THISadOpenStatic.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
www.adopenstatic.com/faq/headererror.asp explains why you are getting this error.

Why don't you post lines 1-21 of the page in question?

Cheers
Ken
"Steve Bywaters" <by******@bigpond.net.au> wrote in message
news:O8**************@TK2MSFTNGP10.phx.gbl...
: No buffering (on these pages)....
: I understand your hypothesis, but it's not correct in this case
: Other users are *not* getting the error... they get the correct page
: display.
:
: In fact it is more subtle than this (as indicated in orig. post).. because
: the line no of failure is a line that gets executed only on failure of
: access - ie if a session value is not set, they are 'Redirect'ed to a
denied
: page (which is failing for ONE user)!!
: BUT they cannot get to even go to the "failing" page *unless* they ARE
: logged in correctly....
:
: Huh (!?)... I don't get this.
:
: Steve
:
:
:
: "Ray at <%=sLocation%>" <myFirstNameATlane34dotKOMM> wrote in message
: news:%2****************@TK2MSFTNGP11.phx.gbl...
: > While I imagine you could purposely cause this error for one person if you
: > really wanted to, i.e.
: >
: > <%
: > if request.servervariables("remote_addr") = "192.168.1.50" then
: > response.flush
: > response.redirect "elsewhere.asp"
: > end if
: > %>
: >
: > I'll assume you're not doing that. Are you buffering? What version

of
: IIS?
: > IIS 4 (NT 4 with Option Pack) does not buffer by default, where as

IIS5
: and
: > over do. Do you have response.buffer = true for good measure? That
: should
: > avoid this for all people. Perhaps others are just getting a 500

error,
: > whereas this user has friendly errors disabled, and no one is

reporting
: the
: > 500 to you. Turning on buffering should solve the problem. I cannot : think
: > of any reason why it would buffer for everyone but one person.
: >
: > Ray at home
: >
: > "Steve Bywaters" <by******@bigpond.net.au> wrote in message
: > news:OL**************@TK2MSFTNGP12.phx.gbl...
: > > There are several hundred of my client's franchisees happily

accessing
: my
: > > ASP/VBscript web site... but one - just one - has reported the
: following:
: > >
: > >
: > > "I have been trying to log onto the LSM since friday and get this
: message
: > > when I want to go into any of the items on Home Page.
: > > Response object error
: > > 'ASP 0156: '80004000'
: > > Header error
: > > /lsm/ListPolls.asp.Line 21
: > > The HTTP header are already written to the client browser. Any HTTP : header
: > > modifications must be made before writing page content."
: > >
: > >
: > > I have tried the page(s) in question and all is well... so have
others -
: > no
: > > problem.
: > > So how can ONE person get such a server-side error?
: > >
: > > Points:
: > > * She is using IE6 (.1) on W98
: > > * I understand that the 'error' often is produced when a Redirect is : > issued
: > > after starting to write the page... and that Response.Buffer will
solve
: > > that 'problem'. I have used this in the past, when *I* have seen an : error
: > > occur, but since she is the only one getting the error, and it
: > (apparently)
: > > happens on several pages), that would seem a silly way to go (since I
do
: > NOT
: > > get the problem)
: > > * Line 21 - as indicated the offending line - is ONLY called if
: > > authorisation (via Session var) fails.... but she couldn't have

got this
: > far
: > > into the site unless she *had* logged in, and auth. stored.... ??? : > >
: > > Can someone provide more insight as to what's happening?
: > >
: > > Steve
: > >
: > >
: > >
: > >
: > >
: > >
: > >
: >
: >
:
:
:
:


Jul 19 '05 #9
I think Sylvain has hit on the answer. She has session cookies turned
off in the browser, so the session get lost each time a new page is
requested.
--

Phillip Windell [CCNA, MVP, MCP]
WAND-TV (ABC Affiliate)
www.wandtv.com
Jul 19 '05 #10
You could be right, there. Of course, the bigger issue, in my opinion, is
don't redirect if you're writing a response and not buffering!

Ray at work

"Phillip Windell" <none> wrote in message
news:uo*************@tk2msftngp13.phx.gbl...
I think Sylvain has hit on the answer. She has session cookies turned
off in the browser, so the session get lost each time a new page is
requested.
--

Phillip Windell [CCNA, MVP, MCP]
WAND-TV (ABC Affiliate)
www.wandtv.com

Jul 19 '05 #11
There are 400+ users on the site... *1* person has the problem.....
ie it's not code

"Kris Eiben" <ei*********************@yahoo.com> wrote in message
news:eb**************@TK2MSFTNGP11.phx.gbl...
Hmmm. Is it possible that this one user is, for whatever reason, going
through a path in your code branching that you don't expect anyone to go
through? So that, for her only, there _is_ content being written to the
browser before a redirect? Maybe some test code that response.writes a
variable, that you never bothered to comment out because nobody takes
that branch? Or a stray "<" outside of your ASP code? Have you checked
all your include files?

"Steve Bywaters" <by******@bigpond.net.au> wrote in message
news:OL**************@TK2MSFTNGP12.phx.gbl...
There are several hundred of my client's franchisees happily accessing

my
ASP/VBscript web site... but one - just one - has reported the

following:


"I have been trying to log onto the LSM since friday and get this

message
when I want to go into any of the items on Home Page.
Response object error
'ASP 0156: '80004000'
Header error
/lsm/ListPolls.asp.Line 21
The HTTP header are already written to the client browser. Any HTTP

header
modifications must be made before writing page content."
I have tried the page(s) in question and all is well... so have

others - no
problem.
So how can ONE person get such a server-side error?

Points:
* She is using IE6 (.1) on W98
* I understand that the 'error' often is produced when a Redirect is

issued
after starting to write the page... and that Response.Buffer will

solve
that 'problem'. I have used this in the past, when *I* have seen an

error
occur, but since she is the only one getting the error, and it

(apparently)
happens on several pages), that would seem a silly way to go (since I

do NOT
get the problem)
* Line 21 - as indicated the offending line - is ONLY called if
authorisation (via Session var) fails.... but she couldn't have got

this far
into the site unless she *had* logged in, and auth. stored.... ???


Jul 19 '05 #12
It's a server-side ASP error, and it's not the code? It IS the code. You
have to code for all possible client configurations, and if you do not, and
an error is generated because of it, it's either a problem with the code or
the coder, however you want to look at it.

Ray at work

"Steve Bywaters" <by******@bigpond.net.au> wrote in message
news:ea**************@tk2msftngp13.phx.gbl...
There are 400+ users on the site... *1* person has the problem.....
ie it's not code

Jul 19 '05 #13
Hardly a 'bigger issue'... there are 400+ users on the site... no
problems... *ONE* person is getting this anomally, which is caused by
(maybe) session cookies.

There are plenty of Redirects on the site... none are causing a problem to
anyone else!
So no - not a 'bigger problem' at all.

But haven't ranted a tad <g>.... my code up to the reported problem line is
included below - for my sake, can you point out *where* I am 'writing a
response then redirecting'?
(It is standard Dreamweaver, btw)

<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="Connections/EEM1.asp" -->
<!--#include file="Functions.asp" -->
<%
' *** Restrict Access To Page: Grant or deny access to this page
MM_authorizedUsers="1,2,3"
MM_authFailedURL="AccessDenied.asp"
MM_grantAccess=false
If Session("MM_Username") <> "" Then
If (true Or CStr(Session("MM_UserAuthorization"))="") Or _
(InStr(1,MM_authorizedUsers,Session("MM_UserAuthor ization"))>=1)
Then
MM_grantAccess = true
End If
End If
If Not MM_grantAccess Then
MM_qsChar = "?"
If (InStr(1,MM_authFailedURL,"?") >= 1) Then MM_qsChar = "&"
MM_referrer = Request.ServerVariables("URL")
if (Len(Request.QueryString()) > 0) Then MM_referrer = MM_referrer & "?" &
Request.QueryString()
MM_authFailedURL = MM_authFailedURL & MM_qsChar & "accessdenied=" &
Server.URLEncode(MM_referrer)
Response.Redirect(MM_authFailedURL)
Failure (allegedly) occurs on this last line.
Steve

"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
You could be right, there. Of course, the bigger issue, in my opinion, is
don't redirect if you're writing a response and not buffering!

Ray at work

"Phillip Windell" <none> wrote in message
news:uo*************@tk2msftngp13.phx.gbl...
I think Sylvain has hit on the answer. She has session cookies turned
off in the browser, so the session get lost each time a new page is
requested.
--

Phillip Windell [CCNA, MVP, MCP]
WAND-TV (ABC Affiliate)
www.wandtv.com



Jul 19 '05 #14
Yeah, right here:
<!--#include file="Connections/EEM1.asp" -->

I'd be willing to bet that include has html in it. Would you just buffer
your damn pages? You're not going to be able to win an argument with your
server and convince it to do something different.

Ray at work

"Steve Bywaters" <by******@bigpond.net.au> wrote in message
news:OS****************@TK2MSFTNGP11.phx.gbl...
Hardly a 'bigger issue'... there are 400+ users on the site... no
problems... *ONE* person is getting this anomally, which is caused by
(maybe) session cookies.

There are plenty of Redirects on the site... none are causing a problem to
anyone else!
So no - not a 'bigger problem' at all.

But haven't ranted a tad <g>.... my code up to the reported problem line is included below - for my sake, can you point out *where* I am 'writing a
response then redirecting'?
(It is standard Dreamweaver, btw)

<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="Connections/EEM1.asp" -->
<!--#include file="Functions.asp" -->
<%
' *** Restrict Access To Page: Grant or deny access to this page
MM_authorizedUsers="1,2,3"
MM_authFailedURL="AccessDenied.asp"
MM_grantAccess=false
If Session("MM_Username") <> "" Then
If (true Or CStr(Session("MM_UserAuthorization"))="") Or _
(InStr(1,MM_authorizedUsers,Session("MM_UserAuthor ization"))>=1)
Then
MM_grantAccess = true
End If
End If
If Not MM_grantAccess Then
MM_qsChar = "?"
If (InStr(1,MM_authFailedURL,"?") >= 1) Then MM_qsChar = "&"
MM_referrer = Request.ServerVariables("URL")
if (Len(Request.QueryString()) > 0) Then MM_referrer = MM_referrer & "?" & Request.QueryString()
MM_authFailedURL = MM_authFailedURL & MM_qsChar & "accessdenied=" &
Server.URLEncode(MM_referrer)
Response.Redirect(MM_authFailedURL)
Failure (allegedly) occurs on this last line.
Steve

"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
You could be right, there. Of course, the bigger issue, in my opinion, is don't redirect if you're writing a response and not buffering!

Ray at work

"Phillip Windell" <none> wrote in message
news:uo*************@tk2msftngp13.phx.gbl...
I think Sylvain has hit on the answer. She has session cookies turned
off in the browser, so the session get lost each time a new page is
requested.
--

Phillip Windell [CCNA, MVP, MCP]
WAND-TV (ABC Affiliate)
www.wandtv.com



Jul 19 '05 #15
With due respect, that's nonsense!
If an error occurs because session cookies are turned off that is not the
'fault' of the code.
(If client-side javascript tricks won't run because js is turned off, that's
not the fault of the code, is it?)
You trying too hard... and missing the fundamental point. Tha ASP error is
an artefact not the primary.

Steve
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
It's a server-side ASP error, and it's not the code? It IS the code. You
have to code for all possible client configurations, and if you do not, and an error is generated because of it, it's either a problem with the code or the coder, however you want to look at it.

Ray at work

"Steve Bywaters" <by******@bigpond.net.au> wrote in message
news:ea**************@tk2msftngp13.phx.gbl...
There are 400+ users on the site... *1* person has the problem.....
ie it's not code



Jul 19 '05 #16
You are missing the point that it is up to the programmer to deal with
different configurations. It is up to the programmer to decide if he will
deal with users that have JS disabled. You, the owner of the site, need to
make a decision about how much you will cater to the users, and if you
choose not to cater to all of them, write YOUR code accordingly.

Ray at work

"Steve Bywaters" <by******@bigpond.net.au> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
With due respect, that's nonsense!
If an error occurs because session cookies are turned off that is not the
'fault' of the code.
(If client-side javascript tricks won't run because js is turned off, that's not the fault of the code, is it?)
You trying too hard... and missing the fundamental point. Tha ASP error is
an artefact not the primary.

Steve
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
It's a server-side ASP error, and it's not the code? It IS the code. You have to code for all possible client configurations, and if you do not,

and
an error is generated because of it, it's either a problem with the code

or
the coder, however you want to look at it.

Ray at work

"Steve Bywaters" <by******@bigpond.net.au> wrote in message
news:ea**************@tk2msftngp13.phx.gbl...
There are 400+ users on the site... *1* person has the problem.....
ie it's not code



Jul 19 '05 #17
Thanks for that.... I've passed on your suggestions..we'll see what happens.

Steve

"Sylvain Lafontaine" <sylvain aei ca (fill the blanks, no spam please)>
wrote in message news:%2****************@TK2MSFTNGP10.phx.gbl...
Probably she have disabled her cookies, including session cookies, or she is behind a firewall or a proxy who block them or she is using some kind of
anonymiser software.

In all these cases, she will be in a session-less state: the IIS will be
unable to retain her session's values when going from one page to another
because her session cookie is blocked or otherwise unavailable.

S. L.
"Steve Bywaters" <by******@bigpond.net.au> wrote in message
news:O8**************@TK2MSFTNGP10.phx.gbl...
No buffering (on these pages)....
I understand your hypothesis, but it's not correct in this case
Other users are *not* getting the error... they get the correct page
display.

In fact it is more subtle than this (as indicated in orig. post).. because
the line no of failure is a line that gets executed only on failure of
access - ie if a session value is not set, they are 'Redirect'ed to a denied
page (which is failing for ONE user)!!
BUT they cannot get to even go to the "failing" page *unless* they ARE
logged in correctly....

Huh (!?)... I don't get this.

Steve

"Ray at <%=sLocation%>" <myFirstNameATlane34dotKOMM> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
While I imagine you could purposely cause this error for one person if you really wanted to, i.e.

<%
if request.servervariables("remote_addr") = "192.168.1.50" then
response.flush
response.redirect "elsewhere.asp"
end if
%>

I'll assume you're not doing that. Are you buffering? What version of IIS?
IIS 4 (NT 4 with Option Pack) does not buffer by default, where as
IIS5
and
over do. Do you have response.buffer = true for good measure? That

should
avoid this for all people. Perhaps others are just getting a 500
error, whereas this user has friendly errors disabled, and no one is

reporting the
500 to you. Turning on buffering should solve the problem. I cannot

think
of any reason why it would buffer for everyone but one person.

Ray at home

"Steve Bywaters" <by******@bigpond.net.au> wrote in message
news:OL**************@TK2MSFTNGP12.phx.gbl...
> There are several hundred of my client's franchisees happily
accessing my
> ASP/VBscript web site... but one - just one - has reported the

following:
>
>
> "I have been trying to log onto the LSM since friday and get this

message
> when I want to go into any of the items on Home Page.
> Response object error
> 'ASP 0156: '80004000'
> Header error
> /lsm/ListPolls.asp.Line 21
> The HTTP header are already written to the client browser. Any HTTP

header
> modifications must be made before writing page content."
>
>
> I have tried the page(s) in question and all is well... so have

others - no
> problem.
> So how can ONE person get such a server-side error?
>
> Points:
> * She is using IE6 (.1) on W98
> * I understand that the 'error' often is produced when a Redirect is
issued
> after starting to write the page... and that Response.Buffer will solve > that 'problem'. I have used this in the past, when *I* have seen an

error
> occur, but since she is the only one getting the error, and it
(apparently)
> happens on several pages), that would seem a silly way to go (since
I do NOT
> get the problem)
> * Line 21 - as indicated the offending line - is ONLY called if
> authorisation (via Session var) fails.... but she couldn't have got this far
> into the site unless she *had* logged in, and auth. stored.... ???
>
> Can someone provide more insight as to what's happening?
>
> Steve
>
>
>
>
>
>
>



Jul 19 '05 #18
You lose the bet!

<%
' FileName="Connection_ado_conn_string.htm"
' Type="ADO"
' HTTP="false"
' Catalog=""
' Schema=""
MM_EEM1_STRING = "Driver={SQL
Server};Server=(local);Database=LSM;UID=EEMweb1;PW D=Clarion5"
%>
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:uA**************@TK2MSFTNGP12.phx.gbl...
Yeah, right here:
<!--#include file="Connections/EEM1.asp" -->

I'd be willing to bet that include has html in it. Would you just buffer
your damn pages? You're not going to be able to win an argument with your
server and convince it to do something different.

Ray at work

"Steve Bywaters" <by******@bigpond.net.au> wrote in message
news:OS****************@TK2MSFTNGP11.phx.gbl...
Hardly a 'bigger issue'... there are 400+ users on the site... no
problems... *ONE* person is getting this anomally, which is caused by
(maybe) session cookies.

There are plenty of Redirects on the site... none are causing a problem to
anyone else!
So no - not a 'bigger problem' at all.

But haven't ranted a tad <g>.... my code up to the reported problem line is
included below - for my sake, can you point out *where* I am 'writing a
response then redirecting'?
(It is standard Dreamweaver, btw)

<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="Connections/EEM1.asp" -->
<!--#include file="Functions.asp" -->
<%
' *** Restrict Access To Page: Grant or deny access to this page
MM_authorizedUsers="1,2,3"
MM_authFailedURL="AccessDenied.asp"
MM_grantAccess=false
If Session("MM_Username") <> "" Then
If (true Or CStr(Session("MM_UserAuthorization"))="") Or _
(InStr(1,MM_authorizedUsers,Session("MM_UserAuthor ization"))>=1) Then
MM_grantAccess = true
End If
End If
If Not MM_grantAccess Then
MM_qsChar = "?"
If (InStr(1,MM_authFailedURL,"?") >= 1) Then MM_qsChar = "&"
MM_referrer = Request.ServerVariables("URL")
if (Len(Request.QueryString()) > 0) Then MM_referrer = MM_referrer &

"?" &
Request.QueryString()
MM_authFailedURL = MM_authFailedURL & MM_qsChar & "accessdenied=" &
Server.URLEncode(MM_referrer)
Response.Redirect(MM_authFailedURL)
Failure (allegedly) occurs on this last line.
Steve

"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
You could be right, there. Of course, the bigger issue, in my opinion,
is don't redirect if you're writing a response and not buffering!

Ray at work

"Phillip Windell" <none> wrote in message
news:uo*************@tk2msftngp13.phx.gbl...
> I think Sylvain has hit on the answer. She has session cookies

turned > off in the browser, so the session get lost each time a new page is
> requested.
>
>
> --
>
> Phillip Windell [CCNA, MVP, MCP]
> WAND-TV (ABC Affiliate)
> www.wandtv.com
>
>



Jul 19 '05 #19
Yeah, I figured I would after I noticed it was one of those "connections"
includes that DW creates. DAmn! I'll paypal you a dollar.

RAy at work
"Steve Bywaters" <by******@bigpond.net.au> wrote in message
news:e8**************@TK2MSFTNGP11.phx.gbl...
You lose the bet!

<%
' FileName="Connection_ado_conn_string.htm"
' Type="ADO"
' HTTP="false"
' Catalog=""
' Schema=""
MM_EEM1_STRING = "Driver={SQL
Server};Server=(local);Database=LSM;UID=EEMweb1;PW D=Clarion5"
%>
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:uA**************@TK2MSFTNGP12.phx.gbl...
Yeah, right here:
<!--#include file="Connections/EEM1.asp" -->

I'd be willing to bet that include has html in it. Would you just buffer your damn pages? You're not going to be able to win an argument with your server and convince it to do something different.

Ray at work

Jul 19 '05 #20
It is the fault of the code.

The code does something *wrong* (it is illegal under IIS/ASP to try to
output headers after content has been output) if the user has cookies
disabled.

Depending on the application, it may or may not be serious enough to worry
about but it is a programming logic error.

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Steve Bywaters" <by******@bigpond.net.au> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
With due respect, that's nonsense!
If an error occurs because session cookies are turned off that is not the
'fault' of the code.
(If client-side javascript tricks won't run because js is turned off, that's not the fault of the code, is it?)
You trying too hard... and missing the fundamental point. Tha ASP error is
an artefact not the primary.

Steve
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
It's a server-side ASP error, and it's not the code? It IS the code. You have to code for all possible client configurations, and if you do not,

and
an error is generated because of it, it's either a problem with the code

or
the coder, however you want to look at it.

Ray at work

"Steve Bywaters" <by******@bigpond.net.au> wrote in message
news:ea**************@tk2msftngp13.phx.gbl...
There are 400+ users on the site... *1* person has the problem.....
ie it's not code



Jul 19 '05 #21
"Steve Bywaters" <by******@bigpond.net.au> wrote in message
news:e8**************@TK2MSFTNGP11.phx.gbl...
You lose the bet!

<%
' FileName="Connection_ado_conn_string.htm"
' Type="ADO"
' HTTP="false"
' Catalog=""
' Schema=""
MM_EEM1_STRING = "Driver={SQL
Server};Server=(local);Database=LSM;UID=EEMweb1;PW D=Clarion5"
%>


Can we see Functions.asp as well?
Jul 19 '05 #22
Set the first row in your page to
<%Response.Buffer=True%>


And thats it

"Steve Bywaters" <by******@bigpond.net.au> wrote in message
news:OL**************@TK2MSFTNGP12.phx.gbl...
There are several hundred of my client's franchisees happily accessing my
ASP/VBscript web site... but one - just one - has reported the following:
"I have been trying to log onto the LSM since friday and get this message
when I want to go into any of the items on Home Page.
Response object error
'ASP 0156: '80004000'
Header error
/lsm/ListPolls.asp.Line 21
The HTTP header are already written to the client browser. Any HTTP header
modifications must be made before writing page content."
I have tried the page(s) in question and all is well... so have others - no problem.
So how can ONE person get such a server-side error?

Points:
* She is using IE6 (.1) on W98
* I understand that the 'error' often is produced when a Redirect is issued after starting to write the page... and that Response.Buffer will solve
that 'problem'. I have used this in the past, when *I* have seen an error
occur, but since she is the only one getting the error, and it (apparently) happens on several pages), that would seem a silly way to go (since I do NOT get the problem)
* Line 21 - as indicated the offending line - is ONLY called if
authorisation (via Session var) fails.... but she couldn't have got this far into the site unless she *had* logged in, and auth. stored.... ???

Can someone provide more insight as to what's happening?

Steve


Jul 19 '05 #23
Yep, there I think you have me... although it's ASP code, I have spied some
HTML comments/separator lines

I'll return 50c!
"Chris Hohmann" <no****@thankyou.com> wrote in message
news:ep**************@TK2MSFTNGP10.phx.gbl...
"Steve Bywaters" <by******@bigpond.net.au> wrote in message
news:e8**************@TK2MSFTNGP11.phx.gbl...
You lose the bet!

<%
' FileName="Connection_ado_conn_string.htm"
' Type="ADO"
' HTTP="false"
' Catalog=""
' Schema=""
MM_EEM1_STRING = "Driver={SQL
Server};Server=(local);Database=LSM;UID=EEMweb1;PW D=Clarion5"
%>


Can we see Functions.asp as well?

Jul 19 '05 #24
This was predicted in the first reply to the question. See Meelis Lilbok's
answer, or anyone else's for that matter.

Ray at work

"Steve Bywaters" <by******@bigpond.net.au> wrote in message
news:Ob**************@TK2MSFTNGP12.phx.gbl...
Yep, there I think you have me... although it's ASP code, I have spied some HTML comments/separator lines

I'll return 50c!
"Chris Hohmann" <no****@thankyou.com> wrote in message
news:ep**************@TK2MSFTNGP10.phx.gbl...
"Steve Bywaters" <by******@bigpond.net.au> wrote in message
news:e8**************@TK2MSFTNGP11.phx.gbl...
You lose the bet!

<%
' FileName="Connection_ado_conn_string.htm"
' Type="ADO"
' HTTP="false"
' Catalog=""
' Schema=""
MM_EEM1_STRING = "Driver={SQL
Server};Server=(local);Database=LSM;UID=EEMweb1;PW D=Clarion5"
%>


Can we see Functions.asp as well?


Jul 19 '05 #25
But to be honest, you *were* right - just the wrong include file!

Functions.asp is all pure ASP code... apart from the HTML
comments/separator lines I found in there!! (Now removed).
Solves the problem without having to change any other pages.

I'll return 50c!

Steve


"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:Ox**************@tk2msftngp13.phx.gbl...
Yeah, I figured I would after I noticed it was one of those "connections"
includes that DW creates. DAmn! I'll paypal you a dollar.

RAy at work
"Steve Bywaters" <by******@bigpond.net.au> wrote in message
news:e8**************@TK2MSFTNGP11.phx.gbl...
You lose the bet!

<%
' FileName="Connection_ado_conn_string.htm"
' Type="ADO"
' HTTP="false"
' Catalog=""
' Schema=""
MM_EEM1_STRING = "Driver={SQL
Server};Server=(local);Database=LSM;UID=EEMweb1;PW D=Clarion5"
%>
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:uA**************@TK2MSFTNGP12.phx.gbl...
Yeah, right here:
<!--#include file="Connections/EEM1.asp" -->

I'd be willing to bet that include has html in it. Would you just buffer your damn pages? You're not going to be able to win an argument with your server and convince it to do something different.

Ray at work



Jul 19 '05 #26

"Steve Bywaters" <by******@bigpond.net.au> wrote in message
news:Ob**************@TK2MSFTNGP12.phx.gbl...
Yep, there I think you have me... although it's ASP code, I have spied some HTML comments/separator lines

I'll return 50c!


My work is done here. Queue "The Incredible Hulk" theme music...
Jul 19 '05 #27
<...Queue "The Incredible Hulk" theme music..>

That's "cue" (not "queue"..)...
(Down to 25c return!)

"Chris Hohmann" <no****@thankyou.com> wrote in message
news:uV**************@TK2MSFTNGP11.phx.gbl...

"Steve Bywaters" <by******@bigpond.net.au> wrote in message
news:Ob**************@TK2MSFTNGP12.phx.gbl...
Yep, there I think you have me... although it's ASP code, I have spied

some
HTML comments/separator lines

I'll return 50c!


My work is done here. Queue "The Incredible Hulk" theme music...

Jul 19 '05 #28
Maybe he had something else playing at the time...

"Steve Bywaters" <by******@bigpond.net.au> wrote in message
news:uY**************@TK2MSFTNGP10.phx.gbl...
<...Queue "The Incredible Hulk" theme music..>

That's "cue" (not "queue"..)...
(Down to 25c return!)
"Chris Hohmann" <no****@thankyou.com> wrote in message
news:uV**************@TK2MSFTNGP11.phx.gbl...

"Steve Bywaters" <by******@bigpond.net.au> wrote in message
news:Ob**************@TK2MSFTNGP12.phx.gbl...
Yep, there I think you have me... although it's ASP code, I have
spied some
HTML comments/separator lines

I'll return 50c!


My work is done here. Queue "The Incredible Hulk" theme music...

Jul 19 '05 #29

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

Similar topics

1
by: Kevin | last post by:
Hi all, I have a VB.NET application distributed to all employees in our company, and only one person's PC is having problems with it. After a restart of her computer, the next time she runs my...
5
by: Jason | last post by:
I am running Exchange 2003 on a Windows 2003 Active Directory. I am trying to mailbox-enable a user account with VB.NET. Dim person As CDO.Person Dim mailbox As CDOEXM.IMailboxStore person =...
26
by: Martin Jørgensen | last post by:
Hi, I don't understand these errors I get: g++ Persort.cpp Persort.cpp: In function 'int main()': Persort.cpp:43: error: name lookup of 'j' changed for new ISO 'for' scoping Persort.cpp:37:...
21
by: phpCodeHead | last post by:
Code which should allow my constructor to accept arguments: <?php class Person { function __construct($name) { $this->name = $name; } function getName()
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.