Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Wierd issue with XP Home / XP Pro

Reply
Thread Tools

Wierd issue with XP Home / XP Pro

 
 
vool
Guest
Posts: n/a
 
      08-01-2003
Hi all,

I've got a really wierd problem here.

When I access a web page that adds information to a database on a PC running
XP Pro it works as it should.

When I access the same page from a PC running XP Home I get a ' Internal
server error - page cannot be dispalyed' message.

I've tried it on 5 PC's running XP Pro & 5 running XP Home - same result.

ASP code is:

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>

<%
dim conn2,sql2
set conn2 = server.createobject ("ADODB.connection")
conn2.Provider="Microsoft.Jet.OLEDB.4.0"
conn2.Open(Server.Mappath("dat48372.mdb"))

sql2="INSERT INTO Tracker (qReferer, qLocAdd, qRemAdd, qUAgent)"
sql2=sql2 & " VALUES "
sql2=sql2 & "('" & request.servervariables("HTTP_REFERER") & "',"
sql2=sql2 & "'" & request.servervariables("LOCAL_ADDR") & "',"
sql2=sql2 & "'" & request.servervariables("REMOTE_ADDR") & "',"
sql2=sql2 & "'" & request.servervariables("HTTP_USER_AGENT") & "')"

conn2.Execute sql2
conn2.close
set conn2 = Nothing
%>

Can anyone help pls.

Thanks in advance

xool


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.501 / Virus Database: 299 - Release Date: 14/07/2003


 
Reply With Quote
 
 
 
 
vool
Guest
Posts: n/a
 
      08-01-2003
Hi, that is the case but I'm accessing the page on a remote webserver....not
an IIS issue...either ASP or XP Home...

http://wavestation.net/scotty


"Jim PKP" <> wrote in message
news:.. .
> In article <uK6#>,
> says...
> > Hi all,
> >
> > I've got a really wierd problem here.
> >
> > When I access a web page that adds information to a database on a PC

running
> > XP Pro it works as it should.
> >
> > When I access the same page from a PC running XP Home I get a ' Internal
> > server error - page cannot be dispalyed' message.
> >

>
>
> Unlurking for a moment to suggest that, if I understand you right,
> the problem is that XP Home does not support IIS.
>
> --
> | | PandaKunda | aLsO nObiE | <no smileys> |



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.501 / Virus Database: 299 - Release Date: 14/07/2003


 
Reply With Quote
 
 
 
 
Jim PKP
Guest
Posts: n/a
 
      08-01-2003
In article <>,
says...
> Hi, that is the case but I'm accessing the page on a remote webserver....not
> an IIS issue...either ASP or XP Home...
>


oh right - sorry.
no idea then!


--
| |
"Insert Humorous Quote Here"
 
Reply With Quote
 
Dave Anderson
Guest
Posts: n/a
 
      08-01-2003
"vool" wrote:
>
> I Removed 'local_address' and 'http_user_agent' and it works
> fine. For some reason PCs running xp home won't give out this
> info and causes an error!


The user agent string has nothing whatsoever to do with the OS. It is sent
by the web browser. Certainly Mozilla running on XP Home would send a user
agent string.

That said, my guess is that there's some unhandled problem with
concatenation -- perhaps the machines in question have single-quote
characters in the UA strings, for example (you can add anything you like to
the string by adding a String Value to the registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Internet
Settings\User Agent\Post Platform).

What does this page report for your XP Home machines?
http://www.ip-delivery.com/environment/


--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wierd problem with windows explorer (xp pro) Demolitio Computer Support 0 02-01-2008 07:59 PM
Home network with XP Home and XP Pro =?Utf-8?B?ZG1raGVybg==?= Wireless Networking 1 09-04-2006 12:42 AM
Cinema.Craft.Encoder.SP.v2.70.01.05, Magic.Bullet.Editor.v.1.01.for.Avid.Xpress.Pro, Magic.Bullet.Editor.v.1.01.for.Premiere.Pro, Magic.Bullet.Editor.v.1.01.for.Sony.Vegas, Avid.Xpress.Pro.HD.v5.0 1CD, Sony.Vegas.v5.0d, ola DVD Video 0 01-14-2005 10:53 AM
Bart's PE Builder-Can I build under Windows 2K Pro with Win XP Home or Pro in CD drive? Joe Donaldson NZ Computing 3 07-01-2004 09:59 PM
Upgrade XP Home to XP Pro from Full XP Pro cd? V Computer Support 3 10-08-2003 07:27 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57